A concrete class that you use to represent basic nodes in a Core Data atomic store.


class NSAtomicStoreCacheNode : NSObject


A node represents a single record in a persistent store.

You can subclass NSAtomicStoreCacheNode to provide custom behavior.


Initializing a Cache Node

init(objectID: NSManagedObjectID)

Returns a cache node for the given managed object ID.

Managing Node Data

var objectID: NSManagedObjectID

The managed object ID of the node.

var propertyCache: NSMutableDictionary?

The property cache dictionary of the node.

func value(forKey: String) -> Any?

Returns the value for a given key.

func setValue(Any?, forKey: String)

Sets the value for the given key.


Inherits From

Conforms To

See Also

Creating Persistent Stores

class NSPersistentStore

The abstract base class for all Core Data persistent stores.

class NSPersistentStoreDescription

A description object used to create and load a persistent store.

class NSAtomicStore

An abstract superclass that you subclass to create a Core Data atomic store.

class NSIncrementalStore

An abstract superclass defining the API through which Core Data communicates with a store.

class NSPersistentStoreRequest

Criteria used to retrieve data from or save data to a persistent store.

class NSPersistentStoreResult

The abstract base class for results returned from a persistent store coordinator.

class NSPersistentStoreAsynchronousResult

A concrete class used to represent the results of an asynchronous request.

class NSIncrementalStoreNode

A concrete class used to represent basic nodes in a Core Data incremental store.

class NSSaveChangesRequest

An encapsulation of a collection of changes to be made by an object store in response to a save operation on a managed object context.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software