fetchRequest
TypeScriptstatic fetchRequest(): NSFetchRequest<SDKHandle>Swift declaration@objc dynamic class func fetchRequest() -> NSFetchRequest<any NSFetchRequestResult>class · iOS 3.0+ · SDK 27.1
nonisolated class NSManagedObjectstatic fetchRequest(): NSFetchRequest<SDKHandle>Swift declaration@objc dynamic class func fetchRequest() -> NSFetchRequest<any NSFetchRequestResult>static entity(): NSEntityDescriptionSwift declarationclass func entity() -> NSEntityDescriptionstatic get contextShouldIgnoreUnmodeledPropertyChanges(): booleanSwift declarationclass var contextShouldIgnoreUnmodeledPropertyChanges: Bool { get }awakeFromFetch(): voidSwift declarationfunc awakeFromFetch()awakeFromInsert(): voidSwift declarationfunc awakeFromInsert()awake(flags: NSSnapshotEventType): voidSwift declarationfunc awake(fromSnapshotEvents flags: NSSnapshotEventType)changedValues(): Record<string, unknown>Swift declarationfunc changedValues() -> [String : Any]changedValuesForCurrentEvent(): Record<string, unknown>Swift declarationfunc changedValuesForCurrentEvent() -> [String : Any]committedValues(keys?: (Array<string>) | null): Record<string, unknown>Swift declarationfunc committedValues(forKeys keys: [String]?) -> [String : Any]didAccessValue(key?: (string) | null): voidSwift declarationfunc didAccessValue(forKey key: String?)didChangeValueForKey(key: string): voidSwift declarationfunc didChangeValue(forKey key: String)didChangeValueForKeyWithSetMutationUsing(inKey: string, inMutationKind: _Foundation_NSKeyValueSetMutationKind, inObjects: Array<unknown>): voidSwift declarationfunc didChangeValue(forKey inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, using inObjects: Set<AnyHashable>)didSave(): voidSwift declarationfunc didSave()didTurnIntoFault(): voidSwift declarationfunc didTurnIntoFault()hasFault(key: string): booleanSwift declarationfunc hasFault(forRelationshipNamed key: String) -> Boolstatic initContext(moc: NSManagedObjectContext): NSManagedObjectSwift declarationconvenience init(context moc: NSManagedObjectContext)static initEntityInsertInto(entity: NSEntityDescription, context?: (NSManagedObjectContext) | null): NSManagedObjectSwift declarationinit(entity: NSEntityDescription, insertInto context: NSManagedObjectContext?)objectIDs(key: string): Array<NSManagedObjectID>Swift declarationfunc objectIDs(forRelationshipNamed key: String) -> [NSManagedObjectID]prepareForDeletion(): voidSwift declarationfunc prepareForDeletion()primitiveValue(key: string): (unknown) | nullSwift declarationfunc primitiveValue(forKey key: String) -> Any?setPrimitiveValue(value: (unknown) | null, key: string): voidSwift declarationfunc setPrimitiveValue(_ value: Any?, forKey key: String)setValue(value: (unknown) | null, key: string): voidSwift declarationfunc setValue(_ value: Any?, forKey key: String)validateForDelete(): voidSwift declarationfunc validateForDelete() throwsvalidateForInsert(): voidSwift declarationfunc validateForInsert() throwsvalidateForUpdate(): voidSwift declarationfunc validateForUpdate() throwsvalidateValue(key: string): { $ret: null; $out: { "value": (unknown) | null } }Swift declarationfunc validateValue(_ value: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey key: String) throwsOmit the output parameters from the call. The result contains $ret and $out, with value inside $out.
value(key: string): (unknown) | nullSwift declarationfunc value(forKey key: String) -> Any?willAccessValue(key?: (string) | null): voidSwift declarationfunc willAccessValue(forKey key: String?)willChangeValueForKey(key: string): voidSwift declarationfunc willChangeValue(forKey key: String)willChangeValueForKeyWithSetMutationUsing(inKey: string, inMutationKind: _Foundation_NSKeyValueSetMutationKind, inObjects: Array<unknown>): voidSwift declarationfunc willChangeValue(forKey inKey: String, withSetMutation inMutationKind: NSKeyValueSetMutationKind, using inObjects: Set<AnyHashable>)willSave(): voidSwift declarationfunc willSave()willTurnIntoFault(): voidSwift declarationfunc willTurnIntoFault()get isDeleted(): booleanSwift declarationvar isDeleted: Bool { get }get entity2423(): NSEntityDescriptionSwift declarationvar entity: NSEntityDescription { get }get isFault(): booleanSwift declarationvar isFault: Bool { get }get faultingState(): numberSwift declarationvar faultingState: Int { get }get hasChanges(): booleanSwift declarationvar hasChanges: Bool { get }get hasPersistentChangedValues(): booleanSwift declarationvar hasPersistentChangedValues: Bool { get }get isInserted(): booleanSwift declarationvar isInserted: Bool { get }get managedObjectContext(): (NSManagedObjectContext) | nullSwift declarationunowned(unsafe) var managedObjectContext: NSManagedObjectContext? { get }get objectID(): NSManagedObjectIDSwift declarationvar objectID: NSManagedObjectID { get }get isUpdated(): booleanSwift declarationvar isUpdated: Bool { get }get objectWillChange(): _Combine_ObservableObjectPublisherSwift declarationnonisolated var objectWillChange: ObservableObjectPublisher { get }A publisher that emits before the object has changed.
subscript(key: string): (unknown) | nullSwift declarationnonisolated subscript(key: String) -> Any? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
NSManagedObject.init()
inherited init: cannot prove legal (class declares 3 custom initializers)