One Logo Pool Ball
CoreData · IOS API REFERENCE

NSAtomicStore

class · iOS 3.0+ · SDK 27.1

class NSAtomicStore

Members (12)

method · iOS 3.0+

addCacheNodes

TypeScript
addCacheNodes(cacheNodes: Array<NSAtomicStoreCacheNode>): void
Swift declaration
func addCacheNodes(_ cacheNodes: Set<NSAtomicStoreCacheNode>)
method · iOS 3.0+

cacheNode

TypeScript
cacheNode(objectID: NSManagedObjectID): (NSAtomicStoreCacheNode) | null
Swift declaration
func cacheNode(for objectID: NSManagedObjectID) -> NSAtomicStoreCacheNode?
method · iOS 3.0+

cacheNodes

TypeScript
cacheNodes(): Array<NSAtomicStoreCacheNode>
Swift declaration
func cacheNodes() -> Set<NSAtomicStoreCacheNode>
init · iOS 3.0+

init

TypeScript
static init(coordinator: (NSPersistentStoreCoordinator) | null, configurationName: (string) | null, url: string, options?: (NativeMap<unknown, unknown>) | null): NSAtomicStore
Swift declaration
init(persistentStoreCoordinator coordinator: NSPersistentStoreCoordinator?, configurationName: String?, at url: URL, options: [AnyHashable : Any]? = nil)
method · iOS 3.0+

load

TypeScript
load(): void
Swift declaration
func load() throws
method · iOS 3.0+

newCacheNode

TypeScript
newCacheNode(managedObject: NSManagedObject): NSAtomicStoreCacheNode
Swift declaration
func newCacheNode(for managedObject: NSManagedObject) -> NSAtomicStoreCacheNode
method · iOS 3.0+

newReferenceObject

TypeScript
newReferenceObject(managedObject: NSManagedObject): unknown
Swift declaration
func newReferenceObject(for managedObject: NSManagedObject) -> Any
method · iOS 3.0+

objectID

TypeScript
objectID(entity: NSEntityDescription, data: unknown): NSManagedObjectID
Swift declaration
func objectID(for entity: NSEntityDescription, withReferenceObject data: Any) -> NSManagedObjectID
method · iOS 3.0+

referenceObject

TypeScript
referenceObject(objectID: NSManagedObjectID): unknown
Swift declaration
func referenceObject(for objectID: NSManagedObjectID) -> Any
method · iOS 3.0+

save

TypeScript
save(): void
Swift declaration
func save() throws
method · iOS 3.0+

updateCacheNode

TypeScript
updateCacheNode(node: NSAtomicStoreCacheNode, managedObject: NSManagedObject): void
Swift declaration
func updateCacheNode(_ node: NSAtomicStoreCacheNode, from managedObject: NSManagedObject)
method · iOS 3.0+

willRemoveCacheNodes

TypeScript
willRemoveCacheNodes(cacheNodes: Array<NSAtomicStoreCacheNode>): void
Swift declaration
func willRemoveCacheNodes(_ cacheNodes: Set<NSAtomicStoreCacheNode>)

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

NSAtomicStore.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CoreData types →