VMF_WidgetStore
enum VMF_WidgetStore
App-owned preferences and meeting data have separate files so a preference change never needs to rewrite the entire meeting collection. Atomic writes protect readers.
-
Declaration
Swift
static let groupID: String -
Declaration
Swift
static let kind: String -
Declaration
Swift
static let openAppURL: URL -
Declaration
Swift
static let openMainScreenURL: URL -
Declaration
Swift
private static func file(_ name: String) -> URL? -
Declaration
Swift
static func readCache() -> VMF_WidgetCache? -
Declaration
Swift
static func readPreferences() -> VMF_WidgetPreferences -
Declaration
Swift
@discardableResult static func writeCache(_ cache: VMF_WidgetCache) -> Bool -
Declaration
Swift
@discardableResult static func writePreferences(_ preferences: VMF_WidgetPreferences) -> Bool -
Declaration
Swift
private static func read<T>(_ name: String) -> T? where T : Decodable -
Declaration
Swift
private static func write<T>(_ value: T, to name: String) -> Bool where T : Encodable
View on GitHub