mastodon-ios/Mastodon/Preference/StoreReviewPreference.swift

27 lines
510 B
Swift

//
// 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 }
}
}