mastodon-ios/MastodonSDK/Sources/MastodonCommon/Preference/Preference+StoreReview.swift

27 lines
524 B
Swift
Raw Normal View History

2021-11-03 07:24:52 +01:00
//
// StoreReviewPreference.swift
// Mastodon
//
// Created by Cirno MainasuK on 2021-11-3.
//
import Foundation
extension UserDefaults {
@objc public dynamic var processCompletedCount: Int {
2021-11-03 07:24:52 +01:00
get {
return integer(forKey: #function)
}
set { self[#function] = newValue }
}
@objc public dynamic var lastVersionPromptedForReview: String? {
2021-11-03 07:24:52 +01:00
get {
return string(forKey: #function)
}
set { self[#function] = newValue }
}
}