mastodon-ios/Mastodon/Preference/StoreReviewPreference.swift

27 lines
510 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 dynamic var processCompletedCount: Int {
get {
return integer(forKey: #function)
}
set { self[#function] = newValue }
}
@objc dynamic var lastVersionPromptedForReview: String? {
get {
return string(forKey: #function)
}
set { self[#function] = newValue }
}
}