ManagedAppState
@objc(ManagedAppState)
public final class ManagedAppState : NSManagedObject, Managed
Undocumented
-
Undocumented
Declaration
Swift
@NSManaged public private(set) var lastUpdated: Date { get set }
-
Undocumented
Declaration
Swift
static var fetchRequest: FetchRequest { get }
-
Obtain the ordered collection of favorites
Declaration
Swift
public var favoritesCollection: EntityCollection<ManagedFavorite> { get }
-
Obtain the ordered collection of tags
Declaration
Swift
public var tagsCollection: EntityCollection<ManagedTag> { get }
-
Obtain the set of installed sound fonts. NOTE: that this is unordered.
Declaration
Swift
public var soundFontsSet: Set<ManagedSoundFont> { get }
-
Undocumented
Declaration
Swift
public var allTag: ManagedTag { get }
-
Undocumented
Declaration
Swift
public var builtInTag: ManagedTag { get }
-
Fetch the ManagedAppState singleton.
Declaration
Swift
public static func get(context: NSManagedObjectContext) -> ManagedAppState
Parameters
context
the Core Data context to work in
Return Value
the ManagedAppState instance
-
Undocumented
Declaration
Swift
@objc(insertObject:inFavoritesAtIndex:) @NSManaged public func insertIntoFavorites(_ value: ManagedFavorite, at idx: Int)
-
Undocumented
Declaration
Swift
@objc(removeObjectFromFavoritesAtIndex:) @NSManaged public func removeFromFavorites(at idx: Int)
-
Undocumented
Declaration
Swift
@objc(addFavoritesObject:) @NSManaged public func addToFavorites(_ value: ManagedFavorite)
-
Undocumented
Declaration
Swift
@objc(removeFavoritesObject:) @NSManaged public func removeFromFavorites(_ value: ManagedFavorite)
-
Undocumented
Declaration
Swift
@objc(addSoundFontsObject:) @NSManaged public func addToSoundFonts(_ value: ManagedSoundFont)
-
Undocumented
Declaration
Swift
@objc(removeSoundFontsObject:) @NSManaged public func removeFromSoundFonts(_ value: ManagedSoundFont)
-
Undocumented
Declaration
Swift
@objc(insertObject:inTagsAtIndex:) @NSManaged public func insertIntoTags(_ value: ManagedTag, at idx: Int)
-
Undocumented
Declaration
Swift
@objc(removeObjectFromTagsAtIndex:) @NSManaged public func removeFromTags(at idx: Int)
-
Undocumented
Declaration
Swift
@objc(addTagsObject:) @NSManaged public func addToTags(_ value: ManagedTag)
-
Undocumented
Declaration
Swift
@objc(removeTagsObject:) @NSManaged public func removeFromTags(_ value: ManagedTag)