-
The associated
NSManagedObjectentity classDeclaration
Swift
@objc public var entityClass: NSManagedObject.Type { get } -
The
NSPersistentStoreconfiguration name to associate objects from. May contain aStringto pertain to a named configuration, ornilto pertain to the default configurationDeclaration
Swift
@objc public var configuration: ModelConfiguration { get } -
Initializes a
CSIntoclause with the specified entity class.MyPersonEntity *person = [transaction createInto: CSIntoClass([MyPersonEntity class])];Declaration
Swift
@objc public convenience init(entityClass: NSManagedObject.Type)Parameters
entityClassthe
NSManagedObjectclass type to be created -
Initializes a
CSIntoclause with the specified configuration.MyPersonEntity *person = [transaction createInto: CSIntoClass([MyPersonEntity class])];Declaration
Swift
@objc public convenience init(entityClass: NSManagedObject.Type, configuration: ModelConfiguration)Parameters
entityClassthe
NSManagedObjectclass type to be createdconfigurationthe
NSPersistentStoreconfiguration name to associate the object to. This parameter is required if multiple configurations contain the createdNSManagedObject‘s entity type. Set tonilto use the default configuration.
View on GitHub
CSInto Class Reference