Documentation ¶
Overview ¶
Persist or cache data on a single device, or sync data to multiple devices with CloudKit.
Index ¶
- Variables
- func FetchRequestExpression_ExpressionForFetchContextCountOnly(fetch foundation.IExpression, context foundation.IExpression, countFlag bool) foundation.Expression
- func FetchedResultsController_DeleteCacheWithName(name string)
- func IncrementalStore_IdentifierForNewStoreAtURL(storeURL foundation.IURL) objc.Object
- func ManagedObjectContext_MergeChangesFromRemoteContextSaveIntoContexts(changeNotificationData foundation.Dictionary, contexts []IManagedObjectContext)
- func ManagedObject_ContextShouldIgnoreUnmodeledPropertyChanges() bool
- func PersistentContainer_DefaultDirectoryURL() foundation.URL
- func PersistentStoreCoordinator_MetadataForPersistentStoreOfTypeURLOptionsError(storeType string, url foundation.IURL, options foundation.Dictionary, ...) map[string]objc.Object
- func PersistentStoreCoordinator_RegisteredStoreTypes() map[string]foundation.Value
- func PersistentStoreCoordinator_SetMetadataForPersistentStoreOfTypeURLOptionsError(metadata map[string]objc.IObject, storeType string, url foundation.IURL, ...) bool
- func PersistentStore_MetadataForPersistentStoreWithURLError(url foundation.IURL, error unsafe.Pointer) map[string]objc.Object
- func PersistentStore_MigrationManagerClass() objc.Class
- func PersistentStore_SetMetadataForPersistentStoreWithURLError(metadata map[string]objc.IObject, url foundation.IURL, error unsafe.Pointer) bool
- type AsynchronousFetchRequest
- func (a_ AsynchronousFetchRequest) CompletionBlock() PersistentStoreAsynchronousFetchResultCompletionBlock
- func (a_ AsynchronousFetchRequest) EstimatedResultCount() int
- func (a_ AsynchronousFetchRequest) FetchRequest() FetchRequest
- func (a_ AsynchronousFetchRequest) Init() AsynchronousFetchRequest
- func (a_ AsynchronousFetchRequest) InitWithFetchRequestCompletionBlock(request IFetchRequest, blk func(arg0 AsynchronousFetchResult)) AsynchronousFetchRequest
- func (a_ AsynchronousFetchRequest) SetEstimatedResultCount(value int)
- type AsynchronousFetchResult
- type AtomicStore
- func (a_ AtomicStore) AddCacheNodes(cacheNodes foundation.ISet)
- func (a_ AtomicStore) CacheNodeForObjectID(objectID IManagedObjectID) AtomicStoreCacheNode
- func (a_ AtomicStore) CacheNodes() foundation.Set
- func (a_ AtomicStore) Init() AtomicStore
- func (a_ AtomicStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(coordinator IPersistentStoreCoordinator, configurationName string, ...) AtomicStore
- func (a_ AtomicStore) Load(error unsafe.Pointer) bool
- func (a_ AtomicStore) NewCacheNodeForManagedObject(managedObject IManagedObject) AtomicStoreCacheNode
- func (a_ AtomicStore) NewReferenceObjectForManagedObject(managedObject IManagedObject) objc.Object
- func (a_ AtomicStore) ObjectIDForEntityReferenceObject(entity IEntityDescription, data objc.IObject) ManagedObjectID
- func (a_ AtomicStore) ReferenceObjectForObjectID(objectID IManagedObjectID) objc.Object
- func (a_ AtomicStore) Save(error unsafe.Pointer) bool
- func (a_ AtomicStore) UpdateCacheNodeFromManagedObject(node IAtomicStoreCacheNode, managedObject IManagedObject)
- func (a_ AtomicStore) WillRemoveCacheNodes(cacheNodes foundation.ISet)
- type AtomicStoreCacheNode
- func (a_ AtomicStoreCacheNode) Init() AtomicStoreCacheNode
- func (a_ AtomicStoreCacheNode) InitWithObjectID(moid IManagedObjectID) AtomicStoreCacheNode
- func (a_ AtomicStoreCacheNode) ObjectID() ManagedObjectID
- func (a_ AtomicStoreCacheNode) PropertyCache() foundation.MutableDictionary
- func (a_ AtomicStoreCacheNode) SetPropertyCache(value foundation.IMutableDictionary)
- func (a_ AtomicStoreCacheNode) SetValueForKey(value objc.IObject, key string)
- func (a_ AtomicStoreCacheNode) ValueForKey(key string) objc.Object
- type AttributeDescription
- func (a_ AttributeDescription) AllowsCloudEncryption() bool
- func (a_ AttributeDescription) AllowsExternalBinaryDataStorage() bool
- func (a_ AttributeDescription) AttributeType() AttributeType
- func (a_ AttributeDescription) AttributeValueClassName() string
- func (a_ AttributeDescription) DefaultValue() objc.Object
- func (a_ AttributeDescription) Init() AttributeDescription
- func (a_ AttributeDescription) PreservesValueInHistoryOnDeletion() bool
- func (a_ AttributeDescription) SetAllowsCloudEncryption(value bool)
- func (a_ AttributeDescription) SetAllowsExternalBinaryDataStorage(value bool)
- func (a_ AttributeDescription) SetAttributeType(value AttributeType)
- func (a_ AttributeDescription) SetAttributeValueClassName(value string)
- func (a_ AttributeDescription) SetDefaultValue(value objc.IObject)
- func (a_ AttributeDescription) SetPreservesValueInHistoryOnDeletion(value bool)
- func (a_ AttributeDescription) SetValueTransformerName(value string)
- func (a_ AttributeDescription) ValueTransformerName() string
- type AttributeType
- type BatchDeleteRequest
- func (b_ BatchDeleteRequest) FetchRequest() FetchRequest
- func (b_ BatchDeleteRequest) Init() BatchDeleteRequest
- func (b_ BatchDeleteRequest) InitWithFetchRequest(fetch IFetchRequest) BatchDeleteRequest
- func (b_ BatchDeleteRequest) InitWithObjectIDs(objects []IManagedObjectID) BatchDeleteRequest
- func (b_ BatchDeleteRequest) ResultType() BatchDeleteRequestResultType
- func (b_ BatchDeleteRequest) SetResultType(value BatchDeleteRequestResultType)
- type BatchDeleteRequestResultType
- type BatchDeleteResult
- type BatchInsertRequest
- func BatchInsertRequestFrom(ptr unsafe.Pointer) BatchInsertRequest
- func BatchInsertRequest_BatchInsertRequestWithEntityNameObjects(entityName string, dictionaries []map[string]objc.IObject) BatchInsertRequest
- func NewBatchInsertRequest() BatchInsertRequest
- func NewBatchInsertRequestWithEntityDictionaryHandler(entity IEntityDescription, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
- func NewBatchInsertRequestWithEntityManagedObjectHandler(entity IEntityDescription, handler func(obj ManagedObject) bool) BatchInsertRequest
- func NewBatchInsertRequestWithEntityNameDictionaryHandler(entityName string, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
- func NewBatchInsertRequestWithEntityNameManagedObjectHandler(entityName string, handler func(obj ManagedObject) bool) BatchInsertRequest
- func NewBatchInsertRequestWithEntityNameObjects(entityName string, dictionaries []map[string]objc.IObject) BatchInsertRequest
- func NewBatchInsertRequestWithEntityObjects(entity IEntityDescription, dictionaries []map[string]objc.IObject) BatchInsertRequest
- func (b_ BatchInsertRequest) DictionaryHandler() func(obj foundation.MutableDictionary) bool
- func (b_ BatchInsertRequest) Entity() EntityDescription
- func (b_ BatchInsertRequest) EntityName() string
- func (b_ BatchInsertRequest) Init() BatchInsertRequest
- func (b_ BatchInsertRequest) InitWithEntityDictionaryHandler(entity IEntityDescription, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
- func (b_ BatchInsertRequest) InitWithEntityManagedObjectHandler(entity IEntityDescription, handler func(obj ManagedObject) bool) BatchInsertRequest
- func (b_ BatchInsertRequest) InitWithEntityNameDictionaryHandler(entityName string, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
- func (b_ BatchInsertRequest) InitWithEntityNameManagedObjectHandler(entityName string, handler func(obj ManagedObject) bool) BatchInsertRequest
- func (b_ BatchInsertRequest) InitWithEntityNameObjects(entityName string, dictionaries []map[string]objc.IObject) BatchInsertRequest
- func (b_ BatchInsertRequest) InitWithEntityObjects(entity IEntityDescription, dictionaries []map[string]objc.IObject) BatchInsertRequest
- func (b_ BatchInsertRequest) ManagedObjectHandler() func(obj ManagedObject) bool
- func (b_ BatchInsertRequest) ObjectsToInsert() []map[string]objc.Object
- func (b_ BatchInsertRequest) ResultType() BatchInsertRequestResultType
- func (b_ BatchInsertRequest) SetDictionaryHandler(value func(obj foundation.MutableDictionary) bool)
- func (b_ BatchInsertRequest) SetManagedObjectHandler(value func(obj ManagedObject) bool)
- func (b_ BatchInsertRequest) SetObjectsToInsert(value []map[string]objc.IObject)
- func (b_ BatchInsertRequest) SetResultType(value BatchInsertRequestResultType)
- type BatchInsertRequestResultType
- type BatchInsertResult
- type BatchUpdateRequest
- func BatchUpdateRequestFrom(ptr unsafe.Pointer) BatchUpdateRequest
- func BatchUpdateRequest_BatchUpdateRequestWithEntityName(entityName string) BatchUpdateRequest
- func NewBatchUpdateRequest() BatchUpdateRequest
- func NewBatchUpdateRequestWithEntity(entity IEntityDescription) BatchUpdateRequest
- func NewBatchUpdateRequestWithEntityName(entityName string) BatchUpdateRequest
- func (b_ BatchUpdateRequest) Entity() EntityDescription
- func (b_ BatchUpdateRequest) EntityName() string
- func (b_ BatchUpdateRequest) IncludesSubentities() bool
- func (b_ BatchUpdateRequest) Init() BatchUpdateRequest
- func (b_ BatchUpdateRequest) InitWithEntity(entity IEntityDescription) BatchUpdateRequest
- func (b_ BatchUpdateRequest) InitWithEntityName(entityName string) BatchUpdateRequest
- func (b_ BatchUpdateRequest) Predicate() foundation.Predicate
- func (b_ BatchUpdateRequest) PropertiesToUpdate() foundation.Dictionary
- func (b_ BatchUpdateRequest) ResultType() BatchUpdateRequestResultType
- func (b_ BatchUpdateRequest) SetIncludesSubentities(value bool)
- func (b_ BatchUpdateRequest) SetPredicate(value foundation.IPredicate)
- func (b_ BatchUpdateRequest) SetPropertiesToUpdate(value foundation.Dictionary)
- func (b_ BatchUpdateRequest) SetResultType(value BatchUpdateRequestResultType)
- type BatchUpdateRequestResultType
- type BatchUpdateResult
- type ConstraintConflict
- func (c_ ConstraintConflict) ConflictingObjects() []ManagedObject
- func (c_ ConstraintConflict) ConflictingSnapshots() []foundation.Dictionary
- func (c_ ConstraintConflict) Constraint() []string
- func (c_ ConstraintConflict) ConstraintValues() map[string]objc.Object
- func (c_ ConstraintConflict) DatabaseObject() ManagedObject
- func (c_ ConstraintConflict) DatabaseSnapshot() map[string]objc.Object
- func (c_ ConstraintConflict) Init() ConstraintConflict
- func (c_ ConstraintConflict) InitWithConstraintDatabaseObjectDatabaseSnapshotConflictingObjectsConflictingSnapshots(contraint []string, databaseObject IManagedObject, ...) ConstraintConflict
- type CoreDataCoreSpotlightDelegate
- func CoreDataCoreSpotlightDelegateFrom(ptr unsafe.Pointer) CoreDataCoreSpotlightDelegate
- func NewCoreDataCoreSpotlightDelegate() CoreDataCoreSpotlightDelegate
- func NewCoreDataCoreSpotlightDelegateForStoreWithDescriptionCoordinator(description IPersistentStoreDescription, psc IPersistentStoreCoordinator) CoreDataCoreSpotlightDelegate
- func (c_ CoreDataCoreSpotlightDelegate) AttributeSetForObject(object IManagedObject) objc.Object
- func (c_ CoreDataCoreSpotlightDelegate) DeleteSpotlightIndexWithCompletionHandler(completionHandler func(error foundation.Error))
- func (c_ CoreDataCoreSpotlightDelegate) DomainIdentifier() string
- func (c_ CoreDataCoreSpotlightDelegate) IndexName() string
- func (c_ CoreDataCoreSpotlightDelegate) Init() CoreDataCoreSpotlightDelegate
- func (c_ CoreDataCoreSpotlightDelegate) InitForStoreWithDescriptionCoordinator(description IPersistentStoreDescription, psc IPersistentStoreCoordinator) CoreDataCoreSpotlightDelegate
- func (c_ CoreDataCoreSpotlightDelegate) IsIndexingEnabled() bool
- func (c_ CoreDataCoreSpotlightDelegate) SearchableIndexReindexAllSearchableItemsWithAcknowledgementHandler(searchableIndex objc.IObject, acknowledgementHandler func())
- func (c_ CoreDataCoreSpotlightDelegate) SearchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler(searchableIndex objc.IObject, identifiers []string, ...)
- func (c_ CoreDataCoreSpotlightDelegate) StartSpotlightIndexing()
- func (c_ CoreDataCoreSpotlightDelegate) StopSpotlightIndexing()
- type DeleteRule
- type DerivedAttributeDescription
- type EntityDescription
- func EntityDescriptionFrom(ptr unsafe.Pointer) EntityDescription
- func EntityDescription_EntityForNameInManagedObjectContext(entityName string, context IManagedObjectContext) EntityDescription
- func ManagedObject_Entity() EntityDescription
- func NewEntityDescription() EntityDescription
- func PersistentHistoryChange_EntityDescription() EntityDescription
- func PersistentHistoryChange_EntityDescriptionWithContext(context IManagedObjectContext) EntityDescription
- func PersistentHistoryTransaction_EntityDescription() EntityDescription
- func PersistentHistoryTransaction_EntityDescriptionWithContext(context IManagedObjectContext) EntityDescription
- func (e_ EntityDescription) AttributesByName() map[string]AttributeDescription
- func (e_ EntityDescription) CoreSpotlightDisplayNameExpression() foundation.Expression
- func (e_ EntityDescription) Indexes() []FetchIndexDescription
- func (e_ EntityDescription) Init() EntityDescription
- func (e_ EntityDescription) IsAbstract() bool
- func (e_ EntityDescription) IsKindOfEntity(entity IEntityDescription) bool
- func (e_ EntityDescription) ManagedObjectClassName() string
- func (e_ EntityDescription) ManagedObjectModel() ManagedObjectModel
- func (e_ EntityDescription) Name() string
- func (e_ EntityDescription) Properties() []PropertyDescription
- func (e_ EntityDescription) PropertiesByName() map[string]PropertyDescription
- func (e_ EntityDescription) RelationshipsByName() map[string]RelationshipDescription
- func (e_ EntityDescription) RelationshipsWithDestinationEntity(entity IEntityDescription) []RelationshipDescription
- func (e_ EntityDescription) RenamingIdentifier() string
- func (e_ EntityDescription) SetAbstract(value bool)
- func (e_ EntityDescription) SetCoreSpotlightDisplayNameExpression(value foundation.IExpression)
- func (e_ EntityDescription) SetIndexes(value []IFetchIndexDescription)
- func (e_ EntityDescription) SetManagedObjectClassName(value string)
- func (e_ EntityDescription) SetName(value string)
- func (e_ EntityDescription) SetProperties(value []IPropertyDescription)
- func (e_ EntityDescription) SetRenamingIdentifier(value string)
- func (e_ EntityDescription) SetSubentities(value []IEntityDescription)
- func (e_ EntityDescription) SetUniquenessConstraints(value [][]objc.IObject)
- func (e_ EntityDescription) SetUserInfo(value foundation.Dictionary)
- func (e_ EntityDescription) SetVersionHashModifier(value string)
- func (e_ EntityDescription) Subentities() []EntityDescription
- func (e_ EntityDescription) SubentitiesByName() map[string]EntityDescription
- func (e_ EntityDescription) Superentity() EntityDescription
- func (e_ EntityDescription) UniquenessConstraints() [][]objc.Object
- func (e_ EntityDescription) UserInfo() foundation.Dictionary
- func (e_ EntityDescription) VersionHash() []byte
- func (e_ EntityDescription) VersionHashModifier() string
- type EntityMapping
- func (e_ EntityMapping) AttributeMappings() []PropertyMapping
- func (e_ EntityMapping) DestinationEntityName() string
- func (e_ EntityMapping) DestinationEntityVersionHash() []byte
- func (e_ EntityMapping) EntityMigrationPolicyClassName() string
- func (e_ EntityMapping) Init() EntityMapping
- func (e_ EntityMapping) MappingType() EntityMappingType
- func (e_ EntityMapping) Name() string
- func (e_ EntityMapping) RelationshipMappings() []PropertyMapping
- func (e_ EntityMapping) SetAttributeMappings(value []IPropertyMapping)
- func (e_ EntityMapping) SetDestinationEntityName(value string)
- func (e_ EntityMapping) SetDestinationEntityVersionHash(value []byte)
- func (e_ EntityMapping) SetEntityMigrationPolicyClassName(value string)
- func (e_ EntityMapping) SetMappingType(value EntityMappingType)
- func (e_ EntityMapping) SetName(value string)
- func (e_ EntityMapping) SetRelationshipMappings(value []IPropertyMapping)
- func (e_ EntityMapping) SetSourceEntityName(value string)
- func (e_ EntityMapping) SetSourceEntityVersionHash(value []byte)
- func (e_ EntityMapping) SetSourceExpression(value foundation.IExpression)
- func (e_ EntityMapping) SetUserInfo(value foundation.Dictionary)
- func (e_ EntityMapping) SourceEntityName() string
- func (e_ EntityMapping) SourceEntityVersionHash() []byte
- func (e_ EntityMapping) SourceExpression() foundation.Expression
- func (e_ EntityMapping) UserInfo() foundation.Dictionary
- type EntityMappingType
- type EntityMigrationPolicy
- func (e_ EntityMigrationPolicy) BeginEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
- func (e_ EntityMigrationPolicy) CreateDestinationInstancesForSourceInstanceEntityMappingManagerError(sInstance IManagedObject, mapping IEntityMapping, manager IMigrationManager, ...) bool
- func (e_ EntityMigrationPolicy) CreateRelationshipsForDestinationInstanceEntityMappingManagerError(dInstance IManagedObject, mapping IEntityMapping, manager IMigrationManager, ...) bool
- func (e_ EntityMigrationPolicy) EndEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
- func (e_ EntityMigrationPolicy) EndInstanceCreationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
- func (e_ EntityMigrationPolicy) EndRelationshipCreationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
- func (e_ EntityMigrationPolicy) Init() EntityMigrationPolicy
- func (e_ EntityMigrationPolicy) PerformCustomValidationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
- type ExpressionDescription
- func (e_ ExpressionDescription) Expression() foundation.Expression
- func (e_ ExpressionDescription) ExpressionResultType() AttributeType
- func (e_ ExpressionDescription) Init() ExpressionDescription
- func (e_ ExpressionDescription) SetExpression(value foundation.IExpression)
- func (e_ ExpressionDescription) SetExpressionResultType(value AttributeType)
- type FetchIndexDescription
- func (f_ FetchIndexDescription) Elements() []FetchIndexElementDescription
- func (f_ FetchIndexDescription) Entity() EntityDescription
- func (f_ FetchIndexDescription) Init() FetchIndexDescription
- func (f_ FetchIndexDescription) InitWithNameElements(name string, elements []IFetchIndexElementDescription) FetchIndexDescription
- func (f_ FetchIndexDescription) Name() string
- func (f_ FetchIndexDescription) PartialIndexPredicate() foundation.Predicate
- func (f_ FetchIndexDescription) SetElements(value []IFetchIndexElementDescription)
- func (f_ FetchIndexDescription) SetName(value string)
- func (f_ FetchIndexDescription) SetPartialIndexPredicate(value foundation.IPredicate)
- type FetchIndexElementDescription
- func FetchIndexElementDescriptionFrom(ptr unsafe.Pointer) FetchIndexElementDescription
- func NewFetchIndexElementDescription() FetchIndexElementDescription
- func NewFetchIndexElementDescriptionWithPropertyCollationType(property IPropertyDescription, collationType FetchIndexElementType) FetchIndexElementDescription
- func (f_ FetchIndexElementDescription) CollationType() FetchIndexElementType
- func (f_ FetchIndexElementDescription) IndexDescription() FetchIndexDescription
- func (f_ FetchIndexElementDescription) Init() FetchIndexElementDescription
- func (f_ FetchIndexElementDescription) InitWithPropertyCollationType(property IPropertyDescription, collationType FetchIndexElementType) FetchIndexElementDescription
- func (f_ FetchIndexElementDescription) IsAscending() bool
- func (f_ FetchIndexElementDescription) Property() PropertyDescription
- func (f_ FetchIndexElementDescription) PropertyName() string
- func (f_ FetchIndexElementDescription) SetAscending(value bool)
- func (f_ FetchIndexElementDescription) SetCollationType(value FetchIndexElementType)
- type FetchIndexElementType
- type FetchRequest
- func FetchRequestFrom(ptr unsafe.Pointer) FetchRequest
- func FetchRequest_FetchRequestWithEntityName(entityName string) FetchRequest
- func ManagedObject_FetchRequest() FetchRequest
- func NewFetchRequest() FetchRequest
- func NewFetchRequestWithEntityName(entityName string) FetchRequest
- func PersistentCloudKitContainerEventRequest_FetchRequestForEvents() FetchRequest
- func PersistentHistoryChange_FetchRequest() FetchRequest
- func PersistentHistoryTransaction_FetchRequest() FetchRequest
- func (f_ FetchRequest) Entity() EntityDescription
- func (f_ FetchRequest) EntityName() string
- func (f_ FetchRequest) Execute(error unsafe.Pointer) []objc.Object
- func (f_ FetchRequest) FetchBatchSize() uint
- func (f_ FetchRequest) FetchLimit() uint
- func (f_ FetchRequest) FetchOffset() uint
- func (f_ FetchRequest) HavingPredicate() foundation.Predicate
- func (f_ FetchRequest) IncludesPendingChanges() bool
- func (f_ FetchRequest) IncludesPropertyValues() bool
- func (f_ FetchRequest) IncludesSubentities() bool
- func (f_ FetchRequest) Init() FetchRequest
- func (f_ FetchRequest) InitWithEntityName(entityName string) FetchRequest
- func (f_ FetchRequest) Predicate() foundation.Predicate
- func (f_ FetchRequest) PropertiesToFetch() []objc.Object
- func (f_ FetchRequest) PropertiesToGroupBy() []objc.Object
- func (f_ FetchRequest) RelationshipKeyPathsForPrefetching() []string
- func (f_ FetchRequest) ResultType() FetchRequestResultType
- func (f_ FetchRequest) ReturnsDistinctResults() bool
- func (f_ FetchRequest) ReturnsObjectsAsFaults() bool
- func (f_ FetchRequest) SetEntity(value IEntityDescription)
- func (f_ FetchRequest) SetFetchBatchSize(value uint)
- func (f_ FetchRequest) SetFetchLimit(value uint)
- func (f_ FetchRequest) SetFetchOffset(value uint)
- func (f_ FetchRequest) SetHavingPredicate(value foundation.IPredicate)
- func (f_ FetchRequest) SetIncludesPendingChanges(value bool)
- func (f_ FetchRequest) SetIncludesPropertyValues(value bool)
- func (f_ FetchRequest) SetIncludesSubentities(value bool)
- func (f_ FetchRequest) SetPredicate(value foundation.IPredicate)
- func (f_ FetchRequest) SetPropertiesToFetch(value []objc.IObject)
- func (f_ FetchRequest) SetPropertiesToGroupBy(value []objc.IObject)
- func (f_ FetchRequest) SetRelationshipKeyPathsForPrefetching(value []string)
- func (f_ FetchRequest) SetResultType(value FetchRequestResultType)
- func (f_ FetchRequest) SetReturnsDistinctResults(value bool)
- func (f_ FetchRequest) SetReturnsObjectsAsFaults(value bool)
- func (f_ FetchRequest) SetShouldRefreshRefetchedObjects(value bool)
- func (f_ FetchRequest) SetSortDescriptors(value []foundation.ISortDescriptor)
- func (f_ FetchRequest) ShouldRefreshRefetchedObjects() bool
- func (f_ FetchRequest) SortDescriptors() []foundation.SortDescriptor
- type FetchRequestExpression
- func (f_ FetchRequestExpression) ContextExpression() foundation.Expression
- func (f_ FetchRequestExpression) Init() FetchRequestExpression
- func (f_ FetchRequestExpression) InitWithExpressionType(type_ foundation.ExpressionType) FetchRequestExpression
- func (f_ FetchRequestExpression) IsCountOnlyRequest() bool
- func (f_ FetchRequestExpression) RequestExpression() foundation.Expression
- type FetchRequestResultObject
- type FetchRequestResultType
- type FetchedPropertyDescription
- type FetchedResultsChangeType
- type FetchedResultsController
- func FetchedResultsControllerFrom(ptr unsafe.Pointer) FetchedResultsController
- func NewFetchedResultsController() FetchedResultsController
- func NewFetchedResultsControllerWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName(fetchRequest IFetchRequest, context IManagedObjectContext, ...) FetchedResultsController
- func (f_ FetchedResultsController) CacheName() string
- func (f_ FetchedResultsController) Delegate() FetchedResultsControllerDelegateObject
- func (f_ FetchedResultsController) FetchRequest() FetchRequest
- func (f_ FetchedResultsController) FetchedObjects() []objc.Object
- func (f_ FetchedResultsController) IndexPathForObject(object objc.IObject) foundation.IndexPath
- func (f_ FetchedResultsController) Init() FetchedResultsController
- func (f_ FetchedResultsController) InitWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName(fetchRequest IFetchRequest, context IManagedObjectContext, ...) FetchedResultsController
- func (f_ FetchedResultsController) ManagedObjectContext() ManagedObjectContext
- func (f_ FetchedResultsController) ObjectAtIndexPath(indexPath foundation.IIndexPath) objc.Object
- func (f_ FetchedResultsController) PerformFetch(error unsafe.Pointer) bool
- func (f_ FetchedResultsController) SectionForSectionIndexTitleAtIndex(title string, sectionIndex int) int
- func (f_ FetchedResultsController) SectionIndexTitleForSectionName(sectionName string) string
- func (f_ FetchedResultsController) SectionIndexTitles() []string
- func (f_ FetchedResultsController) SectionNameKeyPath() string
- func (f_ FetchedResultsController) Sections() []FetchedResultsSectionInfoObject
- func (f_ FetchedResultsController) SetDelegate(value PFetchedResultsControllerDelegate)
- func (f_ FetchedResultsController) SetDelegateObject(valueObject objc.IObject)
- type FetchedResultsControllerDelegate
- func (di *FetchedResultsControllerDelegate) ControllerDidChangeContent(controller FetchedResultsController)
- func (di *FetchedResultsControllerDelegate) ControllerDidChangeContentWithDifference(controller FetchedResultsController, ...)
- func (di *FetchedResultsControllerDelegate) ControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(controller FetchedResultsController, anObject objc.Object, ...)
- func (di *FetchedResultsControllerDelegate) ControllerDidChangeSectionAtIndexForChangeType(controller FetchedResultsController, ...)
- func (di *FetchedResultsControllerDelegate) ControllerSectionIndexTitleForSectionName(controller FetchedResultsController, sectionName string) string
- func (di *FetchedResultsControllerDelegate) ControllerWillChangeContent(controller FetchedResultsController)
- func (di *FetchedResultsControllerDelegate) HasControllerDidChangeContent() bool
- func (di *FetchedResultsControllerDelegate) HasControllerDidChangeContentWithDifference() bool
- func (di *FetchedResultsControllerDelegate) HasControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath() bool
- func (di *FetchedResultsControllerDelegate) HasControllerDidChangeSectionAtIndexForChangeType() bool
- func (di *FetchedResultsControllerDelegate) HasControllerSectionIndexTitleForSectionName() bool
- func (di *FetchedResultsControllerDelegate) HasControllerWillChangeContent() bool
- func (di *FetchedResultsControllerDelegate) SetControllerDidChangeContent(f func(controller FetchedResultsController))
- func (di *FetchedResultsControllerDelegate) SetControllerDidChangeContentWithDifference(f func(controller FetchedResultsController, ...))
- func (di *FetchedResultsControllerDelegate) SetControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(f func(controller FetchedResultsController, anObject objc.Object, ...))
- func (di *FetchedResultsControllerDelegate) SetControllerDidChangeSectionAtIndexForChangeType(f func(controller FetchedResultsController, ...))
- func (di *FetchedResultsControllerDelegate) SetControllerSectionIndexTitleForSectionName(f func(controller FetchedResultsController, sectionName string) string)
- func (di *FetchedResultsControllerDelegate) SetControllerWillChangeContent(f func(controller FetchedResultsController))
- type FetchedResultsControllerDelegateObject
- func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeContent(controller FetchedResultsController)
- func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeContentWithDifference(controller FetchedResultsController, ...)
- func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(controller FetchedResultsController, anObject objc.Object, ...)
- func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeSectionAtIndexForChangeType(controller FetchedResultsController, ...)
- func (f_ FetchedResultsControllerDelegateObject) ControllerSectionIndexTitleForSectionName(controller FetchedResultsController, sectionName string) string
- func (f_ FetchedResultsControllerDelegateObject) ControllerWillChangeContent(controller FetchedResultsController)
- func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeContent() bool
- func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeContentWithDifference() bool
- func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath() bool
- func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeSectionAtIndexForChangeType() bool
- func (f_ FetchedResultsControllerDelegateObject) HasControllerSectionIndexTitleForSectionName() bool
- func (f_ FetchedResultsControllerDelegateObject) HasControllerWillChangeContent() bool
- type FetchedResultsSectionInfoObject
- func (f_ FetchedResultsSectionInfoObject) HasIndexTitle() bool
- func (f_ FetchedResultsSectionInfoObject) HasName() bool
- func (f_ FetchedResultsSectionInfoObject) HasNumberOfObjects() bool
- func (f_ FetchedResultsSectionInfoObject) HasObjects() bool
- func (f_ FetchedResultsSectionInfoObject) IndexTitle() string
- func (f_ FetchedResultsSectionInfoObject) Name() string
- func (f_ FetchedResultsSectionInfoObject) NumberOfObjects() uint
- func (f_ FetchedResultsSectionInfoObject) Objects() []objc.Object
- type IAsynchronousFetchRequest
- type IAsynchronousFetchResult
- type IAtomicStore
- type IAtomicStoreCacheNode
- type IAttributeDescription
- type IBatchDeleteRequest
- type IBatchDeleteResult
- type IBatchInsertRequest
- type IBatchInsertResult
- type IBatchUpdateRequest
- type IBatchUpdateResult
- type IConstraintConflict
- type ICoreDataCoreSpotlightDelegate
- type IDerivedAttributeDescription
- type IEntityDescription
- type IEntityMapping
- type IEntityMigrationPolicy
- type IExpressionDescription
- type IFetchIndexDescription
- type IFetchIndexElementDescription
- type IFetchRequest
- type IFetchRequestExpression
- type IFetchedPropertyDescription
- type IFetchedResultsController
- type IIncrementalStore
- type IIncrementalStoreNode
- type IManagedObject
- type IManagedObjectContext
- type IManagedObjectID
- type IManagedObjectModel
- type IMappingModel
- type IMergeConflict
- type IMergePolicy
- type IMigrationManager
- type IPersistentCloudKitContainer
- type IPersistentCloudKitContainerEvent
- type IPersistentCloudKitContainerEventRequest
- type IPersistentCloudKitContainerEventResult
- type IPersistentCloudKitContainerOptions
- type IPersistentContainer
- type IPersistentHistoryChange
- type IPersistentHistoryChangeRequest
- type IPersistentHistoryResult
- type IPersistentHistoryToken
- type IPersistentHistoryTransaction
- type IPersistentStore
- type IPersistentStoreAsynchronousResult
- type IPersistentStoreCoordinator
- type IPersistentStoreDescription
- type IPersistentStoreRequest
- type IPersistentStoreResult
- type IPropertyDescription
- type IPropertyMapping
- type IQueryGenerationToken
- type IRelationshipDescription
- type ISaveChangesRequest
- type IncrementalStore
- func (i_ IncrementalStore) ExecuteRequestWithContextError(request IPersistentStoreRequest, context IManagedObjectContext, ...) objc.Object
- func (i_ IncrementalStore) Init() IncrementalStore
- func (i_ IncrementalStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(root IPersistentStoreCoordinator, name string, url foundation.IURL, ...) IncrementalStore
- func (i_ IncrementalStore) ManagedObjectContextDidRegisterObjectsWithIDs(objectIDs []IManagedObjectID)
- func (i_ IncrementalStore) ManagedObjectContextDidUnregisterObjectsWithIDs(objectIDs []IManagedObjectID)
- func (i_ IncrementalStore) NewObjectIDForEntityReferenceObject(entity IEntityDescription, data objc.IObject) ManagedObjectID
- func (i_ IncrementalStore) NewValueForRelationshipForObjectWithIDWithContextError(relationship IRelationshipDescription, objectID IManagedObjectID, ...) objc.Object
- func (i_ IncrementalStore) NewValuesForObjectWithIDWithContextError(objectID IManagedObjectID, context IManagedObjectContext, error unsafe.Pointer) IncrementalStoreNode
- func (i_ IncrementalStore) ObtainPermanentIDsForObjectsError(array []IManagedObject, error unsafe.Pointer) []ManagedObjectID
- func (i_ IncrementalStore) ReferenceObjectForObjectID(objectID IManagedObjectID) objc.Object
- type IncrementalStoreNode
- func (i_ IncrementalStoreNode) Init() IncrementalStoreNode
- func (i_ IncrementalStoreNode) InitWithObjectIDWithValuesVersion(objectID IManagedObjectID, values map[string]objc.IObject, version uint64) IncrementalStoreNode
- func (i_ IncrementalStoreNode) ObjectID() ManagedObjectID
- func (i_ IncrementalStoreNode) UpdateWithValuesVersion(values map[string]objc.IObject, version uint64)
- func (i_ IncrementalStoreNode) ValueForPropertyDescription(prop IPropertyDescription) objc.Object
- func (i_ IncrementalStoreNode) Version() uint64
- type ManagedObject
- func EntityDescription_InsertNewObjectForEntityForNameInManagedObjectContext(entityName string, context IManagedObjectContext) ManagedObject
- func ManagedObjectFrom(ptr unsafe.Pointer) ManagedObject
- func NewManagedObject() ManagedObject
- func NewManagedObjectWithContext(moc IManagedObjectContext) ManagedObject
- func (m_ ManagedObject) AwakeFromFetch()
- func (m_ ManagedObject) AwakeFromInsert()
- func (m_ ManagedObject) AwakeFromSnapshotEvents(flags SnapshotEventType)
- func (m_ ManagedObject) ChangedValues() map[string]objc.Object
- func (m_ ManagedObject) ChangedValuesForCurrentEvent() map[string]objc.Object
- func (m_ ManagedObject) CommittedValuesForKeys(keys []string) map[string]objc.Object
- func (m_ ManagedObject) DidAccessValueForKey(key string)
- func (m_ ManagedObject) DidChangeValueForKey(key string)
- func (m_ ManagedObject) DidChangeValueForKeyWithSetMutationUsingObjects(inKey string, inMutationKind foundation.KeyValueSetMutationKind, ...)
- func (m_ ManagedObject) DidSave()
- func (m_ ManagedObject) DidTurnIntoFault()
- func (m_ ManagedObject) FaultingState() uint
- func (m_ ManagedObject) HasChanges() bool
- func (m_ ManagedObject) HasFaultForRelationshipNamed(key string) bool
- func (m_ ManagedObject) HasPersistentChangedValues() bool
- func (m_ ManagedObject) Init() ManagedObject
- func (m_ ManagedObject) InitWithContext(moc IManagedObjectContext) ManagedObject
- func (m_ ManagedObject) InitWithEntityInsertIntoManagedObjectContext(entity IEntityDescription, context IManagedObjectContext) ManagedObject
- func (m_ ManagedObject) IsDeleted() bool
- func (m_ ManagedObject) IsFault() bool
- func (m_ ManagedObject) IsInserted() bool
- func (m_ ManagedObject) IsUpdated() bool
- func (m_ ManagedObject) ManagedObjectContext() ManagedObjectContext
- func (m_ ManagedObject) ObjectID() ManagedObjectID
- func (m_ ManagedObject) ObjectIDsForRelationshipNamed(key string) []ManagedObjectID
- func (m_ ManagedObject) ObservationInfo() unsafe.Pointer
- func (m_ ManagedObject) PrepareForDeletion()
- func (m_ ManagedObject) PrimitiveValueForKey(key string) objc.Object
- func (m_ ManagedObject) SetObservationInfo(inObservationInfo unsafe.Pointer)
- func (m_ ManagedObject) SetPrimitiveValueForKey(value objc.IObject, key string)
- func (m_ ManagedObject) SetValueForKey(value objc.IObject, key string)
- func (m_ ManagedObject) ValidateForDelete(error unsafe.Pointer) bool
- func (m_ ManagedObject) ValidateForInsert(error unsafe.Pointer) bool
- func (m_ ManagedObject) ValidateForUpdate(error unsafe.Pointer) bool
- func (m_ ManagedObject) ValidateValueForKeyError(value unsafe.Pointer, key string, error unsafe.Pointer) bool
- func (m_ ManagedObject) ValueForKey(key string) objc.Object
- func (m_ ManagedObject) WillAccessValueForKey(key string)
- func (m_ ManagedObject) WillChangeValueForKey(key string)
- func (m_ ManagedObject) WillChangeValueForKeyWithSetMutationUsingObjects(inKey string, inMutationKind foundation.KeyValueSetMutationKind, ...)
- func (m_ ManagedObject) WillSave()
- func (m_ ManagedObject) WillTurnIntoFault()
- type ManagedObjectContext
- func (m_ ManagedObjectContext) AssignObjectToPersistentStore(object objc.IObject, store IPersistentStore)
- func (m_ ManagedObjectContext) AutomaticallyMergesChangesFromParent() bool
- func (m_ ManagedObjectContext) ConcurrencyType() ManagedObjectContextConcurrencyType
- func (m_ ManagedObjectContext) CountForFetchRequestError(request IFetchRequest, error unsafe.Pointer) uint
- func (m_ ManagedObjectContext) DeleteObject(object IManagedObject)
- func (m_ ManagedObjectContext) DeletedObjects() foundation.Set
- func (m_ ManagedObjectContext) DetectConflictsForObject(object IManagedObject)
- func (m_ ManagedObjectContext) ExecuteFetchRequestError(request IFetchRequest, error unsafe.Pointer) []objc.Object
- func (m_ ManagedObjectContext) ExecuteRequestError(request IPersistentStoreRequest, error unsafe.Pointer) PersistentStoreResult
- func (m_ ManagedObjectContext) ExistingObjectWithIDError(objectID IManagedObjectID, error unsafe.Pointer) ManagedObject
- func (m_ ManagedObjectContext) HasChanges() bool
- func (m_ ManagedObjectContext) Init() ManagedObjectContext
- func (m_ ManagedObjectContext) InsertObject(object IManagedObject)
- func (m_ ManagedObjectContext) InsertedObjects() foundation.Set
- func (m_ ManagedObjectContext) MergeChangesFromContextDidSaveNotification(notification foundation.INotification)
- func (m_ ManagedObjectContext) MergePolicy() objc.Object
- func (m_ ManagedObjectContext) Name() string
- func (m_ ManagedObjectContext) ObjectRegisteredForID(objectID IManagedObjectID) ManagedObject
- func (m_ ManagedObjectContext) ObjectWithID(objectID IManagedObjectID) ManagedObject
- func (m_ ManagedObjectContext) ObserveValueForKeyPathOfObjectChangeContext(keyPath string, object objc.IObject, change map[string]objc.IObject, ...)
- func (m_ ManagedObjectContext) ObtainPermanentIDsForObjectsError(objects []IManagedObject, error unsafe.Pointer) bool
- func (m_ ManagedObjectContext) ParentContext() ManagedObjectContext
- func (m_ ManagedObjectContext) PerformBlock(block func())
- func (m_ ManagedObjectContext) PerformBlockAndWait(block func())
- func (m_ ManagedObjectContext) PersistentStoreCoordinator() PersistentStoreCoordinator
- func (m_ ManagedObjectContext) ProcessPendingChanges()
- func (m_ ManagedObjectContext) PropagatesDeletesAtEndOfEvent() bool
- func (m_ ManagedObjectContext) QueryGenerationToken() QueryGenerationToken
- func (m_ ManagedObjectContext) Redo()
- func (m_ ManagedObjectContext) RefreshAllObjects()
- func (m_ ManagedObjectContext) RefreshObjectMergeChanges(object IManagedObject, flag bool)
- func (m_ ManagedObjectContext) RegisteredObjects() foundation.Set
- func (m_ ManagedObjectContext) Reset()
- func (m_ ManagedObjectContext) RetainsRegisteredObjects() bool
- func (m_ ManagedObjectContext) Rollback()
- func (m_ ManagedObjectContext) Save(error unsafe.Pointer) bool
- func (m_ ManagedObjectContext) SetAutomaticallyMergesChangesFromParent(value bool)
- func (m_ ManagedObjectContext) SetMergePolicy(value objc.IObject)
- func (m_ ManagedObjectContext) SetName(value string)
- func (m_ ManagedObjectContext) SetParentContext(value IManagedObjectContext)
- func (m_ ManagedObjectContext) SetPersistentStoreCoordinator(value IPersistentStoreCoordinator)
- func (m_ ManagedObjectContext) SetPropagatesDeletesAtEndOfEvent(value bool)
- func (m_ ManagedObjectContext) SetQueryGenerationFromTokenError(generation IQueryGenerationToken, error unsafe.Pointer) bool
- func (m_ ManagedObjectContext) SetRetainsRegisteredObjects(value bool)
- func (m_ ManagedObjectContext) SetShouldDeleteInaccessibleFaults(value bool)
- func (m_ ManagedObjectContext) SetStalenessInterval(value foundation.TimeInterval)
- func (m_ ManagedObjectContext) SetTransactionAuthor(value string)
- func (m_ ManagedObjectContext) SetUndoManager(value foundation.IUndoManager)
- func (m_ ManagedObjectContext) ShouldDeleteInaccessibleFaults() bool
- func (m_ ManagedObjectContext) ShouldHandleInaccessibleFaultForObjectIDTriggeredByProperty(fault IManagedObject, oid IManagedObjectID, property IPropertyDescription) bool
- func (m_ ManagedObjectContext) StalenessInterval() foundation.TimeInterval
- func (m_ ManagedObjectContext) TransactionAuthor() string
- func (m_ ManagedObjectContext) Undo()
- func (m_ ManagedObjectContext) UndoManager() foundation.UndoManager
- func (m_ ManagedObjectContext) UpdatedObjects() foundation.Set
- func (m_ ManagedObjectContext) UserInfo() foundation.MutableDictionary
- type ManagedObjectContextConcurrencyType
- type ManagedObjectID
- type ManagedObjectModel
- func ManagedObjectModelFrom(ptr unsafe.Pointer) ManagedObjectModel
- func ManagedObjectModel_MergedModelFromBundles(bundles []foundation.IBundle) ManagedObjectModel
- func ManagedObjectModel_MergedModelFromBundlesForStoreMetadata(bundles []foundation.IBundle, metadata map[string]objc.IObject) ManagedObjectModel
- func ManagedObjectModel_ModelByMergingModels(models []IManagedObjectModel) ManagedObjectModel
- func ManagedObjectModel_ModelByMergingModelsForStoreMetadata(models []IManagedObjectModel, metadata map[string]objc.IObject) ManagedObjectModel
- func NewManagedObjectModel() ManagedObjectModel
- func NewManagedObjectModelWithContentsOfURL(url foundation.IURL) ManagedObjectModel
- func (m_ ManagedObjectModel) Configurations() []string
- func (m_ ManagedObjectModel) Entities() []EntityDescription
- func (m_ ManagedObjectModel) EntitiesByName() map[string]EntityDescription
- func (m_ ManagedObjectModel) EntitiesForConfiguration(configuration string) []EntityDescription
- func (m_ ManagedObjectModel) EntityVersionHashesByName() map[string][]byte
- func (m_ ManagedObjectModel) FetchRequestFromTemplateWithNameSubstitutionVariables(name string, variables map[string]objc.IObject) FetchRequest
- func (m_ ManagedObjectModel) FetchRequestTemplateForName(name string) FetchRequest
- func (m_ ManagedObjectModel) FetchRequestTemplatesByName() map[string]FetchRequest
- func (m_ ManagedObjectModel) Init() ManagedObjectModel
- func (m_ ManagedObjectModel) InitWithContentsOfURL(url foundation.IURL) ManagedObjectModel
- func (m_ ManagedObjectModel) IsConfigurationCompatibleWithStoreMetadata(configuration string, metadata map[string]objc.IObject) bool
- func (m_ ManagedObjectModel) LocalizationDictionary() map[string]string
- func (m_ ManagedObjectModel) SetEntities(value []IEntityDescription)
- func (m_ ManagedObjectModel) SetEntitiesForConfiguration(entities []IEntityDescription, configuration string)
- func (m_ ManagedObjectModel) SetFetchRequestTemplateForName(fetchRequestTemplate IFetchRequest, name string)
- func (m_ ManagedObjectModel) SetLocalizationDictionary(value map[string]string)
- func (m_ ManagedObjectModel) SetVersionIdentifiers(value foundation.ISet)
- func (m_ ManagedObjectModel) VersionIdentifiers() foundation.Set
- type MappingModel
- func MappingModelFrom(ptr unsafe.Pointer) MappingModel
- func MappingModel_InferredMappingModelForSourceModelDestinationModelError(sourceModel IManagedObjectModel, destinationModel IManagedObjectModel, ...) MappingModel
- func MappingModel_MappingModelFromBundlesForSourceModelDestinationModel(bundles []foundation.IBundle, sourceModel IManagedObjectModel, ...) MappingModel
- func NewMappingModel() MappingModel
- func NewMappingModelWithContentsOfURL(url foundation.IURL) MappingModel
- func (m_ MappingModel) EntityMappings() []EntityMapping
- func (m_ MappingModel) EntityMappingsByName() map[string]EntityMapping
- func (m_ MappingModel) Init() MappingModel
- func (m_ MappingModel) InitWithContentsOfURL(url foundation.IURL) MappingModel
- func (m_ MappingModel) SetEntityMappings(value []IEntityMapping)
- type MergeConflict
- func (m_ MergeConflict) CachedSnapshot() map[string]objc.Object
- func (m_ MergeConflict) Init() MergeConflict
- func (m_ MergeConflict) InitWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot(srcObject IManagedObject, newvers uint, oldvers uint, ...) MergeConflict
- func (m_ MergeConflict) NewVersionNumber() uint
- func (m_ MergeConflict) ObjectSnapshot() map[string]objc.Object
- func (m_ MergeConflict) OldVersionNumber() uint
- func (m_ MergeConflict) PersistedSnapshot() map[string]objc.Object
- func (m_ MergeConflict) SourceObject() ManagedObject
- type MergePolicy
- func MergePolicyFrom(ptr unsafe.Pointer) MergePolicy
- func MergePolicy_ErrorMergePolicy() MergePolicy
- func MergePolicy_MergeByPropertyObjectTrumpMergePolicy() MergePolicy
- func MergePolicy_MergeByPropertyStoreTrumpMergePolicy() MergePolicy
- func MergePolicy_OverwriteMergePolicy() MergePolicy
- func MergePolicy_RollbackMergePolicy() MergePolicy
- func NewMergePolicy() MergePolicy
- func (m_ MergePolicy) Init() MergePolicy
- func (m_ MergePolicy) InitWithMergeType(ty MergePolicyType) objc.Object
- func (m_ MergePolicy) MergeType() MergePolicyType
- func (m_ MergePolicy) ResolveConflictsError(list []objc.IObject, error unsafe.Pointer) bool
- func (m_ MergePolicy) ResolveConstraintConflictsError(list []IConstraintConflict, error unsafe.Pointer) bool
- func (m_ MergePolicy) ResolveOptimisticLockingVersionConflictsError(list []IMergeConflict, error unsafe.Pointer) bool
- type MergePolicyType
- type MigrationManager
- func (m_ MigrationManager) AssociateSourceInstanceWithDestinationInstanceForEntityMapping(sourceInstance IManagedObject, destinationInstance IManagedObject, ...)
- func (m_ MigrationManager) CancelMigrationWithError(error foundation.IError)
- func (m_ MigrationManager) CurrentEntityMapping() EntityMapping
- func (m_ MigrationManager) DestinationContext() ManagedObjectContext
- func (m_ MigrationManager) DestinationEntityForEntityMapping(mEntity IEntityMapping) EntityDescription
- func (m_ MigrationManager) DestinationInstancesForEntityMappingNamedSourceInstances(mappingName string, sourceInstances []IManagedObject) []ManagedObject
- func (m_ MigrationManager) DestinationModel() ManagedObjectModel
- func (m_ MigrationManager) Init() MigrationManager
- func (m_ MigrationManager) InitWithSourceModelDestinationModel(sourceModel IManagedObjectModel, destinationModel IManagedObjectModel) MigrationManager
- func (m_ MigrationManager) MappingModel() MappingModel
- func (m_ MigrationManager) MigrationProgress() float32
- func (m_ MigrationManager) Reset()
- func (m_ MigrationManager) SetUserInfo(value foundation.Dictionary)
- func (m_ MigrationManager) SetUsesStoreSpecificMigrationManager(value bool)
- func (m_ MigrationManager) SourceContext() ManagedObjectContext
- func (m_ MigrationManager) SourceEntityForEntityMapping(mEntity IEntityMapping) EntityDescription
- func (m_ MigrationManager) SourceInstancesForEntityMappingNamedDestinationInstances(mappingName string, destinationInstances []IManagedObject) []ManagedObject
- func (m_ MigrationManager) SourceModel() ManagedObjectModel
- func (m_ MigrationManager) UserInfo() foundation.Dictionary
- func (m_ MigrationManager) UsesStoreSpecificMigrationManager() bool
- type PFetchRequestResult
- type PFetchedResultsControllerDelegate
- type PFetchedResultsSectionInfo
- type PersistentCloudKitContainer
- func NewPersistentCloudKitContainer() PersistentCloudKitContainer
- func NewPersistentCloudKitContainerWithName(name string) PersistentCloudKitContainer
- func NewPersistentCloudKitContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentCloudKitContainer
- func PersistentCloudKitContainerFrom(ptr unsafe.Pointer) PersistentCloudKitContainer
- func PersistentCloudKitContainer_PersistentContainerWithName(name string) PersistentCloudKitContainer
- func PersistentCloudKitContainer_PersistentContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentCloudKitContainer
- func (p_ PersistentCloudKitContainer) AcceptShareInvitationsFromMetadataIntoPersistentStoreCompletion(metadata []cloudkit.IShareMetadata, persistentStore IPersistentStore, ...)
- func (p_ PersistentCloudKitContainer) CanDeleteRecordForManagedObjectWithID(objectID IManagedObjectID) bool
- func (p_ PersistentCloudKitContainer) CanModifyManagedObjectsInStore(store IPersistentStore) bool
- func (p_ PersistentCloudKitContainer) CanUpdateRecordForManagedObjectWithID(objectID IManagedObjectID) bool
- func (p_ PersistentCloudKitContainer) FetchParticipantsMatchingLookupInfosIntoPersistentStoreCompletion(lookupInfos []cloudkit.IUserIdentityLookupInfo, ...)
- func (p_ PersistentCloudKitContainer) FetchSharesInPersistentStoreError(persistentStore IPersistentStore, error unsafe.Pointer) []cloudkit.Share
- func (p_ PersistentCloudKitContainer) FetchSharesMatchingObjectIDsError(objectIDs []IManagedObjectID, error unsafe.Pointer) foundation.Dictionary
- func (p_ PersistentCloudKitContainer) Init() PersistentCloudKitContainer
- func (p_ PersistentCloudKitContainer) InitWithName(name string) PersistentCloudKitContainer
- func (p_ PersistentCloudKitContainer) InitWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentCloudKitContainer
- func (p_ PersistentCloudKitContainer) InitializeCloudKitSchemaWithOptionsError(options PersistentCloudKitContainerSchemaInitializationOptions, ...) bool
- func (p_ PersistentCloudKitContainer) PersistUpdatedShareInPersistentStoreCompletion(share cloudkit.IShare, persistentStore IPersistentStore, ...)
- func (p_ PersistentCloudKitContainer) PurgeObjectsAndRecordsInZoneWithIDInPersistentStoreCompletion(zoneID cloudkit.IRecordZoneID, persistentStore IPersistentStore, ...)
- func (p_ PersistentCloudKitContainer) RecordForManagedObjectID(managedObjectID IManagedObjectID) cloudkit.Record
- func (p_ PersistentCloudKitContainer) RecordIDForManagedObjectID(managedObjectID IManagedObjectID) cloudkit.RecordID
- func (p_ PersistentCloudKitContainer) RecordIDsForManagedObjectIDs(managedObjectIDs []IManagedObjectID) foundation.Dictionary
- func (p_ PersistentCloudKitContainer) RecordsForManagedObjectIDs(managedObjectIDs []IManagedObjectID) foundation.Dictionary
- type PersistentCloudKitContainerEvent
- func (p_ PersistentCloudKitContainerEvent) EndDate() foundation.Date
- func (p_ PersistentCloudKitContainerEvent) Error() foundation.Error
- func (p_ PersistentCloudKitContainerEvent) Identifier() foundation.UUID
- func (p_ PersistentCloudKitContainerEvent) Init() PersistentCloudKitContainerEvent
- func (p_ PersistentCloudKitContainerEvent) StartDate() foundation.Date
- func (p_ PersistentCloudKitContainerEvent) StoreIdentifier() string
- func (p_ PersistentCloudKitContainerEvent) Succeeded() bool
- func (p_ PersistentCloudKitContainerEvent) Type() PersistentCloudKitContainerEventType
- type PersistentCloudKitContainerEventRequest
- func NewPersistentCloudKitContainerEventRequest() PersistentCloudKitContainerEventRequest
- func PersistentCloudKitContainerEventRequestFrom(ptr unsafe.Pointer) PersistentCloudKitContainerEventRequest
- func PersistentCloudKitContainerEventRequest_FetchEventsAfterDate(date foundation.IDate) PersistentCloudKitContainerEventRequest
- func PersistentCloudKitContainerEventRequest_FetchEventsAfterEvent(event IPersistentCloudKitContainerEvent) PersistentCloudKitContainerEventRequest
- func PersistentCloudKitContainerEventRequest_FetchEventsMatchingFetchRequest(fetchRequest IFetchRequest) PersistentCloudKitContainerEventRequest
- func (p_ PersistentCloudKitContainerEventRequest) Init() PersistentCloudKitContainerEventRequest
- func (p_ PersistentCloudKitContainerEventRequest) ResultType() PersistentCloudKitContainerEventResultType
- func (p_ PersistentCloudKitContainerEventRequest) SetResultType(value PersistentCloudKitContainerEventResultType)
- type PersistentCloudKitContainerEventResult
- type PersistentCloudKitContainerEventResultType
- type PersistentCloudKitContainerEventType
- type PersistentCloudKitContainerOptions
- func NewPersistentCloudKitContainerOptions() PersistentCloudKitContainerOptions
- func NewPersistentCloudKitContainerOptionsWithContainerIdentifier(containerIdentifier string) PersistentCloudKitContainerOptions
- func PersistentCloudKitContainerOptionsFrom(ptr unsafe.Pointer) PersistentCloudKitContainerOptions
- func (p_ PersistentCloudKitContainerOptions) ContainerIdentifier() string
- func (p_ PersistentCloudKitContainerOptions) DatabaseScope() cloudkit.DatabaseScope
- func (p_ PersistentCloudKitContainerOptions) Init() PersistentCloudKitContainerOptions
- func (p_ PersistentCloudKitContainerOptions) InitWithContainerIdentifier(containerIdentifier string) PersistentCloudKitContainerOptions
- func (p_ PersistentCloudKitContainerOptions) SetDatabaseScope(value cloudkit.DatabaseScope)
- type PersistentCloudKitContainerSchemaInitializationOptions
- type PersistentContainer
- func NewPersistentContainer() PersistentContainer
- func NewPersistentContainerWithName(name string) PersistentContainer
- func NewPersistentContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentContainer
- func PersistentContainerFrom(ptr unsafe.Pointer) PersistentContainer
- func PersistentContainer_PersistentContainerWithName(name string) PersistentContainer
- func PersistentContainer_PersistentContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentContainer
- func (p_ PersistentContainer) Init() PersistentContainer
- func (p_ PersistentContainer) InitWithName(name string) PersistentContainer
- func (p_ PersistentContainer) InitWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentContainer
- func (p_ PersistentContainer) LoadPersistentStoresWithCompletionHandler(block func(arg0 PersistentStoreDescription, arg1 foundation.Error))
- func (p_ PersistentContainer) ManagedObjectModel() ManagedObjectModel
- func (p_ PersistentContainer) Name() string
- func (p_ PersistentContainer) NewBackgroundContext() ManagedObjectContext
- func (p_ PersistentContainer) PerformBackgroundTask(block func(arg0 ManagedObjectContext))
- func (p_ PersistentContainer) PersistentStoreCoordinator() PersistentStoreCoordinator
- func (p_ PersistentContainer) PersistentStoreDescriptions() []PersistentStoreDescription
- func (p_ PersistentContainer) SetPersistentStoreDescriptions(value []IPersistentStoreDescription)
- func (p_ PersistentContainer) ViewContext() ManagedObjectContext
- type PersistentHistoryChange
- func (p_ PersistentHistoryChange) ChangeID() int64
- func (p_ PersistentHistoryChange) ChangeType() PersistentHistoryChangeType
- func (p_ PersistentHistoryChange) ChangedObjectID() ManagedObjectID
- func (p_ PersistentHistoryChange) Init() PersistentHistoryChange
- func (p_ PersistentHistoryChange) Tombstone() foundation.Dictionary
- func (p_ PersistentHistoryChange) Transaction() PersistentHistoryTransaction
- func (p_ PersistentHistoryChange) UpdatedProperties() foundation.Set
- type PersistentHistoryChangeRequest
- func NewPersistentHistoryChangeRequest() PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequestFrom(ptr unsafe.Pointer) PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequest_DeleteHistoryBeforeDate(date foundation.IDate) PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequest_DeleteHistoryBeforeToken(token IPersistentHistoryToken) PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequest_DeleteHistoryBeforeTransaction(transaction IPersistentHistoryTransaction) PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequest_FetchHistoryAfterDate(date foundation.IDate) PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequest_FetchHistoryAfterToken(token IPersistentHistoryToken) PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequest_FetchHistoryAfterTransaction(transaction IPersistentHistoryTransaction) PersistentHistoryChangeRequest
- func PersistentHistoryChangeRequest_FetchHistoryWithFetchRequest(fetchRequest IFetchRequest) PersistentHistoryChangeRequest
- func (p_ PersistentHistoryChangeRequest) FetchRequest() FetchRequest
- func (p_ PersistentHistoryChangeRequest) Init() PersistentHistoryChangeRequest
- func (p_ PersistentHistoryChangeRequest) ResultType() PersistentHistoryResultType
- func (p_ PersistentHistoryChangeRequest) SetFetchRequest(value IFetchRequest)
- func (p_ PersistentHistoryChangeRequest) SetResultType(value PersistentHistoryResultType)
- func (p_ PersistentHistoryChangeRequest) Token() PersistentHistoryToken
- type PersistentHistoryChangeType
- type PersistentHistoryResult
- type PersistentHistoryResultType
- type PersistentHistoryToken
- type PersistentHistoryTransaction
- func (p_ PersistentHistoryTransaction) Author() string
- func (p_ PersistentHistoryTransaction) BundleID() string
- func (p_ PersistentHistoryTransaction) Changes() []PersistentHistoryChange
- func (p_ PersistentHistoryTransaction) ContextName() string
- func (p_ PersistentHistoryTransaction) Init() PersistentHistoryTransaction
- func (p_ PersistentHistoryTransaction) ObjectIDNotification() foundation.Notification
- func (p_ PersistentHistoryTransaction) ProcessID() string
- func (p_ PersistentHistoryTransaction) StoreID() string
- func (p_ PersistentHistoryTransaction) Timestamp() foundation.Date
- func (p_ PersistentHistoryTransaction) Token() PersistentHistoryToken
- func (p_ PersistentHistoryTransaction) TransactionNumber() int64
- type PersistentStore
- func (p_ PersistentStore) ConfigurationName() string
- func (p_ PersistentStore) CoreSpotlightExporter() CoreDataCoreSpotlightDelegate
- func (p_ PersistentStore) DidAddToPersistentStoreCoordinator(coordinator IPersistentStoreCoordinator)
- func (p_ PersistentStore) Identifier() string
- func (p_ PersistentStore) Init() PersistentStore
- func (p_ PersistentStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(root IPersistentStoreCoordinator, name string, url foundation.IURL, ...) PersistentStore
- func (p_ PersistentStore) IsReadOnly() bool
- func (p_ PersistentStore) LoadMetadata(error unsafe.Pointer) bool
- func (p_ PersistentStore) Metadata() map[string]objc.Object
- func (p_ PersistentStore) Options() foundation.Dictionary
- func (p_ PersistentStore) PersistentStoreCoordinator() PersistentStoreCoordinator
- func (p_ PersistentStore) SetIdentifier(value string)
- func (p_ PersistentStore) SetMetadata(value map[string]objc.IObject)
- func (p_ PersistentStore) SetReadOnly(value bool)
- func (p_ PersistentStore) SetURL(value foundation.IURL)
- func (p_ PersistentStore) Type() string
- func (p_ PersistentStore) URL() foundation.URL
- func (p_ PersistentStore) WillRemoveFromPersistentStoreCoordinator(coordinator IPersistentStoreCoordinator)
- type PersistentStoreAsynchronousFetchResultCompletionBlock
- type PersistentStoreAsynchronousResult
- func (p_ PersistentStoreAsynchronousResult) Cancel()
- func (p_ PersistentStoreAsynchronousResult) Init() PersistentStoreAsynchronousResult
- func (p_ PersistentStoreAsynchronousResult) ManagedObjectContext() ManagedObjectContext
- func (p_ PersistentStoreAsynchronousResult) OperationError() foundation.Error
- func (p_ PersistentStoreAsynchronousResult) Progress() foundation.Progress
- type PersistentStoreCoordinator
- func (p_ PersistentStoreCoordinator) AddPersistentStoreWithDescriptionCompletionHandler(storeDescription IPersistentStoreDescription, ...)
- func (p_ PersistentStoreCoordinator) AddPersistentStoreWithTypeConfigurationURLOptionsError(storeType string, configuration string, storeURL foundation.IURL, ...) PersistentStore
- func (p_ PersistentStoreCoordinator) CurrentPersistentHistoryTokenFromStores(stores []objc.IObject) PersistentHistoryToken
- func (p_ PersistentStoreCoordinator) ExecuteRequestWithContextError(request IPersistentStoreRequest, context IManagedObjectContext, ...) objc.Object
- func (p_ PersistentStoreCoordinator) Init() PersistentStoreCoordinator
- func (p_ PersistentStoreCoordinator) InitWithManagedObjectModel(model IManagedObjectModel) PersistentStoreCoordinator
- func (p_ PersistentStoreCoordinator) ManagedObjectIDForURIRepresentation(url foundation.IURL) ManagedObjectID
- func (p_ PersistentStoreCoordinator) ManagedObjectModel() ManagedObjectModel
- func (p_ PersistentStoreCoordinator) MetadataForPersistentStore(store IPersistentStore) map[string]objc.Object
- func (p_ PersistentStoreCoordinator) Name() string
- func (p_ PersistentStoreCoordinator) PerformBlock(block func())
- func (p_ PersistentStoreCoordinator) PerformBlockAndWait(block func())
- func (p_ PersistentStoreCoordinator) PersistentStoreForURL(URL foundation.IURL) PersistentStore
- func (p_ PersistentStoreCoordinator) PersistentStores() []PersistentStore
- func (p_ PersistentStoreCoordinator) RemovePersistentStoreError(store IPersistentStore, error unsafe.Pointer) bool
- func (p_ PersistentStoreCoordinator) SetMetadataForPersistentStore(metadata map[string]objc.IObject, store IPersistentStore)
- func (p_ PersistentStoreCoordinator) SetName(value string)
- func (p_ PersistentStoreCoordinator) SetURLForPersistentStore(url foundation.IURL, store IPersistentStore) bool
- func (p_ PersistentStoreCoordinator) URLForPersistentStore(store IPersistentStore) foundation.URL
- type PersistentStoreDescription
- func NewPersistentStoreDescription() PersistentStoreDescription
- func NewPersistentStoreDescriptionWithURL(url foundation.IURL) PersistentStoreDescription
- func PersistentStoreDescriptionFrom(ptr unsafe.Pointer) PersistentStoreDescription
- func PersistentStoreDescription_PersistentStoreDescriptionWithURL(URL foundation.IURL) PersistentStoreDescription
- func (p_ PersistentStoreDescription) CloudKitContainerOptions() PersistentCloudKitContainerOptions
- func (p_ PersistentStoreDescription) Configuration() string
- func (p_ PersistentStoreDescription) Init() PersistentStoreDescription
- func (p_ PersistentStoreDescription) InitWithURL(url foundation.IURL) PersistentStoreDescription
- func (p_ PersistentStoreDescription) IsReadOnly() bool
- func (p_ PersistentStoreDescription) Options() map[string]objc.Object
- func (p_ PersistentStoreDescription) SetCloudKitContainerOptions(value IPersistentCloudKitContainerOptions)
- func (p_ PersistentStoreDescription) SetConfiguration(value string)
- func (p_ PersistentStoreDescription) SetOptionForKey(option objc.IObject, key string)
- func (p_ PersistentStoreDescription) SetReadOnly(value bool)
- func (p_ PersistentStoreDescription) SetShouldAddStoreAsynchronously(value bool)
- func (p_ PersistentStoreDescription) SetShouldInferMappingModelAutomatically(value bool)
- func (p_ PersistentStoreDescription) SetShouldMigrateStoreAutomatically(value bool)
- func (p_ PersistentStoreDescription) SetTimeout(value foundation.TimeInterval)
- func (p_ PersistentStoreDescription) SetType(value string)
- func (p_ PersistentStoreDescription) SetURL(value foundation.IURL)
- func (p_ PersistentStoreDescription) SetValueForPragmaNamed(value objc.IObject, name string)
- func (p_ PersistentStoreDescription) ShouldAddStoreAsynchronously() bool
- func (p_ PersistentStoreDescription) ShouldInferMappingModelAutomatically() bool
- func (p_ PersistentStoreDescription) ShouldMigrateStoreAutomatically() bool
- func (p_ PersistentStoreDescription) SqlitePragmas() map[string]objc.Object
- func (p_ PersistentStoreDescription) Timeout() foundation.TimeInterval
- func (p_ PersistentStoreDescription) Type() string
- func (p_ PersistentStoreDescription) URL() foundation.URL
- type PersistentStoreRequest
- type PersistentStoreRequestType
- type PersistentStoreResult
- type PersistentStoreUbiquitousTransitionType
- type PropertyDescription
- func (p_ PropertyDescription) Entity() EntityDescription
- func (p_ PropertyDescription) Init() PropertyDescription
- func (p_ PropertyDescription) IsIndexedBySpotlight() bool
- func (p_ PropertyDescription) IsOptional() bool
- func (p_ PropertyDescription) IsTransient() bool
- func (p_ PropertyDescription) Name() string
- func (p_ PropertyDescription) RenamingIdentifier() string
- func (p_ PropertyDescription) SetIndexedBySpotlight(value bool)
- func (p_ PropertyDescription) SetName(value string)
- func (p_ PropertyDescription) SetOptional(value bool)
- func (p_ PropertyDescription) SetRenamingIdentifier(value string)
- func (p_ PropertyDescription) SetTransient(value bool)
- func (p_ PropertyDescription) SetUserInfo(value foundation.Dictionary)
- func (p_ PropertyDescription) SetValidationPredicatesWithValidationWarnings(validationPredicates []foundation.IPredicate, validationWarnings []string)
- func (p_ PropertyDescription) SetVersionHashModifier(value string)
- func (p_ PropertyDescription) UserInfo() foundation.Dictionary
- func (p_ PropertyDescription) ValidationPredicates() []foundation.Predicate
- func (p_ PropertyDescription) ValidationWarnings() []objc.Object
- func (p_ PropertyDescription) VersionHash() []byte
- func (p_ PropertyDescription) VersionHashModifier() string
- type PropertyMapping
- func (p_ PropertyMapping) Init() PropertyMapping
- func (p_ PropertyMapping) Name() string
- func (p_ PropertyMapping) SetName(value string)
- func (p_ PropertyMapping) SetUserInfo(value foundation.Dictionary)
- func (p_ PropertyMapping) SetValueExpression(value foundation.IExpression)
- func (p_ PropertyMapping) UserInfo() foundation.Dictionary
- func (p_ PropertyMapping) ValueExpression() foundation.Expression
- type QueryGenerationToken
- type RelationshipDescription
- func (r_ RelationshipDescription) DeleteRule() DeleteRule
- func (r_ RelationshipDescription) DestinationEntity() EntityDescription
- func (r_ RelationshipDescription) Init() RelationshipDescription
- func (r_ RelationshipDescription) InverseRelationship() RelationshipDescription
- func (r_ RelationshipDescription) IsOrdered() bool
- func (r_ RelationshipDescription) IsToMany() bool
- func (r_ RelationshipDescription) MaxCount() uint
- func (r_ RelationshipDescription) MinCount() uint
- func (r_ RelationshipDescription) SetDeleteRule(value DeleteRule)
- func (r_ RelationshipDescription) SetDestinationEntity(value IEntityDescription)
- func (r_ RelationshipDescription) SetInverseRelationship(value IRelationshipDescription)
- func (r_ RelationshipDescription) SetMaxCount(value uint)
- func (r_ RelationshipDescription) SetMinCount(value uint)
- func (r_ RelationshipDescription) SetOrdered(value bool)
- type SaveChangesRequest
- func (s_ SaveChangesRequest) DeletedObjects() foundation.Set
- func (s_ SaveChangesRequest) Init() SaveChangesRequest
- func (s_ SaveChangesRequest) InitWithInsertedObjectsUpdatedObjectsDeletedObjectsLockedObjects(insertedObjects foundation.ISet, updatedObjects foundation.ISet, ...) SaveChangesRequest
- func (s_ SaveChangesRequest) InsertedObjects() foundation.Set
- func (s_ SaveChangesRequest) LockedObjects() foundation.Set
- func (s_ SaveChangesRequest) UpdatedObjects() foundation.Set
- type SnapshotEventType
Constants ¶
This section is empty.
Variables ¶
var AsynchronousFetchRequestClass = _AsynchronousFetchRequestClass{objc.GetClass("NSAsynchronousFetchRequest")}
The class instance for the AsynchronousFetchRequest class.
var AsynchronousFetchResultClass = _AsynchronousFetchResultClass{objc.GetClass("NSAsynchronousFetchResult")}
The class instance for the AsynchronousFetchResult class.
var AtomicStoreCacheNodeClass = _AtomicStoreCacheNodeClass{objc.GetClass("NSAtomicStoreCacheNode")}
The class instance for the AtomicStoreCacheNode class.
var AtomicStoreClass = _AtomicStoreClass{objc.GetClass("NSAtomicStore")}
The class instance for the AtomicStore class.
var AttributeDescriptionClass = _AttributeDescriptionClass{objc.GetClass("NSAttributeDescription")}
The class instance for the AttributeDescription class.
var BatchDeleteRequestClass = _BatchDeleteRequestClass{objc.GetClass("NSBatchDeleteRequest")}
The class instance for the BatchDeleteRequest class.
var BatchDeleteResultClass = _BatchDeleteResultClass{objc.GetClass("NSBatchDeleteResult")}
The class instance for the BatchDeleteResult class.
var BatchInsertRequestClass = _BatchInsertRequestClass{objc.GetClass("NSBatchInsertRequest")}
The class instance for the BatchInsertRequest class.
var BatchInsertResultClass = _BatchInsertResultClass{objc.GetClass("NSBatchInsertResult")}
The class instance for the BatchInsertResult class.
var BatchUpdateRequestClass = _BatchUpdateRequestClass{objc.GetClass("NSBatchUpdateRequest")}
The class instance for the BatchUpdateRequest class.
var BatchUpdateResultClass = _BatchUpdateResultClass{objc.GetClass("NSBatchUpdateResult")}
The class instance for the BatchUpdateResult class.
var ConstraintConflictClass = _ConstraintConflictClass{objc.GetClass("NSConstraintConflict")}
The class instance for the ConstraintConflict class.
var CoreDataCoreSpotlightDelegateClass = _CoreDataCoreSpotlightDelegateClass{objc.GetClass("NSCoreDataCoreSpotlightDelegate")}
The class instance for the CoreDataCoreSpotlightDelegate class.
var DerivedAttributeDescriptionClass = _DerivedAttributeDescriptionClass{objc.GetClass("NSDerivedAttributeDescription")}
The class instance for the DerivedAttributeDescription class.
var EntityDescriptionClass = _EntityDescriptionClass{objc.GetClass("NSEntityDescription")}
The class instance for the EntityDescription class.
var EntityMappingClass = _EntityMappingClass{objc.GetClass("NSEntityMapping")}
The class instance for the EntityMapping class.
var EntityMigrationPolicyClass = _EntityMigrationPolicyClass{objc.GetClass("NSEntityMigrationPolicy")}
The class instance for the EntityMigrationPolicy class.
var ExpressionDescriptionClass = _ExpressionDescriptionClass{objc.GetClass("NSExpressionDescription")}
The class instance for the ExpressionDescription class.
var FetchIndexDescriptionClass = _FetchIndexDescriptionClass{objc.GetClass("NSFetchIndexDescription")}
The class instance for the FetchIndexDescription class.
var FetchIndexElementDescriptionClass = _FetchIndexElementDescriptionClass{objc.GetClass("NSFetchIndexElementDescription")}
The class instance for the FetchIndexElementDescription class.
var FetchRequestClass = _FetchRequestClass{objc.GetClass("NSFetchRequest")}
The class instance for the FetchRequest class.
var FetchRequestExpressionClass = _FetchRequestExpressionClass{objc.GetClass("NSFetchRequestExpression")}
The class instance for the FetchRequestExpression class.
var FetchedPropertyDescriptionClass = _FetchedPropertyDescriptionClass{objc.GetClass("NSFetchedPropertyDescription")}
The class instance for the FetchedPropertyDescription class.
var FetchedResultsControllerClass = _FetchedResultsControllerClass{objc.GetClass("NSFetchedResultsController")}
The class instance for the FetchedResultsController class.
var IncrementalStoreClass = _IncrementalStoreClass{objc.GetClass("NSIncrementalStore")}
The class instance for the IncrementalStore class.
var IncrementalStoreNodeClass = _IncrementalStoreNodeClass{objc.GetClass("NSIncrementalStoreNode")}
The class instance for the IncrementalStoreNode class.
var ManagedObjectClass = _ManagedObjectClass{objc.GetClass("NSManagedObject")}
The class instance for the ManagedObject class.
var ManagedObjectContextClass = _ManagedObjectContextClass{objc.GetClass("NSManagedObjectContext")}
The class instance for the ManagedObjectContext class.
var ManagedObjectIDClass = _ManagedObjectIDClass{objc.GetClass("NSManagedObjectID")}
The class instance for the ManagedObjectID class.
var ManagedObjectModelClass = _ManagedObjectModelClass{objc.GetClass("NSManagedObjectModel")}
The class instance for the ManagedObjectModel class.
var MappingModelClass = _MappingModelClass{objc.GetClass("NSMappingModel")}
The class instance for the MappingModel class.
var MergeConflictClass = _MergeConflictClass{objc.GetClass("NSMergeConflict")}
The class instance for the MergeConflict class.
var MergePolicyClass = _MergePolicyClass{objc.GetClass("NSMergePolicy")}
The class instance for the MergePolicy class.
var MigrationManagerClass = _MigrationManagerClass{objc.GetClass("NSMigrationManager")}
The class instance for the MigrationManager class.
var PersistentCloudKitContainerClass = _PersistentCloudKitContainerClass{objc.GetClass("NSPersistentCloudKitContainer")}
The class instance for the PersistentCloudKitContainer class.
var PersistentCloudKitContainerEventClass = _PersistentCloudKitContainerEventClass{objc.GetClass("NSPersistentCloudKitContainerEvent")}
The class instance for the PersistentCloudKitContainerEvent class.
var PersistentCloudKitContainerEventRequestClass = _PersistentCloudKitContainerEventRequestClass{objc.GetClass("NSPersistentCloudKitContainerEventRequest")}
The class instance for the PersistentCloudKitContainerEventRequest class.
var PersistentCloudKitContainerEventResultClass = _PersistentCloudKitContainerEventResultClass{objc.GetClass("NSPersistentCloudKitContainerEventResult")}
The class instance for the PersistentCloudKitContainerEventResult class.
var PersistentCloudKitContainerOptionsClass = _PersistentCloudKitContainerOptionsClass{objc.GetClass("NSPersistentCloudKitContainerOptions")}
The class instance for the PersistentCloudKitContainerOptions class.
var PersistentContainerClass = _PersistentContainerClass{objc.GetClass("NSPersistentContainer")}
The class instance for the PersistentContainer class.
var PersistentHistoryChangeClass = _PersistentHistoryChangeClass{objc.GetClass("NSPersistentHistoryChange")}
The class instance for the PersistentHistoryChange class.
var PersistentHistoryChangeRequestClass = _PersistentHistoryChangeRequestClass{objc.GetClass("NSPersistentHistoryChangeRequest")}
The class instance for the PersistentHistoryChangeRequest class.
var PersistentHistoryResultClass = _PersistentHistoryResultClass{objc.GetClass("NSPersistentHistoryResult")}
The class instance for the PersistentHistoryResult class.
var PersistentHistoryTokenClass = _PersistentHistoryTokenClass{objc.GetClass("NSPersistentHistoryToken")}
The class instance for the PersistentHistoryToken class.
var PersistentHistoryTransactionClass = _PersistentHistoryTransactionClass{objc.GetClass("NSPersistentHistoryTransaction")}
The class instance for the PersistentHistoryTransaction class.
var PersistentStoreAsynchronousResultClass = _PersistentStoreAsynchronousResultClass{objc.GetClass("NSPersistentStoreAsynchronousResult")}
The class instance for the PersistentStoreAsynchronousResult class.
var PersistentStoreClass = _PersistentStoreClass{objc.GetClass("NSPersistentStore")}
The class instance for the PersistentStore class.
var PersistentStoreCoordinatorClass = _PersistentStoreCoordinatorClass{objc.GetClass("NSPersistentStoreCoordinator")}
The class instance for the PersistentStoreCoordinator class.
var PersistentStoreDescriptionClass = _PersistentStoreDescriptionClass{objc.GetClass("NSPersistentStoreDescription")}
The class instance for the PersistentStoreDescription class.
var PersistentStoreRequestClass = _PersistentStoreRequestClass{objc.GetClass("NSPersistentStoreRequest")}
The class instance for the PersistentStoreRequest class.
var PersistentStoreResultClass = _PersistentStoreResultClass{objc.GetClass("NSPersistentStoreResult")}
The class instance for the PersistentStoreResult class.
var PropertyDescriptionClass = _PropertyDescriptionClass{objc.GetClass("NSPropertyDescription")}
The class instance for the PropertyDescription class.
var PropertyMappingClass = _PropertyMappingClass{objc.GetClass("NSPropertyMapping")}
The class instance for the PropertyMapping class.
var QueryGenerationTokenClass = _QueryGenerationTokenClass{objc.GetClass("NSQueryGenerationToken")}
The class instance for the QueryGenerationToken class.
var RelationshipDescriptionClass = _RelationshipDescriptionClass{objc.GetClass("NSRelationshipDescription")}
The class instance for the RelationshipDescription class.
var SaveChangesRequestClass = _SaveChangesRequestClass{objc.GetClass("NSSaveChangesRequest")}
The class instance for the SaveChangesRequest class.
Functions ¶
func FetchRequestExpression_ExpressionForFetchContextCountOnly ¶
func FetchRequestExpression_ExpressionForFetchContextCountOnly(fetch foundation.IExpression, context foundation.IExpression, countFlag bool) foundation.Expression
Returns an expression which will evaluate to the result of executing a fetch request on a context. Full Topic
func FetchedResultsController_DeleteCacheWithName ¶
func FetchedResultsController_DeleteCacheWithName(name string)
Deletes the cached section information with the given name. Full Topic
func IncrementalStore_IdentifierForNewStoreAtURL ¶
func IncrementalStore_IdentifierForNewStoreAtURL(storeURL foundation.IURL) objc.Object
Returns the identifier for the store at a given URL. Full Topic
func ManagedObjectContext_MergeChangesFromRemoteContextSaveIntoContexts ¶
func ManagedObjectContext_MergeChangesFromRemoteContextSaveIntoContexts(changeNotificationData foundation.Dictionary, contexts []IManagedObjectContext)
Handles changes from other processes or from a serialized state. Full Topic
func ManagedObject_ContextShouldIgnoreUnmodeledPropertyChanges ¶
func ManagedObject_ContextShouldIgnoreUnmodeledPropertyChanges() bool
A Boolean value that indicates whether to mark instances of the class as having changes when an unmodeled property changes. Full Topic
func PersistentContainer_DefaultDirectoryURL ¶
func PersistentContainer_DefaultDirectoryURL() foundation.URL
Returns the location of the directory that contains the persistent stores. Full Topic
func PersistentStoreCoordinator_MetadataForPersistentStoreOfTypeURLOptionsError ¶
func PersistentStoreCoordinator_MetadataForPersistentStoreOfTypeURLOptionsError(storeType string, url foundation.IURL, options foundation.Dictionary, error unsafe.Pointer) map[string]objc.Object
Returns the metadata of a specific type of persistent store at the provided location. Full Topic
func PersistentStoreCoordinator_RegisteredStoreTypes ¶
func PersistentStoreCoordinator_RegisteredStoreTypes() map[string]foundation.Value
The coordinator’s registered store types. Full Topic
func PersistentStoreCoordinator_SetMetadataForPersistentStoreOfTypeURLOptionsError ¶
func PersistentStoreCoordinator_SetMetadataForPersistentStoreOfTypeURLOptionsError(metadata map[string]objc.IObject, storeType string, url foundation.IURL, options foundation.Dictionary, error unsafe.Pointer) bool
Updates the metadata of a specific type of persistent store at the provided location. Full Topic
func PersistentStore_MetadataForPersistentStoreWithURLError ¶
func PersistentStore_MetadataForPersistentStoreWithURLError(url foundation.IURL, error unsafe.Pointer) map[string]objc.Object
Returns the metadata from the persistent store at the given URL. Full Topic
func PersistentStore_MigrationManagerClass ¶
Returns the migration manager class for this store class. Full Topic
func PersistentStore_SetMetadataForPersistentStoreWithURLError ¶
func PersistentStore_SetMetadataForPersistentStoreWithURLError(metadata map[string]objc.IObject, url foundation.IURL, error unsafe.Pointer) bool
Sets the metadata for the store at a given URL. Full Topic
Types ¶
type AsynchronousFetchRequest ¶
type AsynchronousFetchRequest struct {
PersistentStoreRequest
}
A fetch request that retrieves results asynchronously and supports progress notification. Full Topic
func AsynchronousFetchRequestFrom ¶
func AsynchronousFetchRequestFrom(ptr unsafe.Pointer) AsynchronousFetchRequest
func NewAsynchronousFetchRequest ¶
func NewAsynchronousFetchRequest() AsynchronousFetchRequest
func NewAsynchronousFetchRequestWithFetchRequestCompletionBlock ¶
func NewAsynchronousFetchRequestWithFetchRequestCompletionBlock(request IFetchRequest, blk func(arg0 AsynchronousFetchResult)) AsynchronousFetchRequest
Initializes a new asynchronous fetch request configured with the provided fetch request and completion block. Full Topic
func (AsynchronousFetchRequest) CompletionBlock ¶
func (a_ AsynchronousFetchRequest) CompletionBlock() PersistentStoreAsynchronousFetchResultCompletionBlock
The block that is executed when the fetch request has completed. Full Topic
func (AsynchronousFetchRequest) EstimatedResultCount ¶
func (a_ AsynchronousFetchRequest) EstimatedResultCount() int
A configuration parameter that assists Core Data with scheduling the asynchronous fetch request. Full Topic
func (AsynchronousFetchRequest) FetchRequest ¶
func (a_ AsynchronousFetchRequest) FetchRequest() FetchRequest
The underlying fetch request that is executed asynchronously. Full Topic
func (AsynchronousFetchRequest) Init ¶
func (a_ AsynchronousFetchRequest) Init() AsynchronousFetchRequest
func (AsynchronousFetchRequest) InitWithFetchRequestCompletionBlock ¶
func (a_ AsynchronousFetchRequest) InitWithFetchRequestCompletionBlock(request IFetchRequest, blk func(arg0 AsynchronousFetchResult)) AsynchronousFetchRequest
func (AsynchronousFetchRequest) SetEstimatedResultCount ¶
func (a_ AsynchronousFetchRequest) SetEstimatedResultCount(value int)
A configuration parameter that assists Core Data with scheduling the asynchronous fetch request. Full Topic
type AsynchronousFetchResult ¶
type AsynchronousFetchResult struct {
PersistentStoreAsynchronousResult
}
A fetch result object that encompasses the response from an executed asynchronous fetch request. Full Topic
func AsynchronousFetchResultFrom ¶
func AsynchronousFetchResultFrom(ptr unsafe.Pointer) AsynchronousFetchResult
func NewAsynchronousFetchResult ¶
func NewAsynchronousFetchResult() AsynchronousFetchResult
func (AsynchronousFetchResult) FetchRequest ¶
func (a_ AsynchronousFetchResult) FetchRequest() AsynchronousFetchRequest
The underlying fetch request that was executed. Full Topic
func (AsynchronousFetchResult) FinalResult ¶
func (a_ AsynchronousFetchResult) FinalResult() []objc.Object
The results that were received from the fetch request. Full Topic
func (AsynchronousFetchResult) Init ¶
func (a_ AsynchronousFetchResult) Init() AsynchronousFetchResult
type AtomicStore ¶
type AtomicStore struct {
PersistentStore
}
An abstract superclass that you subclass to create a Core Data atomic store. Full Topic
func AtomicStoreFrom ¶
func AtomicStoreFrom(ptr unsafe.Pointer) AtomicStore
func NewAtomicStore ¶
func NewAtomicStore() AtomicStore
func NewAtomicStoreWithPersistentStoreCoordinatorConfigurationNameURLOptions ¶
func NewAtomicStoreWithPersistentStoreCoordinatorConfigurationNameURLOptions(coordinator IPersistentStoreCoordinator, configurationName string, url foundation.IURL, options foundation.Dictionary) AtomicStore
Creates an atomic store at the specified location. Full Topic
func (AtomicStore) AddCacheNodes ¶
func (a_ AtomicStore) AddCacheNodes(cacheNodes foundation.ISet)
Registers a set of cache nodes with the receiver. Full Topic
func (AtomicStore) CacheNodeForObjectID ¶
func (a_ AtomicStore) CacheNodeForObjectID(objectID IManagedObjectID) AtomicStoreCacheNode
Returns the cache node for a given managed object ID. Full Topic
func (AtomicStore) CacheNodes ¶
func (a_ AtomicStore) CacheNodes() foundation.Set
Returns the set of cache nodes registered with the receiver. Full Topic
func (AtomicStore) Init ¶
func (a_ AtomicStore) Init() AtomicStore
func (AtomicStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions ¶
func (a_ AtomicStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(coordinator IPersistentStoreCoordinator, configurationName string, url foundation.IURL, options foundation.Dictionary) AtomicStore
func (AtomicStore) Load ¶
func (a_ AtomicStore) Load(error unsafe.Pointer) bool
Loads the cache nodes for the receiver. Full Topic
func (AtomicStore) NewCacheNodeForManagedObject ¶
func (a_ AtomicStore) NewCacheNodeForManagedObject(managedObject IManagedObject) AtomicStoreCacheNode
Returns a new cache node for a given managed object. Full Topic
func (AtomicStore) NewReferenceObjectForManagedObject ¶
func (a_ AtomicStore) NewReferenceObjectForManagedObject(managedObject IManagedObject) objc.Object
Returns a new reference object for a given managed object. Full Topic
func (AtomicStore) ObjectIDForEntityReferenceObject ¶
func (a_ AtomicStore) ObjectIDForEntityReferenceObject(entity IEntityDescription, data objc.IObject) ManagedObjectID
Returns a managed object ID from the reference data for a specified entity. Full Topic
func (AtomicStore) ReferenceObjectForObjectID ¶
func (a_ AtomicStore) ReferenceObjectForObjectID(objectID IManagedObjectID) objc.Object
Returns the reference object for a given managed object ID. Full Topic
func (AtomicStore) Save ¶
func (a_ AtomicStore) Save(error unsafe.Pointer) bool
Saves the cache nodes. Full Topic
func (AtomicStore) UpdateCacheNodeFromManagedObject ¶
func (a_ AtomicStore) UpdateCacheNodeFromManagedObject(node IAtomicStoreCacheNode, managedObject IManagedObject)
Updates the given cache node using the values in a given managed object. Full Topic
func (AtomicStore) WillRemoveCacheNodes ¶
func (a_ AtomicStore) WillRemoveCacheNodes(cacheNodes foundation.ISet)
Method invoked before the store removes the given collection of cache nodes. Full Topic
type AtomicStoreCacheNode ¶
A concrete class that you use to represent basic nodes in a Core Data atomic store. Full Topic
func AtomicStoreCacheNodeFrom ¶
func AtomicStoreCacheNodeFrom(ptr unsafe.Pointer) AtomicStoreCacheNode
func NewAtomicStoreCacheNode ¶
func NewAtomicStoreCacheNode() AtomicStoreCacheNode
func NewAtomicStoreCacheNodeWithObjectID ¶
func NewAtomicStoreCacheNodeWithObjectID(moid IManagedObjectID) AtomicStoreCacheNode
Returns a cache node for the given managed object ID. Full Topic
func (AtomicStoreCacheNode) Init ¶
func (a_ AtomicStoreCacheNode) Init() AtomicStoreCacheNode
func (AtomicStoreCacheNode) InitWithObjectID ¶
func (a_ AtomicStoreCacheNode) InitWithObjectID(moid IManagedObjectID) AtomicStoreCacheNode
func (AtomicStoreCacheNode) ObjectID ¶
func (a_ AtomicStoreCacheNode) ObjectID() ManagedObjectID
The managed object ID of the node. Full Topic
func (AtomicStoreCacheNode) PropertyCache ¶
func (a_ AtomicStoreCacheNode) PropertyCache() foundation.MutableDictionary
The property cache dictionary of the node. Full Topic
func (AtomicStoreCacheNode) SetPropertyCache ¶
func (a_ AtomicStoreCacheNode) SetPropertyCache(value foundation.IMutableDictionary)
The property cache dictionary of the node. Full Topic
func (AtomicStoreCacheNode) SetValueForKey ¶
func (a_ AtomicStoreCacheNode) SetValueForKey(value objc.IObject, key string)
Sets the value for the given key. Full Topic
func (AtomicStoreCacheNode) ValueForKey ¶
func (a_ AtomicStoreCacheNode) ValueForKey(key string) objc.Object
Returns the value for a given key. Full Topic
type AttributeDescription ¶
type AttributeDescription struct {
PropertyDescription
}
A description of a single attribute belonging to an entity. Full Topic
func AttributeDescriptionFrom ¶
func AttributeDescriptionFrom(ptr unsafe.Pointer) AttributeDescription
func NewAttributeDescription ¶
func NewAttributeDescription() AttributeDescription
func (AttributeDescription) AllowsCloudEncryption ¶
func (a_ AttributeDescription) AllowsCloudEncryption() bool
A Boolean value that determines whether to encrypt the attribute’s value. Full Topic
func (AttributeDescription) AllowsExternalBinaryDataStorage ¶
func (a_ AttributeDescription) AllowsExternalBinaryDataStorage() bool
A Boolean value that indicates whether the attribute allows external binary storage. Full Topic
func (AttributeDescription) AttributeType ¶
func (a_ AttributeDescription) AttributeType() AttributeType
The attribute’s type. Full Topic
func (AttributeDescription) AttributeValueClassName ¶
func (a_ AttributeDescription) AttributeValueClassName() string
The class name that represents the attribute’s value. Full Topic
func (AttributeDescription) DefaultValue ¶
func (a_ AttributeDescription) DefaultValue() objc.Object
The default value of the attribute. Full Topic
func (AttributeDescription) Init ¶
func (a_ AttributeDescription) Init() AttributeDescription
func (AttributeDescription) PreservesValueInHistoryOnDeletion ¶
func (a_ AttributeDescription) PreservesValueInHistoryOnDeletion() bool
A Boolean value that indicates whether the attribute records its value in the persistent history transaction for a managed object’s deletion. Full Topic
func (AttributeDescription) SetAllowsCloudEncryption ¶
func (a_ AttributeDescription) SetAllowsCloudEncryption(value bool)
A Boolean value that determines whether to encrypt the attribute’s value. Full Topic
func (AttributeDescription) SetAllowsExternalBinaryDataStorage ¶
func (a_ AttributeDescription) SetAllowsExternalBinaryDataStorage(value bool)
A Boolean value that indicates whether the attribute allows external binary storage. Full Topic
func (AttributeDescription) SetAttributeType ¶
func (a_ AttributeDescription) SetAttributeType(value AttributeType)
The attribute’s type. Full Topic
func (AttributeDescription) SetAttributeValueClassName ¶
func (a_ AttributeDescription) SetAttributeValueClassName(value string)
The class name that represents the attribute’s value. Full Topic
func (AttributeDescription) SetDefaultValue ¶
func (a_ AttributeDescription) SetDefaultValue(value objc.IObject)
The default value of the attribute. Full Topic
func (AttributeDescription) SetPreservesValueInHistoryOnDeletion ¶
func (a_ AttributeDescription) SetPreservesValueInHistoryOnDeletion(value bool)
A Boolean value that indicates whether the attribute records its value in the persistent history transaction for a managed object’s deletion. Full Topic
func (AttributeDescription) SetValueTransformerName ¶
func (a_ AttributeDescription) SetValueTransformerName(value string)
The name of the transformer to use for the attribute value. Full Topic
func (AttributeDescription) ValueTransformerName ¶
func (a_ AttributeDescription) ValueTransformerName() string
The name of the transformer to use for the attribute value. Full Topic
type AttributeType ¶
type AttributeType uint
The types of attribute that Core Data supports. Full Topic
const ( BinaryDataAttributeType AttributeType = 1000 BooleanAttributeType AttributeType = 800 DateAttributeType AttributeType = 900 DecimalAttributeType AttributeType = 400 DoubleAttributeType AttributeType = 500 FloatAttributeType AttributeType = 600 Integer16AttributeType AttributeType = 100 Integer32AttributeType AttributeType = 200 Integer64AttributeType AttributeType = 300 ObjectIDAttributeType AttributeType = 2000 StringAttributeType AttributeType = 700 TransformableAttributeType AttributeType = 1800 URIAttributeType AttributeType = 1200 UUIDAttributeType AttributeType = 1100 UndefinedAttributeType AttributeType = 0 )
type BatchDeleteRequest ¶
type BatchDeleteRequest struct {
PersistentStoreRequest
}
A request that deletes objects in the SQLite persistent store without loading them into memory. Full Topic
func BatchDeleteRequestFrom ¶
func BatchDeleteRequestFrom(ptr unsafe.Pointer) BatchDeleteRequest
func NewBatchDeleteRequest ¶
func NewBatchDeleteRequest() BatchDeleteRequest
func NewBatchDeleteRequestWithFetchRequest ¶
func NewBatchDeleteRequestWithFetchRequest(fetch IFetchRequest) BatchDeleteRequest
Creates a request that deletes the results of the specified fetch request. Full Topic
func NewBatchDeleteRequestWithObjectIDs ¶
func NewBatchDeleteRequestWithObjectIDs(objects []IManagedObjectID) BatchDeleteRequest
Creates a request that deletes the managed objects with the specified identifiers. Full Topic
func (BatchDeleteRequest) FetchRequest ¶
func (b_ BatchDeleteRequest) FetchRequest() FetchRequest
The fetch request that identifies the managed objects to delete. Full Topic
func (BatchDeleteRequest) Init ¶
func (b_ BatchDeleteRequest) Init() BatchDeleteRequest
func (BatchDeleteRequest) InitWithFetchRequest ¶
func (b_ BatchDeleteRequest) InitWithFetchRequest(fetch IFetchRequest) BatchDeleteRequest
func (BatchDeleteRequest) InitWithObjectIDs ¶
func (b_ BatchDeleteRequest) InitWithObjectIDs(objects []IManagedObjectID) BatchDeleteRequest
func (BatchDeleteRequest) ResultType ¶
func (b_ BatchDeleteRequest) ResultType() BatchDeleteRequestResultType
The type of result the request provides when it executes. Full Topic
func (BatchDeleteRequest) SetResultType ¶
func (b_ BatchDeleteRequest) SetResultType(value BatchDeleteRequestResultType)
The type of result the request provides when it executes. Full Topic
type BatchDeleteRequestResultType ¶
type BatchDeleteRequestResultType uint
The types of result a batch delete request can provide when it executes. Full Topic
const ( BatchDeleteResultTypeCount BatchDeleteRequestResultType = 2 BatchDeleteResultTypeObjectIDs BatchDeleteRequestResultType = 1 BatchDeleteResultTypeStatusOnly BatchDeleteRequestResultType = 0 )
type BatchDeleteResult ¶
type BatchDeleteResult struct {
PersistentStoreResult
}
An object that describes the result of a batch delete request. Full Topic
func BatchDeleteResultFrom ¶
func BatchDeleteResultFrom(ptr unsafe.Pointer) BatchDeleteResult
func NewBatchDeleteResult ¶
func NewBatchDeleteResult() BatchDeleteResult
func (BatchDeleteResult) Init ¶
func (b_ BatchDeleteResult) Init() BatchDeleteResult
func (BatchDeleteResult) Result ¶
func (b_ BatchDeleteResult) Result() objc.Object
The value the request returns after it executes. Full Topic
func (BatchDeleteResult) ResultType ¶
func (b_ BatchDeleteResult) ResultType() BatchDeleteRequestResultType
The data type of the request’s result value. Full Topic
type BatchInsertRequest ¶
type BatchInsertRequest struct {
PersistentStoreRequest
}
A request to insert a batch of data in a persistent store. Full Topic
func BatchInsertRequestFrom ¶
func BatchInsertRequestFrom(ptr unsafe.Pointer) BatchInsertRequest
func BatchInsertRequest_BatchInsertRequestWithEntityNameObjects ¶
func BatchInsertRequest_BatchInsertRequestWithEntityNameObjects(entityName string, dictionaries []map[string]objc.IObject) BatchInsertRequest
Creates a batch-insertion request for a named managed entity, and provides an array of data dictionaries for insertion. Full Topic
func NewBatchInsertRequest ¶
func NewBatchInsertRequest() BatchInsertRequest
func NewBatchInsertRequestWithEntityDictionaryHandler ¶
func NewBatchInsertRequestWithEntityDictionaryHandler(entity IEntityDescription, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
Creates a batch-insertion request for a managed entity, and specifies a closure that provides data dictionaries for insertion. Full Topic
func NewBatchInsertRequestWithEntityManagedObjectHandler ¶
func NewBatchInsertRequestWithEntityManagedObjectHandler(entity IEntityDescription, handler func(obj ManagedObject) bool) BatchInsertRequest
Creates a batch-insertion request for a managed entity, and specifies a closure that inserts data into the entity. Full Topic
func NewBatchInsertRequestWithEntityNameDictionaryHandler ¶
func NewBatchInsertRequestWithEntityNameDictionaryHandler(entityName string, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
Creates a batch-insertion request for a named managed entity, and specifies a closure that provides data dictionaries for insertion. Full Topic
func NewBatchInsertRequestWithEntityNameManagedObjectHandler ¶
func NewBatchInsertRequestWithEntityNameManagedObjectHandler(entityName string, handler func(obj ManagedObject) bool) BatchInsertRequest
Creates a batch-insertion request for a named managed entity, and specifies a closure that inserts data into the entity. Full Topic
func NewBatchInsertRequestWithEntityNameObjects ¶
func NewBatchInsertRequestWithEntityNameObjects(entityName string, dictionaries []map[string]objc.IObject) BatchInsertRequest
Creates a batch-insertion request for a named managed entity, and provides an array of data dictionaries for insertion. Full Topic
func NewBatchInsertRequestWithEntityObjects ¶
func NewBatchInsertRequestWithEntityObjects(entity IEntityDescription, dictionaries []map[string]objc.IObject) BatchInsertRequest
Creates a batch-insertion request for a managed entity, and provides an array of data dictionaries for insertion. Full Topic
func (BatchInsertRequest) DictionaryHandler ¶
func (b_ BatchInsertRequest) DictionaryHandler() func(obj foundation.MutableDictionary) bool
A closure that provides a dictionary for your app to insert data into. Full Topic
func (BatchInsertRequest) Entity ¶
func (b_ BatchInsertRequest) Entity() EntityDescription
The managed entity to insert data into. Full Topic
func (BatchInsertRequest) EntityName ¶
func (b_ BatchInsertRequest) EntityName() string
The name of the managed entity to insert data into. Full Topic
func (BatchInsertRequest) Init ¶
func (b_ BatchInsertRequest) Init() BatchInsertRequest
func (BatchInsertRequest) InitWithEntityDictionaryHandler ¶
func (b_ BatchInsertRequest) InitWithEntityDictionaryHandler(entity IEntityDescription, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
func (BatchInsertRequest) InitWithEntityManagedObjectHandler ¶
func (b_ BatchInsertRequest) InitWithEntityManagedObjectHandler(entity IEntityDescription, handler func(obj ManagedObject) bool) BatchInsertRequest
func (BatchInsertRequest) InitWithEntityNameDictionaryHandler ¶
func (b_ BatchInsertRequest) InitWithEntityNameDictionaryHandler(entityName string, handler func(obj foundation.MutableDictionary) bool) BatchInsertRequest
func (BatchInsertRequest) InitWithEntityNameManagedObjectHandler ¶
func (b_ BatchInsertRequest) InitWithEntityNameManagedObjectHandler(entityName string, handler func(obj ManagedObject) bool) BatchInsertRequest
func (BatchInsertRequest) InitWithEntityNameObjects ¶
func (b_ BatchInsertRequest) InitWithEntityNameObjects(entityName string, dictionaries []map[string]objc.IObject) BatchInsertRequest
func (BatchInsertRequest) InitWithEntityObjects ¶
func (b_ BatchInsertRequest) InitWithEntityObjects(entity IEntityDescription, dictionaries []map[string]objc.IObject) BatchInsertRequest
func (BatchInsertRequest) ManagedObjectHandler ¶
func (b_ BatchInsertRequest) ManagedObjectHandler() func(obj ManagedObject) bool
A closure that provides a managed object for your app to insert data into. Full Topic
func (BatchInsertRequest) ObjectsToInsert ¶
func (b_ BatchInsertRequest) ObjectsToInsert() []map[string]objc.Object
An array of dictionaries that represents the objects to insert with the keys as attribute names and their assigned values. Full Topic
func (BatchInsertRequest) ResultType ¶
func (b_ BatchInsertRequest) ResultType() BatchInsertRequestResultType
The type of result that Core Data returns from this request. Full Topic
func (BatchInsertRequest) SetDictionaryHandler ¶
func (b_ BatchInsertRequest) SetDictionaryHandler(value func(obj foundation.MutableDictionary) bool)
A closure that provides a dictionary for your app to insert data into. Full Topic
func (BatchInsertRequest) SetManagedObjectHandler ¶
func (b_ BatchInsertRequest) SetManagedObjectHandler(value func(obj ManagedObject) bool)
A closure that provides a managed object for your app to insert data into. Full Topic
func (BatchInsertRequest) SetObjectsToInsert ¶
func (b_ BatchInsertRequest) SetObjectsToInsert(value []map[string]objc.IObject)
An array of dictionaries that represents the objects to insert with the keys as attribute names and their assigned values. Full Topic
func (BatchInsertRequest) SetResultType ¶
func (b_ BatchInsertRequest) SetResultType(value BatchInsertRequestResultType)
The type of result that Core Data returns from this request. Full Topic
type BatchInsertRequestResultType ¶
type BatchInsertRequestResultType uint
Result types for a batch-insertion request. Full Topic
const ( BatchInsertRequestResultTypeCount BatchInsertRequestResultType = 2 BatchInsertRequestResultTypeObjectIDs BatchInsertRequestResultType = 1 BatchInsertRequestResultTypeStatusOnly BatchInsertRequestResultType = 0 )
type BatchInsertResult ¶
type BatchInsertResult struct {
PersistentStoreResult
}
The result that Core Data returns when executing a batch-insertion request. Full Topic
func BatchInsertResultFrom ¶
func BatchInsertResultFrom(ptr unsafe.Pointer) BatchInsertResult
func NewBatchInsertResult ¶
func NewBatchInsertResult() BatchInsertResult
func (BatchInsertResult) Init ¶
func (b_ BatchInsertResult) Init() BatchInsertResult
func (BatchInsertResult) Result ¶
func (b_ BatchInsertResult) Result() objc.Object
The result of a batch-insertion request. Full Topic
func (BatchInsertResult) ResultType ¶
func (b_ BatchInsertResult) ResultType() BatchInsertRequestResultType
The type of result that Core Data returns from this request. Full Topic
type BatchUpdateRequest ¶
type BatchUpdateRequest struct {
PersistentStoreRequest
}
A request to Core Data to do a batch update of data in a persistent store without loading any data into memory. Full Topic
func BatchUpdateRequestFrom ¶
func BatchUpdateRequestFrom(ptr unsafe.Pointer) BatchUpdateRequest
func BatchUpdateRequest_BatchUpdateRequestWithEntityName ¶
func BatchUpdateRequest_BatchUpdateRequestWithEntityName(entityName string) BatchUpdateRequest
Creates a batch-update request for a named managed entity. Full Topic
func NewBatchUpdateRequest ¶
func NewBatchUpdateRequest() BatchUpdateRequest
func NewBatchUpdateRequestWithEntity ¶
func NewBatchUpdateRequestWithEntity(entity IEntityDescription) BatchUpdateRequest
Creates a batch-update request for a managed entity. Full Topic
func NewBatchUpdateRequestWithEntityName ¶
func NewBatchUpdateRequestWithEntityName(entityName string) BatchUpdateRequest
Creates a batch-update request for a named managed entity. Full Topic
func (BatchUpdateRequest) Entity ¶
func (b_ BatchUpdateRequest) Entity() EntityDescription
The managed entity to update data for. Full Topic
func (BatchUpdateRequest) EntityName ¶
func (b_ BatchUpdateRequest) EntityName() string
The name of the managed entity to update data for. Full Topic
func (BatchUpdateRequest) IncludesSubentities ¶
func (b_ BatchUpdateRequest) IncludesSubentities() bool
A Boolean value that indicates whether to update subentities. Full Topic
func (BatchUpdateRequest) Init ¶
func (b_ BatchUpdateRequest) Init() BatchUpdateRequest
func (BatchUpdateRequest) InitWithEntity ¶
func (b_ BatchUpdateRequest) InitWithEntity(entity IEntityDescription) BatchUpdateRequest
func (BatchUpdateRequest) InitWithEntityName ¶
func (b_ BatchUpdateRequest) InitWithEntityName(entityName string) BatchUpdateRequest
func (BatchUpdateRequest) Predicate ¶
func (b_ BatchUpdateRequest) Predicate() foundation.Predicate
A predicate that identifies the objects to update. Full Topic
func (BatchUpdateRequest) PropertiesToUpdate ¶
func (b_ BatchUpdateRequest) PropertiesToUpdate() foundation.Dictionary
A dictionary of property description pairs that describe the updates. Full Topic
func (BatchUpdateRequest) ResultType ¶
func (b_ BatchUpdateRequest) ResultType() BatchUpdateRequestResultType
The type of result that Core Data returns from the request. Full Topic
func (BatchUpdateRequest) SetIncludesSubentities ¶
func (b_ BatchUpdateRequest) SetIncludesSubentities(value bool)
A Boolean value that indicates whether to update subentities. Full Topic
func (BatchUpdateRequest) SetPredicate ¶
func (b_ BatchUpdateRequest) SetPredicate(value foundation.IPredicate)
A predicate that identifies the objects to update. Full Topic
func (BatchUpdateRequest) SetPropertiesToUpdate ¶
func (b_ BatchUpdateRequest) SetPropertiesToUpdate(value foundation.Dictionary)
A dictionary of property description pairs that describe the updates. Full Topic
func (BatchUpdateRequest) SetResultType ¶
func (b_ BatchUpdateRequest) SetResultType(value BatchUpdateRequestResultType)
The type of result that Core Data returns from the request. Full Topic
type BatchUpdateRequestResultType ¶
type BatchUpdateRequestResultType uint
Result types for a batch-update request. Full Topic
const ( StatusOnlyResultType BatchUpdateRequestResultType = 0 UpdatedObjectIDsResultType BatchUpdateRequestResultType = 1 UpdatedObjectsCountResultType BatchUpdateRequestResultType = 2 )
type BatchUpdateResult ¶
type BatchUpdateResult struct {
PersistentStoreResult
}
The result returned when executing a batch update request. Full Topic
func BatchUpdateResultFrom ¶
func BatchUpdateResultFrom(ptr unsafe.Pointer) BatchUpdateResult
func NewBatchUpdateResult ¶
func NewBatchUpdateResult() BatchUpdateResult
func (BatchUpdateResult) Init ¶
func (b_ BatchUpdateResult) Init() BatchUpdateResult
func (BatchUpdateResult) Result ¶
func (b_ BatchUpdateResult) Result() objc.Object
The result of a batch-update request, either the number of updated objects, the identifiers of the updated objects, or a status value. Full Topic
func (BatchUpdateResult) ResultType ¶
func (b_ BatchUpdateResult) ResultType() BatchUpdateRequestResultType
The type of result that Core Data returns from the request. Full Topic
type ConstraintConflict ¶
An encapsulation of conflicts that occur during an attempt to save a managed object. Full Topic
func ConstraintConflictFrom ¶
func ConstraintConflictFrom(ptr unsafe.Pointer) ConstraintConflict
func NewConstraintConflict ¶
func NewConstraintConflict() ConstraintConflict
func NewConstraintConflictWithConstraintDatabaseObjectDatabaseSnapshotConflictingObjectsConflictingSnapshots ¶
func NewConstraintConflictWithConstraintDatabaseObjectDatabaseSnapshotConflictingObjectsConflictingSnapshots(contraint []string, databaseObject IManagedObject, databaseSnapshot foundation.Dictionary, conflictingObjects []IManagedObject, conflictingSnapshots []objc.IObject) ConstraintConflict
Initializes a constraint conflict. Full Topic
func (ConstraintConflict) ConflictingObjects ¶
func (c_ ConstraintConflict) ConflictingObjects() []ManagedObject
The managed objects that are in conflict. Full Topic
func (ConstraintConflict) ConflictingSnapshots ¶
func (c_ ConstraintConflict) ConflictingSnapshots() []foundation.Dictionary
The original property values of objects in violation of the constraint. Full Topic
func (ConstraintConflict) Constraint ¶
func (c_ ConstraintConflict) Constraint() []string
The constraint that has been violated. Full Topic
func (ConstraintConflict) ConstraintValues ¶
func (c_ ConstraintConflict) ConstraintValues() map[string]objc.Object
The values that the conflicting objects had when the conflict was created. Full Topic
func (ConstraintConflict) DatabaseObject ¶
func (c_ ConstraintConflict) DatabaseObject() ManagedObject
The object whose database row is using constraint values. Full Topic
func (ConstraintConflict) DatabaseSnapshot ¶
func (c_ ConstraintConflict) DatabaseSnapshot() map[string]objc.Object
The values currently stored in the database. Full Topic
func (ConstraintConflict) Init ¶
func (c_ ConstraintConflict) Init() ConstraintConflict
func (ConstraintConflict) InitWithConstraintDatabaseObjectDatabaseSnapshotConflictingObjectsConflictingSnapshots ¶
func (c_ ConstraintConflict) InitWithConstraintDatabaseObjectDatabaseSnapshotConflictingObjectsConflictingSnapshots(contraint []string, databaseObject IManagedObject, databaseSnapshot foundation.Dictionary, conflictingObjects []IManagedObject, conflictingSnapshots []objc.IObject) ConstraintConflict
type CoreDataCoreSpotlightDelegate ¶
A set of methods that enable integration with Core Spotlight. Full Topic
func CoreDataCoreSpotlightDelegateFrom ¶
func CoreDataCoreSpotlightDelegateFrom(ptr unsafe.Pointer) CoreDataCoreSpotlightDelegate
func NewCoreDataCoreSpotlightDelegate ¶
func NewCoreDataCoreSpotlightDelegate() CoreDataCoreSpotlightDelegate
func NewCoreDataCoreSpotlightDelegateForStoreWithDescriptionCoordinator ¶
func NewCoreDataCoreSpotlightDelegateForStoreWithDescriptionCoordinator(description IPersistentStoreDescription, psc IPersistentStoreCoordinator) CoreDataCoreSpotlightDelegate
Creates a Core Spotlight delegate with the specified store description and coordinator. Full Topic
func (CoreDataCoreSpotlightDelegate) AttributeSetForObject ¶
func (c_ CoreDataCoreSpotlightDelegate) AttributeSetForObject(object IManagedObject) objc.Object
Returns the searchable attributes for the specified managed object. Full Topic
func (CoreDataCoreSpotlightDelegate) DeleteSpotlightIndexWithCompletionHandler ¶
func (c_ CoreDataCoreSpotlightDelegate) DeleteSpotlightIndexWithCompletionHandler(completionHandler func(error foundation.Error))
Deletes all searchable items from the configured index. Full Topic
func (CoreDataCoreSpotlightDelegate) DomainIdentifier ¶
func (c_ CoreDataCoreSpotlightDelegate) DomainIdentifier() string
Returns the domain identifier. Full Topic
func (CoreDataCoreSpotlightDelegate) IndexName ¶
func (c_ CoreDataCoreSpotlightDelegate) IndexName() string
Returns the index’s name. Full Topic
func (CoreDataCoreSpotlightDelegate) Init ¶
func (c_ CoreDataCoreSpotlightDelegate) Init() CoreDataCoreSpotlightDelegate
func (CoreDataCoreSpotlightDelegate) InitForStoreWithDescriptionCoordinator ¶
func (c_ CoreDataCoreSpotlightDelegate) InitForStoreWithDescriptionCoordinator(description IPersistentStoreDescription, psc IPersistentStoreCoordinator) CoreDataCoreSpotlightDelegate
func (CoreDataCoreSpotlightDelegate) IsIndexingEnabled ¶
func (c_ CoreDataCoreSpotlightDelegate) IsIndexingEnabled() bool
A Boolean value that indicates whether Core Data is currently updating the Core Spotlight index with the persistent store’s entities. Full Topic
func (CoreDataCoreSpotlightDelegate) SearchableIndexReindexAllSearchableItemsWithAcknowledgementHandler ¶
func (c_ CoreDataCoreSpotlightDelegate) SearchableIndexReindexAllSearchableItemsWithAcknowledgementHandler(searchableIndex objc.IObject, acknowledgementHandler func())
Reindexes all searchable items and clears any local state. Full Topic
func (CoreDataCoreSpotlightDelegate) SearchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler ¶
func (c_ CoreDataCoreSpotlightDelegate) SearchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler(searchableIndex objc.IObject, identifiers []string, acknowledgementHandler func())
Reindexes the searchable items for the specified identifiers. Full Topic
func (CoreDataCoreSpotlightDelegate) StartSpotlightIndexing ¶
func (c_ CoreDataCoreSpotlightDelegate) StartSpotlightIndexing()
Starts the indexing of the store’s entities. Full Topic
func (CoreDataCoreSpotlightDelegate) StopSpotlightIndexing ¶
func (c_ CoreDataCoreSpotlightDelegate) StopSpotlightIndexing()
Stops the indexing of the store’s entities. Full Topic
type DeleteRule ¶
type DeleteRule uint
Constants that determine what happens when you delete a relationship’s owning managed object. Full Topic
const ( CascadeDeleteRule DeleteRule = 2 DenyDeleteRule DeleteRule = 3 NoActionDeleteRule DeleteRule = 0 NullifyDeleteRule DeleteRule = 1 )
type DerivedAttributeDescription ¶
type DerivedAttributeDescription struct {
AttributeDescription
}
A description of an attribute that derives its value by performing a calculation on a related attribute. Full Topic
func DerivedAttributeDescriptionFrom ¶
func DerivedAttributeDescriptionFrom(ptr unsafe.Pointer) DerivedAttributeDescription
func NewDerivedAttributeDescription ¶
func NewDerivedAttributeDescription() DerivedAttributeDescription
func (DerivedAttributeDescription) DerivationExpression ¶
func (d_ DerivedAttributeDescription) DerivationExpression() foundation.Expression
An expression for generating derived data. Full Topic
func (DerivedAttributeDescription) Init ¶
func (d_ DerivedAttributeDescription) Init() DerivedAttributeDescription
func (DerivedAttributeDescription) SetDerivationExpression ¶
func (d_ DerivedAttributeDescription) SetDerivationExpression(value foundation.IExpression)
An expression for generating derived data. Full Topic
type EntityDescription ¶
A description of a Core Data entity. Full Topic
func EntityDescriptionFrom ¶
func EntityDescriptionFrom(ptr unsafe.Pointer) EntityDescription
func EntityDescription_EntityForNameInManagedObjectContext ¶
func EntityDescription_EntityForNameInManagedObjectContext(entityName string, context IManagedObjectContext) EntityDescription
Returns the entity with the specified name from the managed object model associated with the specified managed object context’s persistent store coordinator. Full Topic
func ManagedObject_Entity ¶
func ManagedObject_Entity() EntityDescription
Returns the entity description that is associated with this subclass. Full Topic
func NewEntityDescription ¶
func NewEntityDescription() EntityDescription
func PersistentHistoryChange_EntityDescription ¶
func PersistentHistoryChange_EntityDescription() EntityDescription
The entity description of the persistent history change entity. Full Topic
func PersistentHistoryChange_EntityDescriptionWithContext ¶
func PersistentHistoryChange_EntityDescriptionWithContext(context IManagedObjectContext) EntityDescription
Requests an entity description for the managed object type affected by the change using the provided context. Full Topic
func PersistentHistoryTransaction_EntityDescription ¶
func PersistentHistoryTransaction_EntityDescription() EntityDescription
The entity description of the persistent history transaction entity. Full Topic
func PersistentHistoryTransaction_EntityDescriptionWithContext ¶
func PersistentHistoryTransaction_EntityDescriptionWithContext(context IManagedObjectContext) EntityDescription
Requests an entity description using the provided context for the managed object type affected by the transaction. Full Topic
func (EntityDescription) AttributesByName ¶
func (e_ EntityDescription) AttributesByName() map[string]AttributeDescription
The attributes of the receiver in a dictionary. Full Topic
func (EntityDescription) CoreSpotlightDisplayNameExpression ¶
func (e_ EntityDescription) CoreSpotlightDisplayNameExpression() foundation.Expression
The expression that computes the CoreSpotlight display name for instances of the entity. Full Topic
func (EntityDescription) Indexes ¶
func (e_ EntityDescription) Indexes() []FetchIndexDescription
An array of fetch index descriptions for the entity. Full Topic
func (EntityDescription) Init ¶
func (e_ EntityDescription) Init() EntityDescription
func (EntityDescription) IsAbstract ¶
func (e_ EntityDescription) IsAbstract() bool
A Boolean value that indicates whether the receiver represents an abstract entity. Full Topic
func (EntityDescription) IsKindOfEntity ¶
func (e_ EntityDescription) IsKindOfEntity(entity IEntityDescription) bool
Returns a Boolean value that indicates whether the receiver is a sub-entity of another given entity. Full Topic
func (EntityDescription) ManagedObjectClassName ¶
func (e_ EntityDescription) ManagedObjectClassName() string
The name of the class that represents the receiver’s entity. Full Topic
func (EntityDescription) ManagedObjectModel ¶
func (e_ EntityDescription) ManagedObjectModel() ManagedObjectModel
The managed object model with which the receiver is associated. Full Topic
func (EntityDescription) Name ¶
func (e_ EntityDescription) Name() string
The entity name of the receiver. Full Topic
func (EntityDescription) Properties ¶
func (e_ EntityDescription) Properties() []PropertyDescription
An array containing the properties of the receiver. Full Topic
func (EntityDescription) PropertiesByName ¶
func (e_ EntityDescription) PropertiesByName() map[string]PropertyDescription
A dictionary containing the properties of the receiver. Full Topic
func (EntityDescription) RelationshipsByName ¶
func (e_ EntityDescription) RelationshipsByName() map[string]RelationshipDescription
The relationships of the receiver in a dictionary. Full Topic
func (EntityDescription) RelationshipsWithDestinationEntity ¶
func (e_ EntityDescription) RelationshipsWithDestinationEntity(entity IEntityDescription) []RelationshipDescription
Returns an array containing the relationships of the receiver where the entity description of the relationship is a given entity. Full Topic
func (EntityDescription) RenamingIdentifier ¶
func (e_ EntityDescription) RenamingIdentifier() string
The renaming identifier for the receiver. Full Topic
func (EntityDescription) SetAbstract ¶
func (e_ EntityDescription) SetAbstract(value bool)
A Boolean value that indicates whether the receiver represents an abstract entity. Full Topic
func (EntityDescription) SetCoreSpotlightDisplayNameExpression ¶
func (e_ EntityDescription) SetCoreSpotlightDisplayNameExpression(value foundation.IExpression)
The expression that computes the CoreSpotlight display name for instances of the entity. Full Topic
func (EntityDescription) SetIndexes ¶
func (e_ EntityDescription) SetIndexes(value []IFetchIndexDescription)
An array of fetch index descriptions for the entity. Full Topic
func (EntityDescription) SetManagedObjectClassName ¶
func (e_ EntityDescription) SetManagedObjectClassName(value string)
The name of the class that represents the receiver’s entity. Full Topic
func (EntityDescription) SetName ¶
func (e_ EntityDescription) SetName(value string)
The entity name of the receiver. Full Topic
func (EntityDescription) SetProperties ¶
func (e_ EntityDescription) SetProperties(value []IPropertyDescription)
An array containing the properties of the receiver. Full Topic
func (EntityDescription) SetRenamingIdentifier ¶
func (e_ EntityDescription) SetRenamingIdentifier(value string)
The renaming identifier for the receiver. Full Topic
func (EntityDescription) SetSubentities ¶
func (e_ EntityDescription) SetSubentities(value []IEntityDescription)
An array containing the sub-entities of the receiver. Full Topic
func (EntityDescription) SetUniquenessConstraints ¶
func (e_ EntityDescription) SetUniquenessConstraints(value [][]objc.IObject)
An array of arrays that contains one or more attributes with a value that must be unique over the instances of that entity. Full Topic
func (EntityDescription) SetUserInfo ¶
func (e_ EntityDescription) SetUserInfo(value foundation.Dictionary)
The user info dictionary of the receiver. Full Topic
func (EntityDescription) SetVersionHashModifier ¶
func (e_ EntityDescription) SetVersionHashModifier(value string)
The version hash modifier for the receiver. Full Topic
func (EntityDescription) Subentities ¶
func (e_ EntityDescription) Subentities() []EntityDescription
An array containing the sub-entities of the receiver. Full Topic
func (EntityDescription) SubentitiesByName ¶
func (e_ EntityDescription) SubentitiesByName() map[string]EntityDescription
A dictionary containing the receiver’s sub-entities. Full Topic
func (EntityDescription) Superentity ¶
func (e_ EntityDescription) Superentity() EntityDescription
The super-entity of the receiver. Full Topic
func (EntityDescription) UniquenessConstraints ¶
func (e_ EntityDescription) UniquenessConstraints() [][]objc.Object
An array of arrays that contains one or more attributes with a value that must be unique over the instances of that entity. Full Topic
func (EntityDescription) UserInfo ¶
func (e_ EntityDescription) UserInfo() foundation.Dictionary
The user info dictionary of the receiver. Full Topic
func (EntityDescription) VersionHash ¶
func (e_ EntityDescription) VersionHash() []byte
The version hash for the receiver. Full Topic
func (EntityDescription) VersionHashModifier ¶
func (e_ EntityDescription) VersionHashModifier() string
The version hash modifier for the receiver. Full Topic
type EntityMapping ¶
A mapping instance that specifies how to map an entity from a source to a destination managed object model. Full Topic
func EntityMappingFrom ¶
func EntityMappingFrom(ptr unsafe.Pointer) EntityMapping
func NewEntityMapping ¶
func NewEntityMapping() EntityMapping
func (EntityMapping) AttributeMappings ¶
func (e_ EntityMapping) AttributeMappings() []PropertyMapping
The array of attribute mappings for the entity mapping. Full Topic
func (EntityMapping) DestinationEntityName ¶
func (e_ EntityMapping) DestinationEntityName() string
The destination entity name for the entity mapping. Full Topic
func (EntityMapping) DestinationEntityVersionHash ¶
func (e_ EntityMapping) DestinationEntityVersionHash() []byte
The version hash for the destination entity for the entity mapping. Full Topic
func (EntityMapping) EntityMigrationPolicyClassName ¶
func (e_ EntityMapping) EntityMigrationPolicyClassName() string
The class name of the migration policy for the entity mapping. Full Topic
func (EntityMapping) Init ¶
func (e_ EntityMapping) Init() EntityMapping
func (EntityMapping) MappingType ¶
func (e_ EntityMapping) MappingType() EntityMappingType
The mapping type for the entity mapping. Full Topic
func (EntityMapping) Name ¶
func (e_ EntityMapping) Name() string
The name of the entity mapping. Full Topic
func (EntityMapping) RelationshipMappings ¶
func (e_ EntityMapping) RelationshipMappings() []PropertyMapping
The array of relationship mappings for the entity mapping. Full Topic
func (EntityMapping) SetAttributeMappings ¶
func (e_ EntityMapping) SetAttributeMappings(value []IPropertyMapping)
The array of attribute mappings for the entity mapping. Full Topic
func (EntityMapping) SetDestinationEntityName ¶
func (e_ EntityMapping) SetDestinationEntityName(value string)
The destination entity name for the entity mapping. Full Topic
func (EntityMapping) SetDestinationEntityVersionHash ¶
func (e_ EntityMapping) SetDestinationEntityVersionHash(value []byte)
The version hash for the destination entity for the entity mapping. Full Topic
func (EntityMapping) SetEntityMigrationPolicyClassName ¶
func (e_ EntityMapping) SetEntityMigrationPolicyClassName(value string)
The class name of the migration policy for the entity mapping. Full Topic
func (EntityMapping) SetMappingType ¶
func (e_ EntityMapping) SetMappingType(value EntityMappingType)
The mapping type for the entity mapping. Full Topic
func (EntityMapping) SetName ¶
func (e_ EntityMapping) SetName(value string)
The name of the entity mapping. Full Topic
func (EntityMapping) SetRelationshipMappings ¶
func (e_ EntityMapping) SetRelationshipMappings(value []IPropertyMapping)
The array of relationship mappings for the entity mapping. Full Topic
func (EntityMapping) SetSourceEntityName ¶
func (e_ EntityMapping) SetSourceEntityName(value string)
The source entity name for the entity mapping. Full Topic
func (EntityMapping) SetSourceEntityVersionHash ¶
func (e_ EntityMapping) SetSourceEntityVersionHash(value []byte)
The version hash of the source entity for the entity mapping. Full Topic
func (EntityMapping) SetSourceExpression ¶
func (e_ EntityMapping) SetSourceExpression(value foundation.IExpression)
The source expression for the entity mapping. Full Topic
func (EntityMapping) SetUserInfo ¶
func (e_ EntityMapping) SetUserInfo(value foundation.Dictionary)
The user info dictionary for the entity mapping. Full Topic
func (EntityMapping) SourceEntityName ¶
func (e_ EntityMapping) SourceEntityName() string
The source entity name for the entity mapping. Full Topic
func (EntityMapping) SourceEntityVersionHash ¶
func (e_ EntityMapping) SourceEntityVersionHash() []byte
The version hash of the source entity for the entity mapping. Full Topic
func (EntityMapping) SourceExpression ¶
func (e_ EntityMapping) SourceExpression() foundation.Expression
The source expression for the entity mapping. Full Topic
func (EntityMapping) UserInfo ¶
func (e_ EntityMapping) UserInfo() foundation.Dictionary
The user info dictionary for the entity mapping. Full Topic
type EntityMappingType ¶
type EntityMappingType uint
The types for mapping an entity between a source model and a destination model. Full Topic
const ( AddEntityMappingType EntityMappingType = 2 CopyEntityMappingType EntityMappingType = 4 CustomEntityMappingType EntityMappingType = 1 RemoveEntityMappingType EntityMappingType = 3 TransformEntityMappingType EntityMappingType = 5 UndefinedEntityMappingType EntityMappingType = 0 )
type EntityMigrationPolicy ¶
A policy instance that customizes the migration process for an entity mapping. Full Topic
func EntityMigrationPolicyFrom ¶
func EntityMigrationPolicyFrom(ptr unsafe.Pointer) EntityMigrationPolicy
func NewEntityMigrationPolicy ¶
func NewEntityMigrationPolicy() EntityMigrationPolicy
func (EntityMigrationPolicy) BeginEntityMappingManagerError ¶
func (e_ EntityMigrationPolicy) BeginEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
Sets up state information before the start of a given entity mapping. Full Topic
func (EntityMigrationPolicy) CreateDestinationInstancesForSourceInstanceEntityMappingManagerError ¶
func (e_ EntityMigrationPolicy) CreateDestinationInstancesForSourceInstanceEntityMappingManagerError(sInstance IManagedObject, mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
Creates the destination instance(s) for a given source instance. Full Topic
func (EntityMigrationPolicy) CreateRelationshipsForDestinationInstanceEntityMappingManagerError ¶
func (e_ EntityMigrationPolicy) CreateRelationshipsForDestinationInstanceEntityMappingManagerError(dInstance IManagedObject, mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
Constructs the relationships between the newly-created destination instances. Full Topic
func (EntityMigrationPolicy) EndEntityMappingManagerError ¶
func (e_ EntityMigrationPolicy) EndEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
Performs cleanup at the end of the migration, from any phase of the mapping. Full Topic
func (EntityMigrationPolicy) EndInstanceCreationForEntityMappingManagerError ¶
func (e_ EntityMigrationPolicy) EndInstanceCreationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
Indicates the end of the instance creation stage for the specified entity mapping, and the precursor to the next migration stage. Full Topic
func (EntityMigrationPolicy) EndRelationshipCreationForEntityMappingManagerError ¶
func (e_ EntityMigrationPolicy) EndRelationshipCreationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
Indicates the end of the relationship creation stage for the specified entity mapping. Full Topic
func (EntityMigrationPolicy) Init ¶
func (e_ EntityMigrationPolicy) Init() EntityMigrationPolicy
func (EntityMigrationPolicy) PerformCustomValidationForEntityMappingManagerError ¶
func (e_ EntityMigrationPolicy) PerformCustomValidationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool
Provides the option to perform custom validation on migrated objects during the validation stage of the entity migration policy. Full Topic
type ExpressionDescription ¶
type ExpressionDescription struct {
PropertyDescription
}
An object that describes an expression to include with a fetch request. Full Topic
func ExpressionDescriptionFrom ¶
func ExpressionDescriptionFrom(ptr unsafe.Pointer) ExpressionDescription
func NewExpressionDescription ¶
func NewExpressionDescription() ExpressionDescription
func (ExpressionDescription) Expression ¶
func (e_ ExpressionDescription) Expression() foundation.Expression
The expression to evaluate. Full Topic
func (ExpressionDescription) ExpressionResultType ¶
func (e_ ExpressionDescription) ExpressionResultType() AttributeType
The attribute type of the expression’s result. Full Topic
func (ExpressionDescription) Init ¶
func (e_ ExpressionDescription) Init() ExpressionDescription
func (ExpressionDescription) SetExpression ¶
func (e_ ExpressionDescription) SetExpression(value foundation.IExpression)
The expression to evaluate. Full Topic
func (ExpressionDescription) SetExpressionResultType ¶
func (e_ ExpressionDescription) SetExpressionResultType(value AttributeType)
The attribute type of the expression’s result. Full Topic
type FetchIndexDescription ¶
The description of the index. Full Topic
func FetchIndexDescriptionFrom ¶
func FetchIndexDescriptionFrom(ptr unsafe.Pointer) FetchIndexDescription
func NewFetchIndexDescription ¶
func NewFetchIndexDescription() FetchIndexDescription
func NewFetchIndexDescriptionWithNameElements ¶
func NewFetchIndexDescriptionWithNameElements(name string, elements []IFetchIndexElementDescription) FetchIndexDescription
Creates a fetch index description using the specified name and element descriptions. Full Topic
func (FetchIndexDescription) Elements ¶
func (f_ FetchIndexDescription) Elements() []FetchIndexElementDescription
An array of fetch index element descriptions. Full Topic
func (FetchIndexDescription) Entity ¶
func (f_ FetchIndexDescription) Entity() EntityDescription
The entity description for the fetch index description. Full Topic
func (FetchIndexDescription) Init ¶
func (f_ FetchIndexDescription) Init() FetchIndexDescription
func (FetchIndexDescription) InitWithNameElements ¶
func (f_ FetchIndexDescription) InitWithNameElements(name string, elements []IFetchIndexElementDescription) FetchIndexDescription
func (FetchIndexDescription) Name ¶
func (f_ FetchIndexDescription) Name() string
The name of the fetch index description. Full Topic
func (FetchIndexDescription) PartialIndexPredicate ¶
func (f_ FetchIndexDescription) PartialIndexPredicate() foundation.Predicate
A predicate that selects rows for indexing, if the index is a partial index. Full Topic
func (FetchIndexDescription) SetElements ¶
func (f_ FetchIndexDescription) SetElements(value []IFetchIndexElementDescription)
An array of fetch index element descriptions. Full Topic
func (FetchIndexDescription) SetName ¶
func (f_ FetchIndexDescription) SetName(value string)
The name of the fetch index description. Full Topic
func (FetchIndexDescription) SetPartialIndexPredicate ¶
func (f_ FetchIndexDescription) SetPartialIndexPredicate(value foundation.IPredicate)
A predicate that selects rows for indexing, if the index is a partial index. Full Topic
type FetchIndexElementDescription ¶
Description of an Index Element Full Topic
func FetchIndexElementDescriptionFrom ¶
func FetchIndexElementDescriptionFrom(ptr unsafe.Pointer) FetchIndexElementDescription
func NewFetchIndexElementDescription ¶
func NewFetchIndexElementDescription() FetchIndexElementDescription
func NewFetchIndexElementDescriptionWithPropertyCollationType ¶
func NewFetchIndexElementDescriptionWithPropertyCollationType(property IPropertyDescription, collationType FetchIndexElementType) FetchIndexElementDescription
Creates an index element description using the specified property description and collation type. Full Topic
func (FetchIndexElementDescription) CollationType ¶
func (f_ FetchIndexElementDescription) CollationType() FetchIndexElementType
The type of collation that the index element uses, either binary or R-tree. Full Topic
func (FetchIndexElementDescription) IndexDescription ¶
func (f_ FetchIndexElementDescription) IndexDescription() FetchIndexDescription
[Full Topic]
func (FetchIndexElementDescription) Init ¶
func (f_ FetchIndexElementDescription) Init() FetchIndexElementDescription
func (FetchIndexElementDescription) InitWithPropertyCollationType ¶
func (f_ FetchIndexElementDescription) InitWithPropertyCollationType(property IPropertyDescription, collationType FetchIndexElementType) FetchIndexElementDescription
func (FetchIndexElementDescription) IsAscending ¶
func (f_ FetchIndexElementDescription) IsAscending() bool
A Boolean value that controls whether an index that supports direction is an ascending or descending index. Full Topic
func (FetchIndexElementDescription) Property ¶
func (f_ FetchIndexElementDescription) Property() PropertyDescription
A property description. Full Topic
func (FetchIndexElementDescription) PropertyName ¶
func (f_ FetchIndexElementDescription) PropertyName() string
The specified name in the property description. Full Topic
func (FetchIndexElementDescription) SetAscending ¶
func (f_ FetchIndexElementDescription) SetAscending(value bool)
A Boolean value that controls whether an index that supports direction is an ascending or descending index. Full Topic
func (FetchIndexElementDescription) SetCollationType ¶
func (f_ FetchIndexElementDescription) SetCollationType(value FetchIndexElementType)
The type of collation that the index element uses, either binary or R-tree. Full Topic
type FetchIndexElementType ¶
type FetchIndexElementType uint
Defines the possible types of index elements. Full Topic
const ( FetchIndexElementTypeBinary FetchIndexElementType = 0 FetchIndexElementTypeRTree FetchIndexElementType = 1 )
type FetchRequest ¶
type FetchRequest struct {
PersistentStoreRequest
}
A description of search criteria used to retrieve data from a persistent store. Full Topic
func FetchRequestFrom ¶
func FetchRequestFrom(ptr unsafe.Pointer) FetchRequest
func FetchRequest_FetchRequestWithEntityName ¶
func FetchRequest_FetchRequestWithEntityName(entityName string) FetchRequest
Returns a fetch request configured with a given entity name. Full Topic
func ManagedObject_FetchRequest ¶
func ManagedObject_FetchRequest() FetchRequest
Returns an initialized fetch request with the entity this subclass represents. Full Topic
func NewFetchRequest ¶
func NewFetchRequest() FetchRequest
func NewFetchRequestWithEntityName ¶
func NewFetchRequestWithEntityName(entityName string) FetchRequest
Initializes a fetch request configured with a given entity name. Full Topic
func PersistentCloudKitContainerEventRequest_FetchRequestForEvents ¶
func PersistentCloudKitContainerEventRequest_FetchRequestForEvents() FetchRequest
Creates a fetch request for all events in a persistent CloudKit container. Full Topic
func PersistentHistoryChange_FetchRequest ¶
func PersistentHistoryChange_FetchRequest() FetchRequest
A fetch request that has the persistent history change as the entity. Full Topic
func PersistentHistoryTransaction_FetchRequest ¶
func PersistentHistoryTransaction_FetchRequest() FetchRequest
A fetch request that has the persistent history transaction as the entity. Full Topic
func (FetchRequest) Entity ¶
func (f_ FetchRequest) Entity() EntityDescription
The entity specified for the fetch request. Full Topic
func (FetchRequest) EntityName ¶
func (f_ FetchRequest) EntityName() string
The name of the entity the request is configured to fetch. Full Topic
func (FetchRequest) Execute ¶
func (f_ FetchRequest) Execute(error unsafe.Pointer) []objc.Object
Executes the fetch request against the managed object context that is associated with the current queue. Full Topic
func (FetchRequest) FetchBatchSize ¶
func (f_ FetchRequest) FetchBatchSize() uint
The batch size of the objects specified in the fetch request. Full Topic
func (FetchRequest) FetchLimit ¶
func (f_ FetchRequest) FetchLimit() uint
The fetch limit of the fetch request. Full Topic
func (FetchRequest) FetchOffset ¶
func (f_ FetchRequest) FetchOffset() uint
The fetch offset of the fetch request. Full Topic
func (FetchRequest) HavingPredicate ¶
func (f_ FetchRequest) HavingPredicate() foundation.Predicate
The predicate used to filter rows being returned by a query containing a GROUP BY directive. Full Topic
func (FetchRequest) IncludesPendingChanges ¶
func (f_ FetchRequest) IncludesPendingChanges() bool
A Boolean value that indicates whether, when the fetch is executed, it matches against currently unsaved changes in the managed object context. Full Topic
func (FetchRequest) IncludesPropertyValues ¶
func (f_ FetchRequest) IncludesPropertyValues() bool
A Boolean value that indicates whether, when the fetch is executed, property data is obtained from the persistent store. Full Topic
func (FetchRequest) IncludesSubentities ¶
func (f_ FetchRequest) IncludesSubentities() bool
A Boolean value that indicates whether the fetch request includes subentities in the results. Full Topic
func (FetchRequest) Init ¶
func (f_ FetchRequest) Init() FetchRequest
func (FetchRequest) InitWithEntityName ¶
func (f_ FetchRequest) InitWithEntityName(entityName string) FetchRequest
func (FetchRequest) Predicate ¶
func (f_ FetchRequest) Predicate() foundation.Predicate
The predicate of the fetch request. Full Topic
func (FetchRequest) PropertiesToFetch ¶
func (f_ FetchRequest) PropertiesToFetch() []objc.Object
A collection of either property descriptions or string property names that specify which properties should be returned by the fetch. Full Topic
func (FetchRequest) PropertiesToGroupBy ¶
func (f_ FetchRequest) PropertiesToGroupBy() []objc.Object
An array of objects that indicates how data should be grouped before a select statement is run in a SQL database. Full Topic
func (FetchRequest) RelationshipKeyPathsForPrefetching ¶
func (f_ FetchRequest) RelationshipKeyPathsForPrefetching() []string
The relationship key paths to prefetch along with the entity for the request. Full Topic
func (FetchRequest) ResultType ¶
func (f_ FetchRequest) ResultType() FetchRequestResultType
The result type of the fetch request. Full Topic
func (FetchRequest) ReturnsDistinctResults ¶
func (f_ FetchRequest) ReturnsDistinctResults() bool
A Boolean value that indicates whether the fetch request returns only distinct values for the fields specified by coredata/nsfetchrequest/propertiestofetch. Full Topic
func (FetchRequest) ReturnsObjectsAsFaults ¶
func (f_ FetchRequest) ReturnsObjectsAsFaults() bool
A Boolean value that indicates whether the objects resulting from a fetch request are faults. Full Topic
func (FetchRequest) SetEntity ¶
func (f_ FetchRequest) SetEntity(value IEntityDescription)
The entity specified for the fetch request. Full Topic
func (FetchRequest) SetFetchBatchSize ¶
func (f_ FetchRequest) SetFetchBatchSize(value uint)
The batch size of the objects specified in the fetch request. Full Topic
func (FetchRequest) SetFetchLimit ¶
func (f_ FetchRequest) SetFetchLimit(value uint)
The fetch limit of the fetch request. Full Topic
func (FetchRequest) SetFetchOffset ¶
func (f_ FetchRequest) SetFetchOffset(value uint)
The fetch offset of the fetch request. Full Topic
func (FetchRequest) SetHavingPredicate ¶
func (f_ FetchRequest) SetHavingPredicate(value foundation.IPredicate)
The predicate used to filter rows being returned by a query containing a GROUP BY directive. Full Topic
func (FetchRequest) SetIncludesPendingChanges ¶
func (f_ FetchRequest) SetIncludesPendingChanges(value bool)
A Boolean value that indicates whether, when the fetch is executed, it matches against currently unsaved changes in the managed object context. Full Topic
func (FetchRequest) SetIncludesPropertyValues ¶
func (f_ FetchRequest) SetIncludesPropertyValues(value bool)
A Boolean value that indicates whether, when the fetch is executed, property data is obtained from the persistent store. Full Topic
func (FetchRequest) SetIncludesSubentities ¶
func (f_ FetchRequest) SetIncludesSubentities(value bool)
A Boolean value that indicates whether the fetch request includes subentities in the results. Full Topic
func (FetchRequest) SetPredicate ¶
func (f_ FetchRequest) SetPredicate(value foundation.IPredicate)
The predicate of the fetch request. Full Topic
func (FetchRequest) SetPropertiesToFetch ¶
func (f_ FetchRequest) SetPropertiesToFetch(value []objc.IObject)
A collection of either property descriptions or string property names that specify which properties should be returned by the fetch. Full Topic
func (FetchRequest) SetPropertiesToGroupBy ¶
func (f_ FetchRequest) SetPropertiesToGroupBy(value []objc.IObject)
An array of objects that indicates how data should be grouped before a select statement is run in a SQL database. Full Topic
func (FetchRequest) SetRelationshipKeyPathsForPrefetching ¶
func (f_ FetchRequest) SetRelationshipKeyPathsForPrefetching(value []string)
The relationship key paths to prefetch along with the entity for the request. Full Topic
func (FetchRequest) SetResultType ¶
func (f_ FetchRequest) SetResultType(value FetchRequestResultType)
The result type of the fetch request. Full Topic
func (FetchRequest) SetReturnsDistinctResults ¶
func (f_ FetchRequest) SetReturnsDistinctResults(value bool)
A Boolean value that indicates whether the fetch request returns only distinct values for the fields specified by coredata/nsfetchrequest/propertiestofetch. Full Topic
func (FetchRequest) SetReturnsObjectsAsFaults ¶
func (f_ FetchRequest) SetReturnsObjectsAsFaults(value bool)
A Boolean value that indicates whether the objects resulting from a fetch request are faults. Full Topic
func (FetchRequest) SetShouldRefreshRefetchedObjects ¶
func (f_ FetchRequest) SetShouldRefreshRefetchedObjects(value bool)
A Boolean value that indicates whether the property values of fetched objects will be updated with the current values in the persistent store. Full Topic
func (FetchRequest) SetSortDescriptors ¶
func (f_ FetchRequest) SetSortDescriptors(value []foundation.ISortDescriptor)
The sort descriptors of the fetch request. Full Topic
func (FetchRequest) ShouldRefreshRefetchedObjects ¶
func (f_ FetchRequest) ShouldRefreshRefetchedObjects() bool
A Boolean value that indicates whether the property values of fetched objects will be updated with the current values in the persistent store. Full Topic
func (FetchRequest) SortDescriptors ¶
func (f_ FetchRequest) SortDescriptors() []foundation.SortDescriptor
The sort descriptors of the fetch request. Full Topic
type FetchRequestExpression ¶
type FetchRequestExpression struct {
foundation.Expression
}
An expression that evaluates the result of a fetch request on a managed object context. Full Topic
func FetchRequestExpressionFrom ¶
func FetchRequestExpressionFrom(ptr unsafe.Pointer) FetchRequestExpression
func NewFetchRequestExpression ¶
func NewFetchRequestExpression() FetchRequestExpression
func NewFetchRequestExpressionWithExpressionType ¶
func NewFetchRequestExpressionWithExpressionType(type_ foundation.ExpressionType) FetchRequestExpression
Creates the expression with the specified expression type. Full Topic
func (FetchRequestExpression) ContextExpression ¶
func (f_ FetchRequestExpression) ContextExpression() foundation.Expression
The expression for the receiver’s managed object context. Full Topic
func (FetchRequestExpression) Init ¶
func (f_ FetchRequestExpression) Init() FetchRequestExpression
func (FetchRequestExpression) InitWithExpressionType ¶
func (f_ FetchRequestExpression) InitWithExpressionType(type_ foundation.ExpressionType) FetchRequestExpression
func (FetchRequestExpression) IsCountOnlyRequest ¶
func (f_ FetchRequestExpression) IsCountOnlyRequest() bool
Returns a Boolean value that indicates whether the receiver represents a count-only fetch request. Full Topic
func (FetchRequestExpression) RequestExpression ¶
func (f_ FetchRequestExpression) RequestExpression() foundation.Expression
The expression for the receiver’s fetch request. Full Topic
type FetchRequestResultObject ¶
A concrete type for the PFetchRequestResult protocol.
type FetchRequestResultType ¶
type FetchRequestResultType uint
Constants that specify the possible result types a fetch request can return. Full Topic
const ( CountResultType FetchRequestResultType = 4 DictionaryResultType FetchRequestResultType = 2 ManagedObjectIDResultType FetchRequestResultType = 1 ManagedObjectResultType FetchRequestResultType = 0 )
type FetchedPropertyDescription ¶
type FetchedPropertyDescription struct {
PropertyDescription
}
A description object used to define which properties are fetched from Core Data. Full Topic
func FetchedPropertyDescriptionFrom ¶
func FetchedPropertyDescriptionFrom(ptr unsafe.Pointer) FetchedPropertyDescription
func NewFetchedPropertyDescription ¶
func NewFetchedPropertyDescription() FetchedPropertyDescription
func (FetchedPropertyDescription) FetchRequest ¶
func (f_ FetchedPropertyDescription) FetchRequest() FetchRequest
The fetch request of the receiver. Full Topic
func (FetchedPropertyDescription) Init ¶
func (f_ FetchedPropertyDescription) Init() FetchedPropertyDescription
func (FetchedPropertyDescription) SetFetchRequest ¶
func (f_ FetchedPropertyDescription) SetFetchRequest(value IFetchRequest)
The fetch request of the receiver. Full Topic
type FetchedResultsChangeType ¶
type FetchedResultsChangeType uint
Constants that specify the possible types of changes that are reported. Full Topic
const ( FetchedResultsChangeDelete FetchedResultsChangeType = 2 FetchedResultsChangeInsert FetchedResultsChangeType = 1 FetchedResultsChangeMove FetchedResultsChangeType = 3 FetchedResultsChangeUpdate FetchedResultsChangeType = 4 )
type FetchedResultsController ¶
A controller that you use to manage the results of a Core Data fetch request and to display data to the user. Full Topic
func FetchedResultsControllerFrom ¶
func FetchedResultsControllerFrom(ptr unsafe.Pointer) FetchedResultsController
func NewFetchedResultsController ¶
func NewFetchedResultsController() FetchedResultsController
func NewFetchedResultsControllerWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName ¶
func NewFetchedResultsControllerWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName(fetchRequest IFetchRequest, context IManagedObjectContext, sectionNameKeyPath string, name string) FetchedResultsController
Returns a fetch request controller initialized using the given arguments. Full Topic
func (FetchedResultsController) CacheName ¶
func (f_ FetchedResultsController) CacheName() string
The name of the file used to cache section information. Full Topic
func (FetchedResultsController) Delegate ¶
func (f_ FetchedResultsController) Delegate() FetchedResultsControllerDelegateObject
The object that is notified when the fetched results changed. Full Topic
func (FetchedResultsController) FetchRequest ¶
func (f_ FetchedResultsController) FetchRequest() FetchRequest
The fetch request used to do the fetching. Full Topic
func (FetchedResultsController) FetchedObjects ¶
func (f_ FetchedResultsController) FetchedObjects() []objc.Object
The results of the fetch. Full Topic
func (FetchedResultsController) IndexPathForObject ¶
func (f_ FetchedResultsController) IndexPathForObject(object objc.IObject) foundation.IndexPath
Returns the index path of a given object. Full Topic
func (FetchedResultsController) Init ¶
func (f_ FetchedResultsController) Init() FetchedResultsController
func (FetchedResultsController) InitWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName ¶
func (f_ FetchedResultsController) InitWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName(fetchRequest IFetchRequest, context IManagedObjectContext, sectionNameKeyPath string, name string) FetchedResultsController
func (FetchedResultsController) ManagedObjectContext ¶
func (f_ FetchedResultsController) ManagedObjectContext() ManagedObjectContext
The managed object context used to fetch objects. Full Topic
func (FetchedResultsController) ObjectAtIndexPath ¶
func (f_ FetchedResultsController) ObjectAtIndexPath(indexPath foundation.IIndexPath) objc.Object
Returns the object at the given index path in the fetch results. Full Topic
func (FetchedResultsController) PerformFetch ¶
func (f_ FetchedResultsController) PerformFetch(error unsafe.Pointer) bool
Executes the controller’s fetch request. Full Topic
func (FetchedResultsController) SectionForSectionIndexTitleAtIndex ¶
func (f_ FetchedResultsController) SectionForSectionIndexTitleAtIndex(title string, sectionIndex int) int
Returns the section number for a given section title and index in the section index. Full Topic
func (FetchedResultsController) SectionIndexTitleForSectionName ¶
func (f_ FetchedResultsController) SectionIndexTitleForSectionName(sectionName string) string
Returns the corresponding section index entry for a given section name. Full Topic
func (FetchedResultsController) SectionIndexTitles ¶
func (f_ FetchedResultsController) SectionIndexTitles() []string
The array of section index titles. Full Topic
func (FetchedResultsController) SectionNameKeyPath ¶
func (f_ FetchedResultsController) SectionNameKeyPath() string
The key path of the attribute that determines which section the fetched entity belongs to. Full Topic
func (FetchedResultsController) Sections ¶
func (f_ FetchedResultsController) Sections() []FetchedResultsSectionInfoObject
The sections for the fetch results. Full Topic
func (FetchedResultsController) SetDelegate ¶
func (f_ FetchedResultsController) SetDelegate(value PFetchedResultsControllerDelegate)
The object that is notified when the fetched results changed. Full Topic
func (FetchedResultsController) SetDelegateObject ¶
func (f_ FetchedResultsController) SetDelegateObject(valueObject objc.IObject)
The object that is notified when the fetched results changed. Full Topic
type FetchedResultsControllerDelegate ¶
type FetchedResultsControllerDelegate struct {
// contains filtered or unexported fields
}
A delegate implementation builder for the PFetchedResultsControllerDelegate protocol.
func (*FetchedResultsControllerDelegate) ControllerDidChangeContent ¶
func (di *FetchedResultsControllerDelegate) ControllerDidChangeContent(controller FetchedResultsController)
Notifies the receiver that the fetched results controller has completed processing of one or more changes due to an add, remove, move, or update. Full Topic
func (*FetchedResultsControllerDelegate) ControllerDidChangeContentWithDifference ¶
func (di *FetchedResultsControllerDelegate) ControllerDidChangeContentWithDifference(controller FetchedResultsController, diff foundation.OrderedCollectionDifference)
Notifies the receiver about changes to the content in the fetched results controller, by using a collection difference. Full Topic
func (*FetchedResultsControllerDelegate) ControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath ¶
func (di *FetchedResultsControllerDelegate) ControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(controller FetchedResultsController, anObject objc.Object, indexPath foundation.IndexPath, type_ FetchedResultsChangeType, newIndexPath foundation.IndexPath)
Notifies the receiver that a fetched object has been changed due to an add, remove, move, or update. Full Topic
func (*FetchedResultsControllerDelegate) ControllerDidChangeSectionAtIndexForChangeType ¶
func (di *FetchedResultsControllerDelegate) ControllerDidChangeSectionAtIndexForChangeType(controller FetchedResultsController, sectionInfo FetchedResultsSectionInfoObject, sectionIndex uint, type_ FetchedResultsChangeType)
Notifies the receiver of the addition or removal of a section. Full Topic
func (*FetchedResultsControllerDelegate) ControllerSectionIndexTitleForSectionName ¶
func (di *FetchedResultsControllerDelegate) ControllerSectionIndexTitleForSectionName(controller FetchedResultsController, sectionName string) string
Returns the name for a given section. Full Topic
func (*FetchedResultsControllerDelegate) ControllerWillChangeContent ¶
func (di *FetchedResultsControllerDelegate) ControllerWillChangeContent(controller FetchedResultsController)
Notifies the receiver that the fetched results controller is about to start processing of one or more changes due to an add, remove, move, or update. Full Topic
func (*FetchedResultsControllerDelegate) HasControllerDidChangeContent ¶
func (di *FetchedResultsControllerDelegate) HasControllerDidChangeContent() bool
func (*FetchedResultsControllerDelegate) HasControllerDidChangeContentWithDifference ¶
func (di *FetchedResultsControllerDelegate) HasControllerDidChangeContentWithDifference() bool
func (*FetchedResultsControllerDelegate) HasControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath ¶
func (di *FetchedResultsControllerDelegate) HasControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath() bool
func (*FetchedResultsControllerDelegate) HasControllerDidChangeSectionAtIndexForChangeType ¶
func (di *FetchedResultsControllerDelegate) HasControllerDidChangeSectionAtIndexForChangeType() bool
func (*FetchedResultsControllerDelegate) HasControllerSectionIndexTitleForSectionName ¶
func (di *FetchedResultsControllerDelegate) HasControllerSectionIndexTitleForSectionName() bool
func (*FetchedResultsControllerDelegate) HasControllerWillChangeContent ¶
func (di *FetchedResultsControllerDelegate) HasControllerWillChangeContent() bool
func (*FetchedResultsControllerDelegate) SetControllerDidChangeContent ¶
func (di *FetchedResultsControllerDelegate) SetControllerDidChangeContent(f func(controller FetchedResultsController))
Notifies the receiver that the fetched results controller has completed processing of one or more changes due to an add, remove, move, or update. Full Topic
func (*FetchedResultsControllerDelegate) SetControllerDidChangeContentWithDifference ¶
func (di *FetchedResultsControllerDelegate) SetControllerDidChangeContentWithDifference(f func(controller FetchedResultsController, diff foundation.OrderedCollectionDifference))
Notifies the receiver about changes to the content in the fetched results controller, by using a collection difference. Full Topic
func (*FetchedResultsControllerDelegate) SetControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath ¶
func (di *FetchedResultsControllerDelegate) SetControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(f func(controller FetchedResultsController, anObject objc.Object, indexPath foundation.IndexPath, type_ FetchedResultsChangeType, newIndexPath foundation.IndexPath))
Notifies the receiver that a fetched object has been changed due to an add, remove, move, or update. Full Topic
func (*FetchedResultsControllerDelegate) SetControllerDidChangeSectionAtIndexForChangeType ¶
func (di *FetchedResultsControllerDelegate) SetControllerDidChangeSectionAtIndexForChangeType(f func(controller FetchedResultsController, sectionInfo FetchedResultsSectionInfoObject, sectionIndex uint, type_ FetchedResultsChangeType))
Notifies the receiver of the addition or removal of a section. Full Topic
func (*FetchedResultsControllerDelegate) SetControllerSectionIndexTitleForSectionName ¶
func (di *FetchedResultsControllerDelegate) SetControllerSectionIndexTitleForSectionName(f func(controller FetchedResultsController, sectionName string) string)
Returns the name for a given section. Full Topic
func (*FetchedResultsControllerDelegate) SetControllerWillChangeContent ¶
func (di *FetchedResultsControllerDelegate) SetControllerWillChangeContent(f func(controller FetchedResultsController))
Notifies the receiver that the fetched results controller is about to start processing of one or more changes due to an add, remove, move, or update. Full Topic
type FetchedResultsControllerDelegateObject ¶
A concrete type for the PFetchedResultsControllerDelegate protocol.
func (FetchedResultsControllerDelegateObject) ControllerDidChangeContent ¶
func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeContent(controller FetchedResultsController)
Notifies the receiver that the fetched results controller has completed processing of one or more changes due to an add, remove, move, or update. Full Topic
func (FetchedResultsControllerDelegateObject) ControllerDidChangeContentWithDifference ¶
func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeContentWithDifference(controller FetchedResultsController, diff foundation.OrderedCollectionDifference)
Notifies the receiver about changes to the content in the fetched results controller, by using a collection difference. Full Topic
func (FetchedResultsControllerDelegateObject) ControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath ¶
func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(controller FetchedResultsController, anObject objc.Object, indexPath foundation.IndexPath, type_ FetchedResultsChangeType, newIndexPath foundation.IndexPath)
Notifies the receiver that a fetched object has been changed due to an add, remove, move, or update. Full Topic
func (FetchedResultsControllerDelegateObject) ControllerDidChangeSectionAtIndexForChangeType ¶
func (f_ FetchedResultsControllerDelegateObject) ControllerDidChangeSectionAtIndexForChangeType(controller FetchedResultsController, sectionInfo FetchedResultsSectionInfoObject, sectionIndex uint, type_ FetchedResultsChangeType)
Notifies the receiver of the addition or removal of a section. Full Topic
func (FetchedResultsControllerDelegateObject) ControllerSectionIndexTitleForSectionName ¶
func (f_ FetchedResultsControllerDelegateObject) ControllerSectionIndexTitleForSectionName(controller FetchedResultsController, sectionName string) string
Returns the name for a given section. Full Topic
func (FetchedResultsControllerDelegateObject) ControllerWillChangeContent ¶
func (f_ FetchedResultsControllerDelegateObject) ControllerWillChangeContent(controller FetchedResultsController)
Notifies the receiver that the fetched results controller is about to start processing of one or more changes due to an add, remove, move, or update. Full Topic
func (FetchedResultsControllerDelegateObject) HasControllerDidChangeContent ¶
func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeContent() bool
func (FetchedResultsControllerDelegateObject) HasControllerDidChangeContentWithDifference ¶
func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeContentWithDifference() bool
func (FetchedResultsControllerDelegateObject) HasControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath ¶
func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath() bool
func (FetchedResultsControllerDelegateObject) HasControllerDidChangeSectionAtIndexForChangeType ¶
func (f_ FetchedResultsControllerDelegateObject) HasControllerDidChangeSectionAtIndexForChangeType() bool
func (FetchedResultsControllerDelegateObject) HasControllerSectionIndexTitleForSectionName ¶
func (f_ FetchedResultsControllerDelegateObject) HasControllerSectionIndexTitleForSectionName() bool
func (FetchedResultsControllerDelegateObject) HasControllerWillChangeContent ¶
func (f_ FetchedResultsControllerDelegateObject) HasControllerWillChangeContent() bool
type FetchedResultsSectionInfoObject ¶
A concrete type for the PFetchedResultsSectionInfo protocol.
func (FetchedResultsSectionInfoObject) HasIndexTitle ¶
func (f_ FetchedResultsSectionInfoObject) HasIndexTitle() bool
func (FetchedResultsSectionInfoObject) HasName ¶
func (f_ FetchedResultsSectionInfoObject) HasName() bool
func (FetchedResultsSectionInfoObject) HasNumberOfObjects ¶
func (f_ FetchedResultsSectionInfoObject) HasNumberOfObjects() bool
func (FetchedResultsSectionInfoObject) HasObjects ¶
func (f_ FetchedResultsSectionInfoObject) HasObjects() bool
func (FetchedResultsSectionInfoObject) IndexTitle ¶
func (f_ FetchedResultsSectionInfoObject) IndexTitle() string
The index title of the section. Full Topic
func (FetchedResultsSectionInfoObject) Name ¶
func (f_ FetchedResultsSectionInfoObject) Name() string
The name of the section. Full Topic
func (FetchedResultsSectionInfoObject) NumberOfObjects ¶
func (f_ FetchedResultsSectionInfoObject) NumberOfObjects() uint
The number of objects (rows) in the section. Full Topic
func (FetchedResultsSectionInfoObject) Objects ¶
func (f_ FetchedResultsSectionInfoObject) Objects() []objc.Object
The array of objects in the section. Full Topic
type IAsynchronousFetchRequest ¶
type IAsynchronousFetchRequest interface { IPersistentStoreRequest FetchRequest() FetchRequest EstimatedResultCount() int SetEstimatedResultCount(value int) CompletionBlock() PersistentStoreAsynchronousFetchResultCompletionBlock }
An interface definition for the AsynchronousFetchRequest class.
type IAsynchronousFetchResult ¶
type IAsynchronousFetchResult interface { IPersistentStoreAsynchronousResult FetchRequest() AsynchronousFetchRequest FinalResult() []objc.Object }
An interface definition for the AsynchronousFetchResult class.
type IAtomicStore ¶
type IAtomicStore interface { IPersistentStore CacheNodeForObjectID(objectID IManagedObjectID) AtomicStoreCacheNode CacheNodes() foundation.Set ReferenceObjectForObjectID(objectID IManagedObjectID) objc.Object UpdateCacheNodeFromManagedObject(node IAtomicStoreCacheNode, managedObject IManagedObject) ObjectIDForEntityReferenceObject(entity IEntityDescription, data objc.IObject) ManagedObjectID AddCacheNodes(cacheNodes foundation.ISet) Load(error unsafe.Pointer) bool NewReferenceObjectForManagedObject(managedObject IManagedObject) objc.Object WillRemoveCacheNodes(cacheNodes foundation.ISet) NewCacheNodeForManagedObject(managedObject IManagedObject) AtomicStoreCacheNode Save(error unsafe.Pointer) bool }
An interface definition for the AtomicStore class.
type IAtomicStoreCacheNode ¶
type IAtomicStoreCacheNode interface { objc.IObject SetValueForKey(value objc.IObject, key string) ValueForKey(key string) objc.Object ObjectID() ManagedObjectID PropertyCache() foundation.MutableDictionary SetPropertyCache(value foundation.IMutableDictionary) }
An interface definition for the AtomicStoreCacheNode class.
type IAttributeDescription ¶
type IAttributeDescription interface { IPropertyDescription AttributeValueClassName() string SetAttributeValueClassName(value string) ValueTransformerName() string SetValueTransformerName(value string) PreservesValueInHistoryOnDeletion() bool SetPreservesValueInHistoryOnDeletion(value bool) AllowsExternalBinaryDataStorage() bool SetAllowsExternalBinaryDataStorage(value bool) AllowsCloudEncryption() bool SetAllowsCloudEncryption(value bool) DefaultValue() objc.Object SetDefaultValue(value objc.IObject) AttributeType() AttributeType SetAttributeType(value AttributeType) }
An interface definition for the AttributeDescription class.
type IBatchDeleteRequest ¶
type IBatchDeleteRequest interface { IPersistentStoreRequest FetchRequest() FetchRequest ResultType() BatchDeleteRequestResultType SetResultType(value BatchDeleteRequestResultType) }
An interface definition for the BatchDeleteRequest class.
type IBatchDeleteResult ¶
type IBatchDeleteResult interface { IPersistentStoreResult Result() objc.Object ResultType() BatchDeleteRequestResultType }
An interface definition for the BatchDeleteResult class.
type IBatchInsertRequest ¶
type IBatchInsertRequest interface { IPersistentStoreRequest EntityName() string ManagedObjectHandler() func(obj ManagedObject) bool SetManagedObjectHandler(value func(obj ManagedObject) bool) ResultType() BatchInsertRequestResultType SetResultType(value BatchInsertRequestResultType) DictionaryHandler() func(obj foundation.MutableDictionary) bool SetDictionaryHandler(value func(obj foundation.MutableDictionary) bool) ObjectsToInsert() []map[string]objc.Object SetObjectsToInsert(value []map[string]objc.IObject) Entity() EntityDescription }
An interface definition for the BatchInsertRequest class.
type IBatchInsertResult ¶
type IBatchInsertResult interface { IPersistentStoreResult Result() objc.Object ResultType() BatchInsertRequestResultType }
An interface definition for the BatchInsertResult class.
type IBatchUpdateRequest ¶
type IBatchUpdateRequest interface { IPersistentStoreRequest ResultType() BatchUpdateRequestResultType SetResultType(value BatchUpdateRequestResultType) Entity() EntityDescription EntityName() string IncludesSubentities() bool SetIncludesSubentities(value bool) PropertiesToUpdate() foundation.Dictionary SetPropertiesToUpdate(value foundation.Dictionary) Predicate() foundation.Predicate SetPredicate(value foundation.IPredicate) }
An interface definition for the BatchUpdateRequest class.
type IBatchUpdateResult ¶
type IBatchUpdateResult interface { IPersistentStoreResult ResultType() BatchUpdateRequestResultType Result() objc.Object }
An interface definition for the BatchUpdateResult class.
type IConstraintConflict ¶
type IConstraintConflict interface { objc.IObject ConflictingObjects() []ManagedObject ConflictingSnapshots() []foundation.Dictionary DatabaseSnapshot() map[string]objc.Object ConstraintValues() map[string]objc.Object Constraint() []string DatabaseObject() ManagedObject }
An interface definition for the ConstraintConflict class.
type ICoreDataCoreSpotlightDelegate ¶
type ICoreDataCoreSpotlightDelegate interface { objc.IObject IndexName() string StartSpotlightIndexing() StopSpotlightIndexing() SearchableIndexReindexAllSearchableItemsWithAcknowledgementHandler(searchableIndex objc.IObject, acknowledgementHandler func()) AttributeSetForObject(object IManagedObject) objc.Object DeleteSpotlightIndexWithCompletionHandler(completionHandler func(error foundation.Error)) SearchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler(searchableIndex objc.IObject, identifiers []string, acknowledgementHandler func()) DomainIdentifier() string IsIndexingEnabled() bool }
An interface definition for the CoreDataCoreSpotlightDelegate class.
type IDerivedAttributeDescription ¶
type IDerivedAttributeDescription interface { IAttributeDescription DerivationExpression() foundation.Expression SetDerivationExpression(value foundation.IExpression) }
An interface definition for the DerivedAttributeDescription class.
type IEntityDescription ¶
type IEntityDescription interface { objc.IObject RelationshipsWithDestinationEntity(entity IEntityDescription) []RelationshipDescription IsKindOfEntity(entity IEntityDescription) bool IsAbstract() bool SetAbstract(value bool) Subentities() []EntityDescription SetSubentities(value []IEntityDescription) Name() string SetName(value string) AttributesByName() map[string]AttributeDescription VersionHash() []byte Indexes() []FetchIndexDescription SetIndexes(value []IFetchIndexDescription) PropertiesByName() map[string]PropertyDescription RenamingIdentifier() string SetRenamingIdentifier(value string) ManagedObjectModel() ManagedObjectModel Properties() []PropertyDescription SetProperties(value []IPropertyDescription) Superentity() EntityDescription UniquenessConstraints() [][]objc.Object SetUniquenessConstraints(value [][]objc.IObject) SubentitiesByName() map[string]EntityDescription CoreSpotlightDisplayNameExpression() foundation.Expression SetCoreSpotlightDisplayNameExpression(value foundation.IExpression) ManagedObjectClassName() string SetManagedObjectClassName(value string) RelationshipsByName() map[string]RelationshipDescription UserInfo() foundation.Dictionary SetUserInfo(value foundation.Dictionary) VersionHashModifier() string SetVersionHashModifier(value string) }
An interface definition for the EntityDescription class.
type IEntityMapping ¶
type IEntityMapping interface { objc.IObject MappingType() EntityMappingType SetMappingType(value EntityMappingType) SourceExpression() foundation.Expression SetSourceExpression(value foundation.IExpression) UserInfo() foundation.Dictionary SetUserInfo(value foundation.Dictionary) DestinationEntityVersionHash() []byte SetDestinationEntityVersionHash(value []byte) Name() string SetName(value string) EntityMigrationPolicyClassName() string SetEntityMigrationPolicyClassName(value string) RelationshipMappings() []PropertyMapping SetRelationshipMappings(value []IPropertyMapping) SourceEntityVersionHash() []byte SetSourceEntityVersionHash(value []byte) SourceEntityName() string SetSourceEntityName(value string) AttributeMappings() []PropertyMapping SetAttributeMappings(value []IPropertyMapping) DestinationEntityName() string SetDestinationEntityName(value string) }
An interface definition for the EntityMapping class.
type IEntityMigrationPolicy ¶
type IEntityMigrationPolicy interface { objc.IObject EndInstanceCreationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool BeginEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool CreateDestinationInstancesForSourceInstanceEntityMappingManagerError(sInstance IManagedObject, mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool EndRelationshipCreationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool EndEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool CreateRelationshipsForDestinationInstanceEntityMappingManagerError(dInstance IManagedObject, mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool PerformCustomValidationForEntityMappingManagerError(mapping IEntityMapping, manager IMigrationManager, error unsafe.Pointer) bool }
An interface definition for the EntityMigrationPolicy class.
type IExpressionDescription ¶
type IExpressionDescription interface { IPropertyDescription ExpressionResultType() AttributeType SetExpressionResultType(value AttributeType) Expression() foundation.Expression SetExpression(value foundation.IExpression) }
An interface definition for the ExpressionDescription class.
type IFetchIndexDescription ¶
type IFetchIndexDescription interface { objc.IObject Elements() []FetchIndexElementDescription SetElements(value []IFetchIndexElementDescription) Entity() EntityDescription Name() string SetName(value string) PartialIndexPredicate() foundation.Predicate SetPartialIndexPredicate(value foundation.IPredicate) }
An interface definition for the FetchIndexDescription class.
type IFetchIndexElementDescription ¶
type IFetchIndexElementDescription interface { objc.IObject CollationType() FetchIndexElementType SetCollationType(value FetchIndexElementType) IsAscending() bool SetAscending(value bool) PropertyName() string Property() PropertyDescription IndexDescription() FetchIndexDescription }
An interface definition for the FetchIndexElementDescription class.
type IFetchRequest ¶
type IFetchRequest interface { IPersistentStoreRequest Execute(error unsafe.Pointer) []objc.Object Entity() EntityDescription SetEntity(value IEntityDescription) IncludesPropertyValues() bool SetIncludesPropertyValues(value bool) IncludesPendingChanges() bool SetIncludesPendingChanges(value bool) PropertiesToGroupBy() []objc.Object SetPropertiesToGroupBy(value []objc.IObject) SortDescriptors() []foundation.SortDescriptor SetSortDescriptors(value []foundation.ISortDescriptor) ShouldRefreshRefetchedObjects() bool SetShouldRefreshRefetchedObjects(value bool) FetchLimit() uint SetFetchLimit(value uint) IncludesSubentities() bool SetIncludesSubentities(value bool) ReturnsObjectsAsFaults() bool SetReturnsObjectsAsFaults(value bool) FetchBatchSize() uint SetFetchBatchSize(value uint) ResultType() FetchRequestResultType SetResultType(value FetchRequestResultType) HavingPredicate() foundation.Predicate SetHavingPredicate(value foundation.IPredicate) RelationshipKeyPathsForPrefetching() []string SetRelationshipKeyPathsForPrefetching(value []string) Predicate() foundation.Predicate SetPredicate(value foundation.IPredicate) ReturnsDistinctResults() bool SetReturnsDistinctResults(value bool) EntityName() string FetchOffset() uint SetFetchOffset(value uint) PropertiesToFetch() []objc.Object SetPropertiesToFetch(value []objc.IObject) }
An interface definition for the FetchRequest class.
type IFetchRequestExpression ¶
type IFetchRequestExpression interface { foundation.IExpression RequestExpression() foundation.Expression ContextExpression() foundation.Expression IsCountOnlyRequest() bool }
An interface definition for the FetchRequestExpression class.
type IFetchedPropertyDescription ¶
type IFetchedPropertyDescription interface { IPropertyDescription FetchRequest() FetchRequest SetFetchRequest(value IFetchRequest) }
An interface definition for the FetchedPropertyDescription class.
type IFetchedResultsController ¶
type IFetchedResultsController interface { objc.IObject PerformFetch(error unsafe.Pointer) bool ObjectAtIndexPath(indexPath foundation.IIndexPath) objc.Object IndexPathForObject(object objc.IObject) foundation.IndexPath SectionForSectionIndexTitleAtIndex(title string, sectionIndex int) int SectionIndexTitleForSectionName(sectionName string) string FetchRequest() FetchRequest SectionIndexTitles() []string FetchedObjects() []objc.Object SectionNameKeyPath() string Delegate() FetchedResultsControllerDelegateObject SetDelegate(value PFetchedResultsControllerDelegate) SetDelegateObject(valueObject objc.IObject) CacheName() string Sections() []FetchedResultsSectionInfoObject ManagedObjectContext() ManagedObjectContext }
An interface definition for the FetchedResultsController class.
type IIncrementalStore ¶
type IIncrementalStore interface { IPersistentStore ObtainPermanentIDsForObjectsError(array []IManagedObject, error unsafe.Pointer) []ManagedObjectID ManagedObjectContextDidRegisterObjectsWithIDs(objectIDs []IManagedObjectID) ReferenceObjectForObjectID(objectID IManagedObjectID) objc.Object ManagedObjectContextDidUnregisterObjectsWithIDs(objectIDs []IManagedObjectID) NewObjectIDForEntityReferenceObject(entity IEntityDescription, data objc.IObject) ManagedObjectID NewValuesForObjectWithIDWithContextError(objectID IManagedObjectID, context IManagedObjectContext, error unsafe.Pointer) IncrementalStoreNode NewValueForRelationshipForObjectWithIDWithContextError(relationship IRelationshipDescription, objectID IManagedObjectID, context IManagedObjectContext, error unsafe.Pointer) objc.Object ExecuteRequestWithContextError(request IPersistentStoreRequest, context IManagedObjectContext, error unsafe.Pointer) objc.Object }
An interface definition for the IncrementalStore class.
type IIncrementalStoreNode ¶
type IIncrementalStoreNode interface { objc.IObject UpdateWithValuesVersion(values map[string]objc.IObject, version uint64) ValueForPropertyDescription(prop IPropertyDescription) objc.Object ObjectID() ManagedObjectID Version() uint64 }
An interface definition for the IncrementalStoreNode class.
type IManagedObject ¶
type IManagedObject interface { objc.IObject WillTurnIntoFault() AwakeFromFetch() ValueForKey(key string) objc.Object WillChangeValueForKey(key string) ChangedValues() map[string]objc.Object PrepareForDeletion() InitWithEntityInsertIntoManagedObjectContext(entity IEntityDescription, context IManagedObjectContext) ManagedObject ValidateForDelete(error unsafe.Pointer) bool ValidateValueForKeyError(value unsafe.Pointer, key string, error unsafe.Pointer) bool DidAccessValueForKey(key string) HasFaultForRelationshipNamed(key string) bool WillSave() SetObservationInfo(inObservationInfo unsafe.Pointer) DidTurnIntoFault() AwakeFromInsert() DidChangeValueForKeyWithSetMutationUsingObjects(inKey string, inMutationKind foundation.KeyValueSetMutationKind, inObjects foundation.ISet) ObservationInfo() unsafe.Pointer ObjectIDsForRelationshipNamed(key string) []ManagedObjectID WillAccessValueForKey(key string) SetPrimitiveValueForKey(value objc.IObject, key string) WillChangeValueForKeyWithSetMutationUsingObjects(inKey string, inMutationKind foundation.KeyValueSetMutationKind, inObjects foundation.ISet) ValidateForInsert(error unsafe.Pointer) bool PrimitiveValueForKey(key string) objc.Object AwakeFromSnapshotEvents(flags SnapshotEventType) CommittedValuesForKeys(keys []string) map[string]objc.Object DidChangeValueForKey(key string) ChangedValuesForCurrentEvent() map[string]objc.Object SetValueForKey(value objc.IObject, key string) DidSave() ValidateForUpdate(error unsafe.Pointer) bool HasPersistentChangedValues() bool FaultingState() uint HasChanges() bool ManagedObjectContext() ManagedObjectContext IsInserted() bool IsDeleted() bool ObjectID() ManagedObjectID IsFault() bool IsUpdated() bool }
An interface definition for the ManagedObject class.
type IManagedObjectContext ¶
type IManagedObjectContext interface { objc.IObject AssignObjectToPersistentStore(object objc.IObject, store IPersistentStore) Rollback() ObserveValueForKeyPathOfObjectChangeContext(keyPath string, object objc.IObject, change map[string]objc.IObject, context unsafe.Pointer) ExecuteRequestError(request IPersistentStoreRequest, error unsafe.Pointer) PersistentStoreResult RefreshObjectMergeChanges(object IManagedObject, flag bool) ObjectWithID(objectID IManagedObjectID) ManagedObject SetQueryGenerationFromTokenError(generation IQueryGenerationToken, error unsafe.Pointer) bool DetectConflictsForObject(object IManagedObject) CountForFetchRequestError(request IFetchRequest, error unsafe.Pointer) uint ExecuteFetchRequestError(request IFetchRequest, error unsafe.Pointer) []objc.Object ShouldHandleInaccessibleFaultForObjectIDTriggeredByProperty(fault IManagedObject, oid IManagedObjectID, property IPropertyDescription) bool RefreshAllObjects() DeleteObject(object IManagedObject) ExistingObjectWithIDError(objectID IManagedObjectID, error unsafe.Pointer) ManagedObject ObtainPermanentIDsForObjectsError(objects []IManagedObject, error unsafe.Pointer) bool Undo() InsertObject(object IManagedObject) Save(error unsafe.Pointer) bool Reset() ObjectRegisteredForID(objectID IManagedObjectID) ManagedObject MergeChangesFromContextDidSaveNotification(notification foundation.INotification) PerformBlock(block func()) PerformBlockAndWait(block func()) Redo() ProcessPendingChanges() HasChanges() bool ConcurrencyType() ManagedObjectContextConcurrencyType RegisteredObjects() foundation.Set RetainsRegisteredObjects() bool SetRetainsRegisteredObjects(value bool) MergePolicy() objc.Object SetMergePolicy(value objc.IObject) TransactionAuthor() string SetTransactionAuthor(value string) StalenessInterval() foundation.TimeInterval SetStalenessInterval(value foundation.TimeInterval) QueryGenerationToken() QueryGenerationToken InsertedObjects() foundation.Set PersistentStoreCoordinator() PersistentStoreCoordinator SetPersistentStoreCoordinator(value IPersistentStoreCoordinator) UpdatedObjects() foundation.Set Name() string SetName(value string) UserInfo() foundation.MutableDictionary ShouldDeleteInaccessibleFaults() bool SetShouldDeleteInaccessibleFaults(value bool) PropagatesDeletesAtEndOfEvent() bool SetPropagatesDeletesAtEndOfEvent(value bool) UndoManager() foundation.UndoManager SetUndoManager(value foundation.IUndoManager) ParentContext() ManagedObjectContext SetParentContext(value IManagedObjectContext) AutomaticallyMergesChangesFromParent() bool SetAutomaticallyMergesChangesFromParent(value bool) DeletedObjects() foundation.Set }
An interface definition for the ManagedObjectContext class.
type IManagedObjectID ¶
type IManagedObjectID interface { objc.IObject URIRepresentation() foundation.URL PersistentStore() PersistentStore IsTemporaryID() bool Entity() EntityDescription }
An interface definition for the ManagedObjectID class.
type IManagedObjectModel ¶
type IManagedObjectModel interface { objc.IObject EntitiesForConfiguration(configuration string) []EntityDescription SetFetchRequestTemplateForName(fetchRequestTemplate IFetchRequest, name string) SetEntitiesForConfiguration(entities []IEntityDescription, configuration string) FetchRequestFromTemplateWithNameSubstitutionVariables(name string, variables map[string]objc.IObject) FetchRequest IsConfigurationCompatibleWithStoreMetadata(configuration string, metadata map[string]objc.IObject) bool FetchRequestTemplateForName(name string) FetchRequest EntityVersionHashesByName() map[string][]byte Entities() []EntityDescription SetEntities(value []IEntityDescription) VersionIdentifiers() foundation.Set SetVersionIdentifiers(value foundation.ISet) Configurations() []string LocalizationDictionary() map[string]string SetLocalizationDictionary(value map[string]string) EntitiesByName() map[string]EntityDescription FetchRequestTemplatesByName() map[string]FetchRequest }
An interface definition for the ManagedObjectModel class.
type IMappingModel ¶
type IMappingModel interface { objc.IObject EntityMappings() []EntityMapping SetEntityMappings(value []IEntityMapping) EntityMappingsByName() map[string]EntityMapping }
An interface definition for the MappingModel class.
type IMergeConflict ¶
type IMergeConflict interface { objc.IObject CachedSnapshot() map[string]objc.Object SourceObject() ManagedObject OldVersionNumber() uint PersistedSnapshot() map[string]objc.Object NewVersionNumber() uint ObjectSnapshot() map[string]objc.Object }
An interface definition for the MergeConflict class.
type IMergePolicy ¶
type IMergePolicy interface { objc.IObject InitWithMergeType(ty MergePolicyType) objc.Object ResolveConstraintConflictsError(list []IConstraintConflict, error unsafe.Pointer) bool ResolveOptimisticLockingVersionConflictsError(list []IMergeConflict, error unsafe.Pointer) bool ResolveConflictsError(list []objc.IObject, error unsafe.Pointer) bool MergeType() MergePolicyType }
An interface definition for the MergePolicy class.
type IMigrationManager ¶
type IMigrationManager interface { objc.IObject CancelMigrationWithError(error foundation.IError) Reset() DestinationInstancesForEntityMappingNamedSourceInstances(mappingName string, sourceInstances []IManagedObject) []ManagedObject SourceInstancesForEntityMappingNamedDestinationInstances(mappingName string, destinationInstances []IManagedObject) []ManagedObject SourceEntityForEntityMapping(mEntity IEntityMapping) EntityDescription DestinationEntityForEntityMapping(mEntity IEntityMapping) EntityDescription AssociateSourceInstanceWithDestinationInstanceForEntityMapping(sourceInstance IManagedObject, destinationInstance IManagedObject, entityMapping IEntityMapping) UsesStoreSpecificMigrationManager() bool SetUsesStoreSpecificMigrationManager(value bool) UserInfo() foundation.Dictionary SetUserInfo(value foundation.Dictionary) CurrentEntityMapping() EntityMapping MappingModel() MappingModel MigrationProgress() float32 SourceModel() ManagedObjectModel DestinationModel() ManagedObjectModel SourceContext() ManagedObjectContext DestinationContext() ManagedObjectContext }
An interface definition for the MigrationManager class.
type IPersistentCloudKitContainer ¶
type IPersistentCloudKitContainer interface { IPersistentContainer CanDeleteRecordForManagedObjectWithID(objectID IManagedObjectID) bool RecordsForManagedObjectIDs(managedObjectIDs []IManagedObjectID) foundation.Dictionary CanUpdateRecordForManagedObjectWithID(objectID IManagedObjectID) bool CanModifyManagedObjectsInStore(store IPersistentStore) bool InitializeCloudKitSchemaWithOptionsError(options PersistentCloudKitContainerSchemaInitializationOptions, error unsafe.Pointer) bool RecordForManagedObjectID(managedObjectID IManagedObjectID) cloudkit.Record RecordIDForManagedObjectID(managedObjectID IManagedObjectID) cloudkit.RecordID PurgeObjectsAndRecordsInZoneWithIDInPersistentStoreCompletion(zoneID cloudkit.IRecordZoneID, persistentStore IPersistentStore, completion func(purgedZoneID cloudkit.RecordZoneID, purgeError foundation.Error)) FetchParticipantsMatchingLookupInfosIntoPersistentStoreCompletion(lookupInfos []cloudkit.IUserIdentityLookupInfo, persistentStore IPersistentStore, completion func(fetchedParticipants []cloudkit.ShareParticipant, fetchError foundation.Error)) RecordIDsForManagedObjectIDs(managedObjectIDs []IManagedObjectID) foundation.Dictionary }
An interface definition for the PersistentCloudKitContainer class.
type IPersistentCloudKitContainerEvent ¶
type IPersistentCloudKitContainerEvent interface { objc.IObject StartDate() foundation.Date Error() foundation.Error StoreIdentifier() string Type() PersistentCloudKitContainerEventType Identifier() foundation.UUID EndDate() foundation.Date Succeeded() bool }
An interface definition for the PersistentCloudKitContainerEvent class.
type IPersistentCloudKitContainerEventRequest ¶
type IPersistentCloudKitContainerEventRequest interface { IPersistentStoreRequest ResultType() PersistentCloudKitContainerEventResultType SetResultType(value PersistentCloudKitContainerEventResultType) }
An interface definition for the PersistentCloudKitContainerEventRequest class.
type IPersistentCloudKitContainerEventResult ¶
type IPersistentCloudKitContainerEventResult interface { IPersistentStoreResult ResultType() PersistentCloudKitContainerEventResultType Result() objc.Object }
An interface definition for the PersistentCloudKitContainerEventResult class.
type IPersistentCloudKitContainerOptions ¶
type IPersistentCloudKitContainerOptions interface { objc.IObject ContainerIdentifier() string DatabaseScope() cloudkit.DatabaseScope SetDatabaseScope(value cloudkit.DatabaseScope) }
An interface definition for the PersistentCloudKitContainerOptions class.
type IPersistentContainer ¶
type IPersistentContainer interface { objc.IObject PerformBackgroundTask(block func(arg0 ManagedObjectContext)) NewBackgroundContext() ManagedObjectContext LoadPersistentStoresWithCompletionHandler(block func(arg0 PersistentStoreDescription, arg1 foundation.Error)) PersistentStoreDescriptions() []PersistentStoreDescription SetPersistentStoreDescriptions(value []IPersistentStoreDescription) Name() string ManagedObjectModel() ManagedObjectModel ViewContext() ManagedObjectContext PersistentStoreCoordinator() PersistentStoreCoordinator }
An interface definition for the PersistentContainer class.
type IPersistentHistoryChange ¶
type IPersistentHistoryChange interface { objc.IObject ChangeID() int64 ChangedObjectID() ManagedObjectID Tombstone() foundation.Dictionary Transaction() PersistentHistoryTransaction UpdatedProperties() foundation.Set ChangeType() PersistentHistoryChangeType }
An interface definition for the PersistentHistoryChange class.
type IPersistentHistoryChangeRequest ¶
type IPersistentHistoryChangeRequest interface { IPersistentStoreRequest Token() PersistentHistoryToken ResultType() PersistentHistoryResultType SetResultType(value PersistentHistoryResultType) FetchRequest() FetchRequest SetFetchRequest(value IFetchRequest) }
An interface definition for the PersistentHistoryChangeRequest class.
type IPersistentHistoryResult ¶
type IPersistentHistoryResult interface { IPersistentStoreResult Result() objc.Object ResultType() PersistentHistoryResultType }
An interface definition for the PersistentHistoryResult class.
type IPersistentHistoryToken ¶
An interface definition for the PersistentHistoryToken class.
type IPersistentHistoryTransaction ¶
type IPersistentHistoryTransaction interface { objc.IObject ObjectIDNotification() foundation.Notification ProcessID() string ContextName() string StoreID() string Changes() []PersistentHistoryChange Author() string Timestamp() foundation.Date Token() PersistentHistoryToken BundleID() string TransactionNumber() int64 }
An interface definition for the PersistentHistoryTransaction class.
type IPersistentStore ¶
type IPersistentStore interface { objc.IObject DidAddToPersistentStoreCoordinator(coordinator IPersistentStoreCoordinator) LoadMetadata(error unsafe.Pointer) bool WillRemoveFromPersistentStoreCoordinator(coordinator IPersistentStoreCoordinator) Metadata() map[string]objc.Object SetMetadata(value map[string]objc.IObject) ConfigurationName() string URL() foundation.URL SetURL(value foundation.IURL) CoreSpotlightExporter() CoreDataCoreSpotlightDelegate Options() foundation.Dictionary PersistentStoreCoordinator() PersistentStoreCoordinator Type() string Identifier() string SetIdentifier(value string) IsReadOnly() bool SetReadOnly(value bool) }
An interface definition for the PersistentStore class.
type IPersistentStoreAsynchronousResult ¶
type IPersistentStoreAsynchronousResult interface { IPersistentStoreResult Cancel() Progress() foundation.Progress ManagedObjectContext() ManagedObjectContext OperationError() foundation.Error }
An interface definition for the PersistentStoreAsynchronousResult class.
type IPersistentStoreCoordinator ¶
type IPersistentStoreCoordinator interface { objc.IObject SetURLForPersistentStore(url foundation.IURL, store IPersistentStore) bool PerformBlockAndWait(block func()) PerformBlock(block func()) RemovePersistentStoreError(store IPersistentStore, error unsafe.Pointer) bool CurrentPersistentHistoryTokenFromStores(stores []objc.IObject) PersistentHistoryToken ManagedObjectIDForURIRepresentation(url foundation.IURL) ManagedObjectID MetadataForPersistentStore(store IPersistentStore) map[string]objc.Object AddPersistentStoreWithDescriptionCompletionHandler(storeDescription IPersistentStoreDescription, block func(arg0 PersistentStoreDescription, arg1 foundation.Error)) SetMetadataForPersistentStore(metadata map[string]objc.IObject, store IPersistentStore) AddPersistentStoreWithTypeConfigurationURLOptionsError(storeType string, configuration string, storeURL foundation.IURL, options foundation.Dictionary, error unsafe.Pointer) PersistentStore PersistentStoreForURL(URL foundation.IURL) PersistentStore ExecuteRequestWithContextError(request IPersistentStoreRequest, context IManagedObjectContext, error unsafe.Pointer) objc.Object URLForPersistentStore(store IPersistentStore) foundation.URL Name() string SetName(value string) PersistentStores() []PersistentStore ManagedObjectModel() ManagedObjectModel }
An interface definition for the PersistentStoreCoordinator class.
type IPersistentStoreDescription ¶
type IPersistentStoreDescription interface { objc.IObject SetOptionForKey(option objc.IObject, key string) SetValueForPragmaNamed(value objc.IObject, name string) URL() foundation.URL SetURL(value foundation.IURL) ShouldInferMappingModelAutomatically() bool SetShouldInferMappingModelAutomatically(value bool) Configuration() string SetConfiguration(value string) ShouldAddStoreAsynchronously() bool SetShouldAddStoreAsynchronously(value bool) SqlitePragmas() map[string]objc.Object CloudKitContainerOptions() PersistentCloudKitContainerOptions SetCloudKitContainerOptions(value IPersistentCloudKitContainerOptions) ShouldMigrateStoreAutomatically() bool SetShouldMigrateStoreAutomatically(value bool) Type() string SetType(value string) Options() map[string]objc.Object Timeout() foundation.TimeInterval SetTimeout(value foundation.TimeInterval) IsReadOnly() bool SetReadOnly(value bool) }
An interface definition for the PersistentStoreDescription class.
type IPersistentStoreRequest ¶
type IPersistentStoreRequest interface { objc.IObject RequestType() PersistentStoreRequestType AffectedStores() []PersistentStore SetAffectedStores(value []IPersistentStore) }
An interface definition for the PersistentStoreRequest class.
type IPersistentStoreResult ¶
An interface definition for the PersistentStoreResult class.
type IPropertyDescription ¶
type IPropertyDescription interface { objc.IObject SetValidationPredicatesWithValidationWarnings(validationPredicates []foundation.IPredicate, validationWarnings []string) IsTransient() bool SetTransient(value bool) IsIndexedBySpotlight() bool SetIndexedBySpotlight(value bool) RenamingIdentifier() string SetRenamingIdentifier(value string) VersionHashModifier() string SetVersionHashModifier(value string) Name() string SetName(value string) Entity() EntityDescription ValidationWarnings() []objc.Object UserInfo() foundation.Dictionary SetUserInfo(value foundation.Dictionary) ValidationPredicates() []foundation.Predicate IsOptional() bool SetOptional(value bool) VersionHash() []byte }
An interface definition for the PropertyDescription class.
type IPropertyMapping ¶
type IPropertyMapping interface { objc.IObject Name() string SetName(value string) UserInfo() foundation.Dictionary SetUserInfo(value foundation.Dictionary) ValueExpression() foundation.Expression SetValueExpression(value foundation.IExpression) }
An interface definition for the PropertyMapping class.
type IQueryGenerationToken ¶
An interface definition for the QueryGenerationToken class.
type IRelationshipDescription ¶
type IRelationshipDescription interface { IPropertyDescription IsOrdered() bool SetOrdered(value bool) DestinationEntity() EntityDescription SetDestinationEntity(value IEntityDescription) MaxCount() uint SetMaxCount(value uint) DeleteRule() DeleteRule SetDeleteRule(value DeleteRule) MinCount() uint SetMinCount(value uint) InverseRelationship() RelationshipDescription SetInverseRelationship(value IRelationshipDescription) IsToMany() bool }
An interface definition for the RelationshipDescription class.
type ISaveChangesRequest ¶
type ISaveChangesRequest interface { IPersistentStoreRequest LockedObjects() foundation.Set UpdatedObjects() foundation.Set InsertedObjects() foundation.Set DeletedObjects() foundation.Set }
An interface definition for the SaveChangesRequest class.
type IncrementalStore ¶
type IncrementalStore struct {
PersistentStore
}
An abstract superclass defining the API through which Core Data communicates with a store. Full Topic
func IncrementalStoreFrom ¶
func IncrementalStoreFrom(ptr unsafe.Pointer) IncrementalStore
func NewIncrementalStore ¶
func NewIncrementalStore() IncrementalStore
func NewIncrementalStoreWithPersistentStoreCoordinatorConfigurationNameURLOptions ¶
func NewIncrementalStoreWithPersistentStoreCoordinatorConfigurationNameURLOptions(root IPersistentStoreCoordinator, name string, url foundation.IURL, options foundation.Dictionary) IncrementalStore
Returns a store initialized with the given arguments. Full Topic
func (IncrementalStore) ExecuteRequestWithContextError ¶
func (i_ IncrementalStore) ExecuteRequestWithContextError(request IPersistentStoreRequest, context IManagedObjectContext, error unsafe.Pointer) objc.Object
Returns a value as appropriate for the given request, or nil if the request cannot be completed. Full Topic
func (IncrementalStore) Init ¶
func (i_ IncrementalStore) Init() IncrementalStore
func (IncrementalStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions ¶
func (i_ IncrementalStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(root IPersistentStoreCoordinator, name string, url foundation.IURL, options foundation.Dictionary) IncrementalStore
func (IncrementalStore) ManagedObjectContextDidRegisterObjectsWithIDs ¶
func (i_ IncrementalStore) ManagedObjectContextDidRegisterObjectsWithIDs(objectIDs []IManagedObjectID)
Indicates that objects identified by a given array of object IDs are in use in a managed object context. Full Topic
func (IncrementalStore) ManagedObjectContextDidUnregisterObjectsWithIDs ¶
func (i_ IncrementalStore) ManagedObjectContextDidUnregisterObjectsWithIDs(objectIDs []IManagedObjectID)
Indicates that objects identified by a given array of object IDs are no longer being used by a managed object context. Full Topic
func (IncrementalStore) NewObjectIDForEntityReferenceObject ¶
func (i_ IncrementalStore) NewObjectIDForEntityReferenceObject(entity IEntityDescription, data objc.IObject) ManagedObjectID
Returns a new object ID that uses given data as the key. Full Topic
func (IncrementalStore) NewValueForRelationshipForObjectWithIDWithContextError ¶
func (i_ IncrementalStore) NewValueForRelationshipForObjectWithIDWithContextError(relationship IRelationshipDescription, objectID IManagedObjectID, context IManagedObjectContext, error unsafe.Pointer) objc.Object
Returns the relationship for the given relationship of the object with a given object ID. Full Topic
func (IncrementalStore) NewValuesForObjectWithIDWithContextError ¶
func (i_ IncrementalStore) NewValuesForObjectWithIDWithContextError(objectID IManagedObjectID, context IManagedObjectContext, error unsafe.Pointer) IncrementalStoreNode
Returns an incremental store node encapsulating the persistent external values of the object with a given object ID. Full Topic
func (IncrementalStore) ObtainPermanentIDsForObjectsError ¶
func (i_ IncrementalStore) ObtainPermanentIDsForObjectsError(array []IManagedObject, error unsafe.Pointer) []ManagedObjectID
Returns an array containing the object IDs for a given array of newly-inserted objects. Full Topic
func (IncrementalStore) ReferenceObjectForObjectID ¶
func (i_ IncrementalStore) ReferenceObjectForObjectID(objectID IManagedObjectID) objc.Object
Returns the reference data used to construct a given object ID. Full Topic
type IncrementalStoreNode ¶
A concrete class used to represent basic nodes in a Core Data incremental store. Full Topic
func IncrementalStoreNodeFrom ¶
func IncrementalStoreNodeFrom(ptr unsafe.Pointer) IncrementalStoreNode
func NewIncrementalStoreNode ¶
func NewIncrementalStoreNode() IncrementalStoreNode
func NewIncrementalStoreNodeWithObjectIDWithValuesVersion ¶
func NewIncrementalStoreNodeWithObjectIDWithValuesVersion(objectID IManagedObjectID, values map[string]objc.IObject, version uint64) IncrementalStoreNode
Returns an object initialized with the given values. Full Topic
func (IncrementalStoreNode) Init ¶
func (i_ IncrementalStoreNode) Init() IncrementalStoreNode
func (IncrementalStoreNode) InitWithObjectIDWithValuesVersion ¶
func (i_ IncrementalStoreNode) InitWithObjectIDWithValuesVersion(objectID IManagedObjectID, values map[string]objc.IObject, version uint64) IncrementalStoreNode
func (IncrementalStoreNode) ObjectID ¶
func (i_ IncrementalStoreNode) ObjectID() ManagedObjectID
The object ID that identifies the data stored by the receiver. Full Topic
func (IncrementalStoreNode) UpdateWithValuesVersion ¶
func (i_ IncrementalStoreNode) UpdateWithValuesVersion(values map[string]objc.IObject, version uint64)
Update the values and version to reflect new data being saved to or loaded from the external store. Full Topic
func (IncrementalStoreNode) ValueForPropertyDescription ¶
func (i_ IncrementalStoreNode) ValueForPropertyDescription(prop IPropertyDescription) objc.Object
Returns the value for the given property. Full Topic
func (IncrementalStoreNode) Version ¶
func (i_ IncrementalStoreNode) Version() uint64
The version of data in the receiver. Full Topic
type ManagedObject ¶
The base class that all Core Data model objects inherit from. Full Topic
func EntityDescription_InsertNewObjectForEntityForNameInManagedObjectContext ¶
func EntityDescription_InsertNewObjectForEntityForNameInManagedObjectContext(entityName string, context IManagedObjectContext) ManagedObject
Creates, configures, and returns an instance of the class for the entity with a given name. Full Topic
func ManagedObjectFrom ¶
func ManagedObjectFrom(ptr unsafe.Pointer) ManagedObject
func NewManagedObject ¶
func NewManagedObject() ManagedObject
func NewManagedObjectWithContext ¶
func NewManagedObjectWithContext(moc IManagedObjectContext) ManagedObject
Initializes a managed object subclass and inserts it into the specified managed object context. Full Topic
func (ManagedObject) AwakeFromFetch ¶
func (m_ ManagedObject) AwakeFromFetch()
Provides an opportunity to add code into the life cycle of the managed object when fufilling it from a fault. Full Topic
func (ManagedObject) AwakeFromInsert ¶
func (m_ ManagedObject) AwakeFromInsert()
Provides an opportunity to add code into the life cycle of the managed object when initially creating it. Full Topic
func (ManagedObject) AwakeFromSnapshotEvents ¶
func (m_ ManagedObject) AwakeFromSnapshotEvents(flags SnapshotEventType)
Provides an opportunity to add code into the life cycle of the managed object when fulfilling it from a snapshot. Full Topic
func (ManagedObject) ChangedValues ¶
func (m_ ManagedObject) ChangedValues() map[string]objc.Object
Returns a dictionary containing the keys and new values of persistent properties with changes since the last fetching or saving of the managed object. Full Topic
func (ManagedObject) ChangedValuesForCurrentEvent ¶
func (m_ ManagedObject) ChangedValuesForCurrentEvent() map[string]objc.Object
Returns a dictionary containing the keys and new values of persistent properties with changes since the last fetching or saving of the managed object. Full Topic
func (ManagedObject) CommittedValuesForKeys ¶
func (m_ ManagedObject) CommittedValuesForKeys(keys []string) map[string]objc.Object
Returns a dictionary of the most recent fetched or saved values of the managed object for the properties of the specified keys. Full Topic
func (ManagedObject) DidAccessValueForKey ¶
func (m_ ManagedObject) DidAccessValueForKey(key string)
Provides support for key-value observing access notification. Full Topic
func (ManagedObject) DidChangeValueForKey ¶
func (m_ ManagedObject) DidChangeValueForKey(key string)
Provides an opportunity to respond when a value of a given property has changed. Full Topic
func (ManagedObject) DidChangeValueForKeyWithSetMutationUsingObjects ¶
func (m_ ManagedObject) DidChangeValueForKeyWithSetMutationUsingObjects(inKey string, inMutationKind foundation.KeyValueSetMutationKind, inObjects foundation.ISet)
Provides an opportunity to respond when a change was made to a specified to-many relationship. Full Topic
func (ManagedObject) DidSave ¶
func (m_ ManagedObject) DidSave()
Provides an opportunity to add code into the life cycle of the managed object after the managed object’s context completes a save operation. Full Topic
func (ManagedObject) DidTurnIntoFault ¶
func (m_ ManagedObject) DidTurnIntoFault()
Provides an opportunity to add code into the life cycle of the managed object after converting it to a fault. Full Topic
func (ManagedObject) FaultingState ¶
func (m_ ManagedObject) FaultingState() uint
The faulting state of the managed object. Full Topic
func (ManagedObject) HasChanges ¶
func (m_ ManagedObject) HasChanges() bool
A Boolean value that indicates whether the managed object has been inserted, has been deleted, or has unsaved changes. Full Topic
func (ManagedObject) HasFaultForRelationshipNamed ¶
func (m_ ManagedObject) HasFaultForRelationshipNamed(key string) bool
Returns a Boolean value that indicates whether the relationship for a given key is a fault. Full Topic
func (ManagedObject) HasPersistentChangedValues ¶
func (m_ ManagedObject) HasPersistentChangedValues() bool
A Boolean value that indicates whether the managed object has persistent changes. Full Topic
func (ManagedObject) Init ¶
func (m_ ManagedObject) Init() ManagedObject
func (ManagedObject) InitWithContext ¶
func (m_ ManagedObject) InitWithContext(moc IManagedObjectContext) ManagedObject
func (ManagedObject) InitWithEntityInsertIntoManagedObjectContext ¶
func (m_ ManagedObject) InitWithEntityInsertIntoManagedObjectContext(entity IEntityDescription, context IManagedObjectContext) ManagedObject
Initializes a managed object from an entity description and inserts it into the specified managed object context. Full Topic
func (ManagedObject) IsDeleted ¶
func (m_ ManagedObject) IsDeleted() bool
A Boolean value that indicates whether the managed object will be deleted during the next save. Full Topic
func (ManagedObject) IsFault ¶
func (m_ ManagedObject) IsFault() bool
A Boolean value that indicates whether the managed object is a fault. Full Topic
func (ManagedObject) IsInserted ¶
func (m_ ManagedObject) IsInserted() bool
A Boolean value that indicates whether the managed object has been inserted in a managed object context. Full Topic
func (ManagedObject) IsUpdated ¶
func (m_ ManagedObject) IsUpdated() bool
A Boolean value that indicates whether the managed object has unsaved changes. Full Topic
func (ManagedObject) ManagedObjectContext ¶
func (m_ ManagedObject) ManagedObjectContext() ManagedObjectContext
The managed object context with which the managed object is registered. Full Topic
func (ManagedObject) ObjectID ¶
func (m_ ManagedObject) ObjectID() ManagedObjectID
The object ID of the managed object. Full Topic
func (ManagedObject) ObjectIDsForRelationshipNamed ¶
func (m_ ManagedObject) ObjectIDsForRelationshipNamed(key string) []ManagedObjectID
Returns the object IDs for all of the managed objects that are in the named relationship. Full Topic
func (ManagedObject) ObservationInfo ¶
func (m_ ManagedObject) ObservationInfo() unsafe.Pointer
Returns the observation info of the managed object. Full Topic
func (ManagedObject) PrepareForDeletion ¶
func (m_ ManagedObject) PrepareForDeletion()
Provides an opportunity to add code into the life cycle of the managed object before deleting it. Full Topic
func (ManagedObject) PrimitiveValueForKey ¶
func (m_ ManagedObject) PrimitiveValueForKey(key string) objc.Object
Returns the value for the specified property from the managed object’s private internal storage . Full Topic
func (ManagedObject) SetObservationInfo ¶
func (m_ ManagedObject) SetObservationInfo(inObservationInfo unsafe.Pointer)
Sets the observation info of the managed object. Full Topic
func (ManagedObject) SetPrimitiveValueForKey ¶
func (m_ ManagedObject) SetPrimitiveValueForKey(value objc.IObject, key string)
Sets the value of a given property in the managed object's private internal storage. Full Topic
func (ManagedObject) SetValueForKey ¶
func (m_ ManagedObject) SetValueForKey(value objc.IObject, key string)
Sets the specified property of the managed object to the specified value. Full Topic
func (ManagedObject) ValidateForDelete ¶
func (m_ ManagedObject) ValidateForDelete(error unsafe.Pointer) bool
Determines whether the managed object can be deleted in its current state. Full Topic
func (ManagedObject) ValidateForInsert ¶
func (m_ ManagedObject) ValidateForInsert(error unsafe.Pointer) bool
Determines whether the managed object can be inserted in its current state. Full Topic
func (ManagedObject) ValidateForUpdate ¶
func (m_ ManagedObject) ValidateForUpdate(error unsafe.Pointer) bool
Determines whether the managed object's current state is valid. Full Topic
func (ManagedObject) ValidateValueForKeyError ¶
func (m_ ManagedObject) ValidateValueForKeyError(value unsafe.Pointer, key string, error unsafe.Pointer) bool
Validates a property value for a given key. Full Topic
func (ManagedObject) ValueForKey ¶
func (m_ ManagedObject) ValueForKey(key string) objc.Object
Returns the value for the property specified by key. Full Topic
func (ManagedObject) WillAccessValueForKey ¶
func (m_ ManagedObject) WillAccessValueForKey(key string)
Provides support for key-value observing access notification. Full Topic
func (ManagedObject) WillChangeValueForKey ¶
func (m_ ManagedObject) WillChangeValueForKey(key string)
Provides an opportunity to respond when a value of a given property is about to change. Full Topic
func (ManagedObject) WillChangeValueForKeyWithSetMutationUsingObjects ¶
func (m_ ManagedObject) WillChangeValueForKeyWithSetMutationUsingObjects(inKey string, inMutationKind foundation.KeyValueSetMutationKind, inObjects foundation.ISet)
Provides an opportunity to respond when a change is about to be made to a specified to-many relationship. Full Topic
func (ManagedObject) WillSave ¶
func (m_ ManagedObject) WillSave()
Provides an opportunity to add code into the life cycle of the managed object before saving it. Full Topic
func (ManagedObject) WillTurnIntoFault ¶
func (m_ ManagedObject) WillTurnIntoFault()
Provides an opportunity to add code into the life cycle of the managed object before converting it to a fault. Full Topic
type ManagedObjectContext ¶
An object space to manipulate and track changes to managed objects. Full Topic
func ManagedObjectContextFrom ¶
func ManagedObjectContextFrom(ptr unsafe.Pointer) ManagedObjectContext
func NewManagedObjectContext ¶
func NewManagedObjectContext() ManagedObjectContext
func (ManagedObjectContext) AssignObjectToPersistentStore ¶
func (m_ ManagedObjectContext) AssignObjectToPersistentStore(object objc.IObject, store IPersistentStore)
Specifies the store in which a newly inserted object will be saved. Full Topic
func (ManagedObjectContext) AutomaticallyMergesChangesFromParent ¶
func (m_ ManagedObjectContext) AutomaticallyMergesChangesFromParent() bool
A Boolean value that indicates whether the context automatically merges changes saved to its persistent store coordinator or parent context. Full Topic
func (ManagedObjectContext) ConcurrencyType ¶
func (m_ ManagedObjectContext) ConcurrencyType() ManagedObjectContextConcurrencyType
The concurrency type for the context. Full Topic
func (ManagedObjectContext) CountForFetchRequestError ¶
func (m_ ManagedObjectContext) CountForFetchRequestError(request IFetchRequest, error unsafe.Pointer) uint
Returns the number of objects the specified request fetches when it executes. Full Topic
func (ManagedObjectContext) DeleteObject ¶
func (m_ ManagedObjectContext) DeleteObject(object IManagedObject)
Specifies an object that should be removed from its persistent store when changes are committed. Full Topic
func (ManagedObjectContext) DeletedObjects ¶
func (m_ ManagedObjectContext) DeletedObjects() foundation.Set
The set of objects that will be removed from their persistent store during the next save operation. Full Topic
func (ManagedObjectContext) DetectConflictsForObject ¶
func (m_ ManagedObjectContext) DetectConflictsForObject(object IManagedObject)
Marks an object for conflict detection. Full Topic
func (ManagedObjectContext) ExecuteFetchRequestError ¶
func (m_ ManagedObjectContext) ExecuteFetchRequestError(request IFetchRequest, error unsafe.Pointer) []objc.Object
Returns an array of objects that meet the criteria of the specified fetch request. Full Topic
func (ManagedObjectContext) ExecuteRequestError ¶
func (m_ ManagedObjectContext) ExecuteRequestError(request IPersistentStoreRequest, error unsafe.Pointer) PersistentStoreResult
Passes a request to the persistent store without affecting the contents of the managed object context, and returns a persistent store result. Full Topic
func (ManagedObjectContext) ExistingObjectWithIDError ¶
func (m_ ManagedObjectContext) ExistingObjectWithIDError(objectID IManagedObjectID, error unsafe.Pointer) ManagedObject
Returns an existing object from either the context or the persistent store. Full Topic
func (ManagedObjectContext) HasChanges ¶
func (m_ ManagedObjectContext) HasChanges() bool
A Boolean value that indicates whether the context has uncommitted changes. Full Topic
func (ManagedObjectContext) Init ¶
func (m_ ManagedObjectContext) Init() ManagedObjectContext
func (ManagedObjectContext) InsertObject ¶
func (m_ ManagedObjectContext) InsertObject(object IManagedObject)
Registers an object to be inserted in the context’s persistent store the next time changes are saved. Full Topic
func (ManagedObjectContext) InsertedObjects ¶
func (m_ ManagedObjectContext) InsertedObjects() foundation.Set
The set of objects that have been inserted into the context but not yet saved in a persistent store. Full Topic
func (ManagedObjectContext) MergeChangesFromContextDidSaveNotification ¶
func (m_ ManagedObjectContext) MergeChangesFromContextDidSaveNotification(notification foundation.INotification)
Merges the changes specified in a given notification. Full Topic
func (ManagedObjectContext) MergePolicy ¶
func (m_ ManagedObjectContext) MergePolicy() objc.Object
The merge policy of the context. Full Topic
func (ManagedObjectContext) Name ¶
func (m_ ManagedObjectContext) Name() string
The developer-provided name of the context. Full Topic
func (ManagedObjectContext) ObjectRegisteredForID ¶
func (m_ ManagedObjectContext) ObjectRegisteredForID(objectID IManagedObjectID) ManagedObject
Returns an object that exists in the context. Full Topic
func (ManagedObjectContext) ObjectWithID ¶
func (m_ ManagedObjectContext) ObjectWithID(objectID IManagedObjectID) ManagedObject
Returns either an existing object from the context or a fault that represents that object. Full Topic
func (ManagedObjectContext) ObserveValueForKeyPathOfObjectChangeContext ¶
func (m_ ManagedObjectContext) ObserveValueForKeyPathOfObjectChangeContext(keyPath string, object objc.IObject, change map[string]objc.IObject, context unsafe.Pointer)
Allows a context that has registered as an observer of a value to be notified of a change to that value. Full Topic
func (ManagedObjectContext) ObtainPermanentIDsForObjectsError ¶
func (m_ ManagedObjectContext) ObtainPermanentIDsForObjectsError(objects []IManagedObject, error unsafe.Pointer) bool
Converts to permanent IDs the object IDs of the objects in a given array. Full Topic
func (ManagedObjectContext) ParentContext ¶
func (m_ ManagedObjectContext) ParentContext() ManagedObjectContext
The parent of the context. Full Topic
func (ManagedObjectContext) PerformBlock ¶
func (m_ ManagedObjectContext) PerformBlock(block func())
Asynchronously performs the specified block on the context’s queue. Full Topic
func (ManagedObjectContext) PerformBlockAndWait ¶
func (m_ ManagedObjectContext) PerformBlockAndWait(block func())
Synchronously performs the specified block on the context’s queue. Full Topic
func (ManagedObjectContext) PersistentStoreCoordinator ¶
func (m_ ManagedObjectContext) PersistentStoreCoordinator() PersistentStoreCoordinator
The persistent store coordinator of the context. Full Topic
func (ManagedObjectContext) ProcessPendingChanges ¶
func (m_ ManagedObjectContext) ProcessPendingChanges()
Forces the context to process changes to the object graph. Full Topic
func (ManagedObjectContext) PropagatesDeletesAtEndOfEvent ¶
func (m_ ManagedObjectContext) PropagatesDeletesAtEndOfEvent() bool
A Boolean value that indicates whether the context propagates deletes at the end of the event in which a change was made. Full Topic
func (ManagedObjectContext) QueryGenerationToken ¶
func (m_ ManagedObjectContext) QueryGenerationToken() QueryGenerationToken
Returns the token associated with the query generation currently in use by this context. Full Topic
func (ManagedObjectContext) Redo ¶
func (m_ ManagedObjectContext) Redo()
Sends a redo message to the context’s undo manager, asking it to reverse the latest undo operation applied to objects in the object graph. Full Topic
func (ManagedObjectContext) RefreshAllObjects ¶
func (m_ ManagedObjectContext) RefreshAllObjects()
Refreshes all of the registered managed objects in the context. Full Topic
func (ManagedObjectContext) RefreshObjectMergeChanges ¶
func (m_ ManagedObjectContext) RefreshObjectMergeChanges(object IManagedObject, flag bool)
Updates the persistent properties of a managed object to use the latest values from the persistent store. Full Topic
func (ManagedObjectContext) RegisteredObjects ¶
func (m_ ManagedObjectContext) RegisteredObjects() foundation.Set
The set of registered managed objects in the context. Full Topic
func (ManagedObjectContext) Reset ¶
func (m_ ManagedObjectContext) Reset()
Returns the context to its base state. Full Topic
func (ManagedObjectContext) RetainsRegisteredObjects ¶
func (m_ ManagedObjectContext) RetainsRegisteredObjects() bool
A Boolean value that indicates whether the context keeps strong references to all registered managed objects. Full Topic
func (ManagedObjectContext) Rollback ¶
func (m_ ManagedObjectContext) Rollback()
Removes everything from the undo stack, discards all insertions and deletions, and restores updated objects to their last committed values. Full Topic
func (ManagedObjectContext) Save ¶
func (m_ ManagedObjectContext) Save(error unsafe.Pointer) bool
Attempts to commit unsaved changes to registered objects to the context’s parent store. Full Topic
func (ManagedObjectContext) SetAutomaticallyMergesChangesFromParent ¶
func (m_ ManagedObjectContext) SetAutomaticallyMergesChangesFromParent(value bool)
A Boolean value that indicates whether the context automatically merges changes saved to its persistent store coordinator or parent context. Full Topic
func (ManagedObjectContext) SetMergePolicy ¶
func (m_ ManagedObjectContext) SetMergePolicy(value objc.IObject)
The merge policy of the context. Full Topic
func (ManagedObjectContext) SetName ¶
func (m_ ManagedObjectContext) SetName(value string)
The developer-provided name of the context. Full Topic
func (ManagedObjectContext) SetParentContext ¶
func (m_ ManagedObjectContext) SetParentContext(value IManagedObjectContext)
The parent of the context. Full Topic
func (ManagedObjectContext) SetPersistentStoreCoordinator ¶
func (m_ ManagedObjectContext) SetPersistentStoreCoordinator(value IPersistentStoreCoordinator)
The persistent store coordinator of the context. Full Topic
func (ManagedObjectContext) SetPropagatesDeletesAtEndOfEvent ¶
func (m_ ManagedObjectContext) SetPropagatesDeletesAtEndOfEvent(value bool)
A Boolean value that indicates whether the context propagates deletes at the end of the event in which a change was made. Full Topic
func (ManagedObjectContext) SetQueryGenerationFromTokenError ¶
func (m_ ManagedObjectContext) SetQueryGenerationFromTokenError(generation IQueryGenerationToken, error unsafe.Pointer) bool
Sets the query generation this context should use. Full Topic
func (ManagedObjectContext) SetRetainsRegisteredObjects ¶
func (m_ ManagedObjectContext) SetRetainsRegisteredObjects(value bool)
A Boolean value that indicates whether the context keeps strong references to all registered managed objects. Full Topic
func (ManagedObjectContext) SetShouldDeleteInaccessibleFaults ¶
func (m_ ManagedObjectContext) SetShouldDeleteInaccessibleFaults(value bool)
A Boolean value that determines whether the context turns inaccessible faults into deleted objects. Full Topic
func (ManagedObjectContext) SetStalenessInterval ¶
func (m_ ManagedObjectContext) SetStalenessInterval(value foundation.TimeInterval)
The maximum length of time that may have elapsed since the store previously fetched data before fulfilling a fault issues a new fetch. Full Topic
func (ManagedObjectContext) SetTransactionAuthor ¶
func (m_ ManagedObjectContext) SetTransactionAuthor(value string)
The author for the context that is used as an identifier in persistent history transactions. Full Topic
func (ManagedObjectContext) SetUndoManager ¶
func (m_ ManagedObjectContext) SetUndoManager(value foundation.IUndoManager)
The object that provides undo support for the context. Full Topic
func (ManagedObjectContext) ShouldDeleteInaccessibleFaults ¶
func (m_ ManagedObjectContext) ShouldDeleteInaccessibleFaults() bool
A Boolean value that determines whether the context turns inaccessible faults into deleted objects. Full Topic
func (ManagedObjectContext) ShouldHandleInaccessibleFaultForObjectIDTriggeredByProperty ¶
func (m_ ManagedObjectContext) ShouldHandleInaccessibleFaultForObjectIDTriggeredByProperty(fault IManagedObject, oid IManagedObjectID, property IPropertyDescription) bool
Creates a log of the inaccessible fault. Full Topic
func (ManagedObjectContext) StalenessInterval ¶
func (m_ ManagedObjectContext) StalenessInterval() foundation.TimeInterval
The maximum length of time that may have elapsed since the store previously fetched data before fulfilling a fault issues a new fetch. Full Topic
func (ManagedObjectContext) TransactionAuthor ¶
func (m_ ManagedObjectContext) TransactionAuthor() string
The author for the context that is used as an identifier in persistent history transactions. Full Topic
func (ManagedObjectContext) Undo ¶
func (m_ ManagedObjectContext) Undo()
Sends an undo message to the context’s undo manager, asking it to reverse the latest uncommitted changes applied to objects in the object graph. Full Topic
func (ManagedObjectContext) UndoManager ¶
func (m_ ManagedObjectContext) UndoManager() foundation.UndoManager
The object that provides undo support for the context. Full Topic
func (ManagedObjectContext) UpdatedObjects ¶
func (m_ ManagedObjectContext) UpdatedObjects() foundation.Set
The set of objects registered with the context that have uncommitted changes. Full Topic
func (ManagedObjectContext) UserInfo ¶
func (m_ ManagedObjectContext) UserInfo() foundation.MutableDictionary
The user information for the context. Full Topic
type ManagedObjectContextConcurrencyType ¶
type ManagedObjectContextConcurrencyType uint
The concurrency types you can use with a managed object context. Full Topic
const ( ConfinementConcurrencyType ManagedObjectContextConcurrencyType = 0 MainQueueConcurrencyType ManagedObjectContextConcurrencyType = 2 PrivateQueueConcurrencyType ManagedObjectContextConcurrencyType = 1 )
type ManagedObjectID ¶
A compact, universal identifier for a managed object. Full Topic
func ManagedObjectIDFrom ¶
func ManagedObjectIDFrom(ptr unsafe.Pointer) ManagedObjectID
func NewManagedObjectID ¶
func NewManagedObjectID() ManagedObjectID
func (ManagedObjectID) Entity ¶
func (m_ ManagedObjectID) Entity() EntityDescription
The entity description associated with the object ID. Full Topic
func (ManagedObjectID) Init ¶
func (m_ ManagedObjectID) Init() ManagedObjectID
func (ManagedObjectID) IsTemporaryID ¶
func (m_ ManagedObjectID) IsTemporaryID() bool
A Boolean value that indicates whether the object ID is temporary. Full Topic
func (ManagedObjectID) PersistentStore ¶
func (m_ ManagedObjectID) PersistentStore() PersistentStore
The persistent store that fetched the object for the object ID. Full Topic
func (ManagedObjectID) URIRepresentation ¶
func (m_ ManagedObjectID) URIRepresentation() foundation.URL
Returns a URI that provides an archiveable reference to the object for the object ID. Full Topic
type ManagedObjectModel ¶
A programmatic representation of the .xcdatamodeld file describing your objects. Full Topic
func ManagedObjectModelFrom ¶
func ManagedObjectModelFrom(ptr unsafe.Pointer) ManagedObjectModel
func ManagedObjectModel_MergedModelFromBundles ¶
func ManagedObjectModel_MergedModelFromBundles(bundles []foundation.IBundle) ManagedObjectModel
Returns a model created by merging all the models found in given bundles. Full Topic
func ManagedObjectModel_MergedModelFromBundlesForStoreMetadata ¶
func ManagedObjectModel_MergedModelFromBundlesForStoreMetadata(bundles []foundation.IBundle, metadata map[string]objc.IObject) ManagedObjectModel
Returns a merged model from a specified array for the version information in provided metadata. Full Topic
func ManagedObjectModel_ModelByMergingModels ¶
func ManagedObjectModel_ModelByMergingModels(models []IManagedObjectModel) ManagedObjectModel
Creates a single model from an array of existing models. Full Topic
func ManagedObjectModel_ModelByMergingModelsForStoreMetadata ¶
func ManagedObjectModel_ModelByMergingModelsForStoreMetadata(models []IManagedObjectModel, metadata map[string]objc.IObject) ManagedObjectModel
Returns, for the version information in given metadata, a model merged from a given array of models. Full Topic
func NewManagedObjectModel ¶
func NewManagedObjectModel() ManagedObjectModel
func NewManagedObjectModelWithContentsOfURL ¶
func NewManagedObjectModelWithContentsOfURL(url foundation.IURL) ManagedObjectModel
Initializes the managed object model using the model file at the specified URL. Full Topic
func (ManagedObjectModel) Configurations ¶
func (m_ ManagedObjectModel) Configurations() []string
All the available configuration names of the model. Full Topic
func (ManagedObjectModel) Entities ¶
func (m_ ManagedObjectModel) Entities() []EntityDescription
The entities in the model. Full Topic
func (ManagedObjectModel) EntitiesByName ¶
func (m_ ManagedObjectModel) EntitiesByName() map[string]EntityDescription
The entities of the model, keyed by name. Full Topic
func (ManagedObjectModel) EntitiesForConfiguration ¶
func (m_ ManagedObjectModel) EntitiesForConfiguration(configuration string) []EntityDescription
Returns the entities of the model for a specified configuration. Full Topic
func (ManagedObjectModel) EntityVersionHashesByName ¶
func (m_ ManagedObjectModel) EntityVersionHashesByName() map[string][]byte
The dictionary of the model’s entity names and their corresponding version hashes. Full Topic
func (ManagedObjectModel) FetchRequestFromTemplateWithNameSubstitutionVariables ¶
func (m_ ManagedObjectModel) FetchRequestFromTemplateWithNameSubstitutionVariables(name string, variables map[string]objc.IObject) FetchRequest
Returns a copy of the fetch request template with the variables substituted by values from the substitutions dictionary. Full Topic
func (ManagedObjectModel) FetchRequestTemplateForName ¶
func (m_ ManagedObjectModel) FetchRequestTemplateForName(name string) FetchRequest
Returns the fetch request with a specified name. Full Topic
func (ManagedObjectModel) FetchRequestTemplatesByName ¶
func (m_ ManagedObjectModel) FetchRequestTemplatesByName() map[string]FetchRequest
A dictionary of the receiver’s fetch request templates, keyed by name. Full Topic
func (ManagedObjectModel) Init ¶
func (m_ ManagedObjectModel) Init() ManagedObjectModel
func (ManagedObjectModel) InitWithContentsOfURL ¶
func (m_ ManagedObjectModel) InitWithContentsOfURL(url foundation.IURL) ManagedObjectModel
func (ManagedObjectModel) IsConfigurationCompatibleWithStoreMetadata ¶
func (m_ ManagedObjectModel) IsConfigurationCompatibleWithStoreMetadata(configuration string, metadata map[string]objc.IObject) bool
Returns a Boolean value that indicates whether a given configuration in the model is compatible with given metadata from a persistent store. Full Topic
func (ManagedObjectModel) LocalizationDictionary ¶
func (m_ ManagedObjectModel) LocalizationDictionary() map[string]string
The localization dictionary of the model. Full Topic
func (ManagedObjectModel) SetEntities ¶
func (m_ ManagedObjectModel) SetEntities(value []IEntityDescription)
The entities in the model. Full Topic
func (ManagedObjectModel) SetEntitiesForConfiguration ¶
func (m_ ManagedObjectModel) SetEntitiesForConfiguration(entities []IEntityDescription, configuration string)
Associates the specified entities with the model using the given configuration name. Full Topic
func (ManagedObjectModel) SetFetchRequestTemplateForName ¶
func (m_ ManagedObjectModel) SetFetchRequestTemplateForName(fetchRequestTemplate IFetchRequest, name string)
Associates the specified fetch request with the receiver using the given name. Full Topic
func (ManagedObjectModel) SetLocalizationDictionary ¶
func (m_ ManagedObjectModel) SetLocalizationDictionary(value map[string]string)
The localization dictionary of the model. Full Topic
func (ManagedObjectModel) SetVersionIdentifiers ¶
func (m_ ManagedObjectModel) SetVersionIdentifiers(value foundation.ISet)
The set of developer-defined version identifiers for the object model. Full Topic
func (ManagedObjectModel) VersionIdentifiers ¶
func (m_ ManagedObjectModel) VersionIdentifiers() foundation.Set
The set of developer-defined version identifiers for the object model. Full Topic
type MappingModel ¶
A model instance that specifies how to map a model from a source to a destination managed object model. Full Topic
func MappingModelFrom ¶
func MappingModelFrom(ptr unsafe.Pointer) MappingModel
func MappingModel_InferredMappingModelForSourceModelDestinationModelError ¶
func MappingModel_InferredMappingModelForSourceModelDestinationModelError(sourceModel IManagedObjectModel, destinationModel IManagedObjectModel, error unsafe.Pointer) MappingModel
Returns a newly created mapping model that will migrate data from the source to the destination model. Full Topic
func MappingModel_MappingModelFromBundlesForSourceModelDestinationModel ¶
func MappingModel_MappingModelFromBundlesForSourceModelDestinationModel(bundles []foundation.IBundle, sourceModel IManagedObjectModel, destinationModel IManagedObjectModel) MappingModel
Returns the mapping model that will translate data from the source to the destination model. Full Topic
func NewMappingModel ¶
func NewMappingModel() MappingModel
func NewMappingModelWithContentsOfURL ¶
func NewMappingModelWithContentsOfURL(url foundation.IURL) MappingModel
Returns a mapping model initialized from a given URL. Full Topic
func (MappingModel) EntityMappings ¶
func (m_ MappingModel) EntityMappings() []EntityMapping
The entity mappings for the mapping model. Full Topic
func (MappingModel) EntityMappingsByName ¶
func (m_ MappingModel) EntityMappingsByName() map[string]EntityMapping
The entity mappings for the mapping model, keyed by name. Full Topic
func (MappingModel) Init ¶
func (m_ MappingModel) Init() MappingModel
func (MappingModel) InitWithContentsOfURL ¶
func (m_ MappingModel) InitWithContentsOfURL(url foundation.IURL) MappingModel
func (MappingModel) SetEntityMappings ¶
func (m_ MappingModel) SetEntityMappings(value []IEntityMapping)
The entity mappings for the mapping model. Full Topic
type MergeConflict ¶
An encapsulation of conflicts that occur during an attempt to save changes in a managed object context. Full Topic
func MergeConflictFrom ¶
func MergeConflictFrom(ptr unsafe.Pointer) MergeConflict
func NewMergeConflict ¶
func NewMergeConflict() MergeConflict
func NewMergeConflictWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot ¶
func NewMergeConflictWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot(srcObject IManagedObject, newvers uint, oldvers uint, cachesnap map[string]objc.IObject, persnap map[string]objc.IObject) MergeConflict
Initializes a merge conflict. Full Topic
func (MergeConflict) CachedSnapshot ¶
func (m_ MergeConflict) CachedSnapshot() map[string]objc.Object
A dictionary containing the values of the source object held in the persistent store coordinator layer. Full Topic
func (MergeConflict) Init ¶
func (m_ MergeConflict) Init() MergeConflict
func (MergeConflict) InitWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot ¶
func (m_ MergeConflict) InitWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot(srcObject IManagedObject, newvers uint, oldvers uint, cachesnap map[string]objc.IObject, persnap map[string]objc.IObject) MergeConflict
func (MergeConflict) NewVersionNumber ¶
func (m_ MergeConflict) NewVersionNumber() uint
The new version number for the change. Full Topic
func (MergeConflict) ObjectSnapshot ¶
func (m_ MergeConflict) ObjectSnapshot() map[string]objc.Object
A dictionary containing the values of the source object. Full Topic
func (MergeConflict) OldVersionNumber ¶
func (m_ MergeConflict) OldVersionNumber() uint
The old version number for the change. Full Topic
func (MergeConflict) PersistedSnapshot ¶
func (m_ MergeConflict) PersistedSnapshot() map[string]objc.Object
A dictionary containing the values of the source object held in the persistent store. Full Topic
func (MergeConflict) SourceObject ¶
func (m_ MergeConflict) SourceObject() ManagedObject
The source object for the conflict. Full Topic
type MergePolicy ¶
A policy object that you use to resolve conflicts between the persistent store and in-memory versions of managed objects. Full Topic
func MergePolicyFrom ¶
func MergePolicyFrom(ptr unsafe.Pointer) MergePolicy
func MergePolicy_ErrorMergePolicy ¶
func MergePolicy_ErrorMergePolicy() MergePolicy
The default merge policy for all managed object contexts. Full Topic
func MergePolicy_MergeByPropertyObjectTrumpMergePolicy ¶
func MergePolicy_MergeByPropertyObjectTrumpMergePolicy() MergePolicy
A property-based merge policy that applies in-memory changes. Full Topic
func MergePolicy_MergeByPropertyStoreTrumpMergePolicy ¶
func MergePolicy_MergeByPropertyStoreTrumpMergePolicy() MergePolicy
A property-based merge policy that applies external changes. Full Topic
func MergePolicy_OverwriteMergePolicy ¶
func MergePolicy_OverwriteMergePolicy() MergePolicy
A merge policy that overwrites the entire stored object. Full Topic
func MergePolicy_RollbackMergePolicy ¶
func MergePolicy_RollbackMergePolicy() MergePolicy
A merge policy that discards unsaved changes. Full Topic
func NewMergePolicy ¶
func NewMergePolicy() MergePolicy
func (MergePolicy) Init ¶
func (m_ MergePolicy) Init() MergePolicy
func (MergePolicy) InitWithMergeType ¶
func (m_ MergePolicy) InitWithMergeType(ty MergePolicyType) objc.Object
Returns a merge policy initialized with a given policy type. Full Topic
func (MergePolicy) MergeType ¶
func (m_ MergePolicy) MergeType() MergePolicyType
The merge type. Full Topic
func (MergePolicy) ResolveConflictsError ¶
Resolves the conflicts in a given list. Full Topic
func (MergePolicy) ResolveConstraintConflictsError ¶
func (m_ MergePolicy) ResolveConstraintConflictsError(list []IConstraintConflict, error unsafe.Pointer) bool
Resolves the conflicts in a given list. Full Topic
func (MergePolicy) ResolveOptimisticLockingVersionConflictsError ¶
func (m_ MergePolicy) ResolveOptimisticLockingVersionConflictsError(list []IMergeConflict, error unsafe.Pointer) bool
Resolves the conflicts in a given list. Full Topic
type MergePolicyType ¶
type MergePolicyType uint
Constants that define merge policy types. Full Topic
const ( ErrorMergePolicyType MergePolicyType = 0 MergeByPropertyObjectTrumpMergePolicyType MergePolicyType = 2 MergeByPropertyStoreTrumpMergePolicyType MergePolicyType = 1 OverwriteMergePolicyType MergePolicyType = 3 RollbackMergePolicyType MergePolicyType = 4 )
type MigrationManager ¶
A migration manager instance that performs a migration of data from one persistent store to another using a given mapping model. Full Topic
func MigrationManagerFrom ¶
func MigrationManagerFrom(ptr unsafe.Pointer) MigrationManager
func NewMigrationManager ¶
func NewMigrationManager() MigrationManager
func NewMigrationManagerWithSourceModelDestinationModel ¶
func NewMigrationManagerWithSourceModelDestinationModel(sourceModel IManagedObjectModel, destinationModel IManagedObjectModel) MigrationManager
Initializes a migration manager instance with given source and destination models. Full Topic
func (MigrationManager) AssociateSourceInstanceWithDestinationInstanceForEntityMapping ¶
func (m_ MigrationManager) AssociateSourceInstanceWithDestinationInstanceForEntityMapping(sourceInstance IManagedObject, destinationInstance IManagedObject, entityMapping IEntityMapping)
Associates a given source managed object instance with an array of destination instances for a given property mapping. Full Topic
func (MigrationManager) CancelMigrationWithError ¶
func (m_ MigrationManager) CancelMigrationWithError(error foundation.IError)
Cancels the migration with a given error. Full Topic
func (MigrationManager) CurrentEntityMapping ¶
func (m_ MigrationManager) CurrentEntityMapping() EntityMapping
The entity mapping currently being processed. Full Topic
func (MigrationManager) DestinationContext ¶
func (m_ MigrationManager) DestinationContext() ManagedObjectContext
The managed object context the migration manager uses for writing the destination persistent store. Full Topic
func (MigrationManager) DestinationEntityForEntityMapping ¶
func (m_ MigrationManager) DestinationEntityForEntityMapping(mEntity IEntityMapping) EntityDescription
Returns the entity description for the destination entity of a given entity mapping. Full Topic
func (MigrationManager) DestinationInstancesForEntityMappingNamedSourceInstances ¶
func (m_ MigrationManager) DestinationInstancesForEntityMappingNamedSourceInstances(mappingName string, sourceInstances []IManagedObject) []ManagedObject
Returns the managed object instances created in the destination store for the named entity mapping for the given array of source instances. Full Topic
func (MigrationManager) DestinationModel ¶
func (m_ MigrationManager) DestinationModel() ManagedObjectModel
The destination model for the migration manager. Full Topic
func (MigrationManager) Init ¶
func (m_ MigrationManager) Init() MigrationManager
func (MigrationManager) InitWithSourceModelDestinationModel ¶
func (m_ MigrationManager) InitWithSourceModelDestinationModel(sourceModel IManagedObjectModel, destinationModel IManagedObjectModel) MigrationManager
func (MigrationManager) MappingModel ¶
func (m_ MigrationManager) MappingModel() MappingModel
The mapping model for the migration manager. Full Topic
func (MigrationManager) MigrationProgress ¶
func (m_ MigrationManager) MigrationProgress() float32
A number between 0 and 1 that indicates the proportion of completeness of the migration. Full Topic
func (MigrationManager) Reset ¶
func (m_ MigrationManager) Reset()
Resets the association tables for the migration. Full Topic
func (MigrationManager) SetUserInfo ¶
func (m_ MigrationManager) SetUserInfo(value foundation.Dictionary)
The user info for the migration manager. Full Topic
func (MigrationManager) SetUsesStoreSpecificMigrationManager ¶
func (m_ MigrationManager) SetUsesStoreSpecificMigrationManager(value bool)
A Boolean value that indicates whether the migration manager tries to use a store specific migration manager to perform the migration. Full Topic
func (MigrationManager) SourceContext ¶
func (m_ MigrationManager) SourceContext() ManagedObjectContext
The managed object context the migration manager uses for reading the source persistent store. Full Topic
func (MigrationManager) SourceEntityForEntityMapping ¶
func (m_ MigrationManager) SourceEntityForEntityMapping(mEntity IEntityMapping) EntityDescription
Returns the entity description for the source entity of a given entity mapping. Full Topic
func (MigrationManager) SourceInstancesForEntityMappingNamedDestinationInstances ¶
func (m_ MigrationManager) SourceInstancesForEntityMappingNamedDestinationInstances(mappingName string, destinationInstances []IManagedObject) []ManagedObject
Returns the managed object instances in the source store used to create the given destination instances for the passed in property mapping. Full Topic
func (MigrationManager) SourceModel ¶
func (m_ MigrationManager) SourceModel() ManagedObjectModel
The source model for the migration manager. Full Topic
func (MigrationManager) UserInfo ¶
func (m_ MigrationManager) UserInfo() foundation.Dictionary
The user info for the migration manager. Full Topic
func (MigrationManager) UsesStoreSpecificMigrationManager ¶
func (m_ MigrationManager) UsesStoreSpecificMigrationManager() bool
A Boolean value that indicates whether the migration manager tries to use a store specific migration manager to perform the migration. Full Topic
type PFetchRequestResult ¶
type PFetchRequestResult interface { }
An abstract protocol used with parameterized fetch requests. Full Topic
type PFetchedResultsControllerDelegate ¶
type PFetchedResultsControllerDelegate interface { // optional ControllerDidChangeContentWithDifference(controller FetchedResultsController, diff foundation.OrderedCollectionDifference) HasControllerDidChangeContentWithDifference() bool // optional ControllerDidChangeSectionAtIndexForChangeType(controller FetchedResultsController, sectionInfo FetchedResultsSectionInfoObject, sectionIndex uint, type_ FetchedResultsChangeType) HasControllerDidChangeSectionAtIndexForChangeType() bool // optional ControllerSectionIndexTitleForSectionName(controller FetchedResultsController, sectionName string) string HasControllerSectionIndexTitleForSectionName() bool // optional ControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath(controller FetchedResultsController, anObject objc.Object, indexPath foundation.IndexPath, type_ FetchedResultsChangeType, newIndexPath foundation.IndexPath) HasControllerDidChangeObjectAtIndexPathForChangeTypeNewIndexPath() bool // optional ControllerWillChangeContent(controller FetchedResultsController) HasControllerWillChangeContent() bool // optional ControllerDidChangeContent(controller FetchedResultsController) HasControllerDidChangeContent() bool }
A delegate protocol that describes the methods that will be called by the associated fetched results controller when the fetch results have changed. Full Topic
type PFetchedResultsSectionInfo ¶
type PFetchedResultsSectionInfo interface { // optional Name() string HasName() bool // optional IndexTitle() string HasIndexTitle() bool // optional Objects() []objc.Object HasObjects() bool // optional NumberOfObjects() uint HasNumberOfObjects() bool }
A protocol that defines the interface for section objects vended by a fetched results controller. Full Topic
type PersistentCloudKitContainer ¶
type PersistentCloudKitContainer struct {
PersistentContainer
}
A container that encapsulates the Core Data stack in your app, and mirrors select persistent stores to a CloudKit private database. Full Topic
func NewPersistentCloudKitContainer ¶
func NewPersistentCloudKitContainer() PersistentCloudKitContainer
func NewPersistentCloudKitContainerWithName ¶
func NewPersistentCloudKitContainerWithName(name string) PersistentCloudKitContainer
Creates a container with the specified name. Full Topic
func NewPersistentCloudKitContainerWithNameManagedObjectModel ¶
func NewPersistentCloudKitContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentCloudKitContainer
Create a container with the specified name and managed object model. Full Topic
func PersistentCloudKitContainerFrom ¶
func PersistentCloudKitContainerFrom(ptr unsafe.Pointer) PersistentCloudKitContainer
func PersistentCloudKitContainer_PersistentContainerWithName ¶
func PersistentCloudKitContainer_PersistentContainerWithName(name string) PersistentCloudKitContainer
Initializes a new persistent container using the provided name for the container. Full Topic
func PersistentCloudKitContainer_PersistentContainerWithNameManagedObjectModel ¶
func PersistentCloudKitContainer_PersistentContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentCloudKitContainer
Initializes a new persistent container using the provided name and managed object model. Full Topic
func (PersistentCloudKitContainer) AcceptShareInvitationsFromMetadataIntoPersistentStoreCompletion ¶
func (p_ PersistentCloudKitContainer) AcceptShareInvitationsFromMetadataIntoPersistentStoreCompletion(metadata []cloudkit.IShareMetadata, persistentStore IPersistentStore, completion func(acceptedShareMetadatas []cloudkit.ShareMetadata, acceptOperationError foundation.Error))
Accepts one or more invitations to participate in sharing using the specified metadata. Full Topic
func (PersistentCloudKitContainer) CanDeleteRecordForManagedObjectWithID ¶
func (p_ PersistentCloudKitContainer) CanDeleteRecordForManagedObjectWithID(objectID IManagedObjectID) bool
Returns a Boolean value that indicates whether the user can delete the managed object’s underlying CloudKit record. Full Topic
func (PersistentCloudKitContainer) CanModifyManagedObjectsInStore ¶
func (p_ PersistentCloudKitContainer) CanModifyManagedObjectsInStore(store IPersistentStore) bool
Returns a Boolean value that indicates whether the user can modify the specified persistent store. Full Topic
func (PersistentCloudKitContainer) CanUpdateRecordForManagedObjectWithID ¶
func (p_ PersistentCloudKitContainer) CanUpdateRecordForManagedObjectWithID(objectID IManagedObjectID) bool
Returns a Boolean value that indicates whether the user can modify the managed object’s underlying CloudKit record. Full Topic
func (PersistentCloudKitContainer) FetchParticipantsMatchingLookupInfosIntoPersistentStoreCompletion ¶
func (p_ PersistentCloudKitContainer) FetchParticipantsMatchingLookupInfosIntoPersistentStoreCompletion(lookupInfos []cloudkit.IUserIdentityLookupInfo, persistentStore IPersistentStore, completion func(fetchedParticipants []cloudkit.ShareParticipant, fetchError foundation.Error))
Fetches all participants that match the specified critieria. Full Topic
func (PersistentCloudKitContainer) FetchSharesInPersistentStoreError ¶
func (p_ PersistentCloudKitContainer) FetchSharesInPersistentStoreError(persistentStore IPersistentStore, error unsafe.Pointer) []cloudkit.Share
Returns an array that contains all share records in the specified persistent store. Full Topic
func (PersistentCloudKitContainer) FetchSharesMatchingObjectIDsError ¶
func (p_ PersistentCloudKitContainer) FetchSharesMatchingObjectIDsError(objectIDs []IManagedObjectID, error unsafe.Pointer) foundation.Dictionary
Returns a dictionary that contains the share records that CloudKit associates with specified managed object IDs. Full Topic
func (PersistentCloudKitContainer) Init ¶
func (p_ PersistentCloudKitContainer) Init() PersistentCloudKitContainer
func (PersistentCloudKitContainer) InitWithName ¶
func (p_ PersistentCloudKitContainer) InitWithName(name string) PersistentCloudKitContainer
func (PersistentCloudKitContainer) InitWithNameManagedObjectModel ¶
func (p_ PersistentCloudKitContainer) InitWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentCloudKitContainer
func (PersistentCloudKitContainer) InitializeCloudKitSchemaWithOptionsError ¶
func (p_ PersistentCloudKitContainer) InitializeCloudKitSchemaWithOptionsError(options PersistentCloudKitContainerSchemaInitializationOptions, error unsafe.Pointer) bool
Creates the CloudKit schema for all stores in the container that manage a CloudKit database. Full Topic
func (PersistentCloudKitContainer) PersistUpdatedShareInPersistentStoreCompletion ¶
func (p_ PersistentCloudKitContainer) PersistUpdatedShareInPersistentStoreCompletion(share cloudkit.IShare, persistentStore IPersistentStore, completion func(persistedShare cloudkit.Share, persistedShareError foundation.Error))
Saves the share record and schedules it for export to iCloud. Full Topic
func (PersistentCloudKitContainer) PurgeObjectsAndRecordsInZoneWithIDInPersistentStoreCompletion ¶
func (p_ PersistentCloudKitContainer) PurgeObjectsAndRecordsInZoneWithIDInPersistentStoreCompletion(zoneID cloudkit.IRecordZoneID, persistentStore IPersistentStore, completion func(purgedZoneID cloudkit.RecordZoneID, purgeError foundation.Error))
Deletes all CloudKit records in the specified record zone, along with their corresponding managed objects. Full Topic
func (PersistentCloudKitContainer) RecordForManagedObjectID ¶
func (p_ PersistentCloudKitContainer) RecordForManagedObjectID(managedObjectID IManagedObjectID) cloudkit.Record
Returns the CloudKit record for the specified managed object ID. Full Topic
func (PersistentCloudKitContainer) RecordIDForManagedObjectID ¶
func (p_ PersistentCloudKitContainer) RecordIDForManagedObjectID(managedObjectID IManagedObjectID) cloudkit.RecordID
Returns the CloudKit record ID for the specified managed object ID. Full Topic
func (PersistentCloudKitContainer) RecordIDsForManagedObjectIDs ¶
func (p_ PersistentCloudKitContainer) RecordIDsForManagedObjectIDs(managedObjectIDs []IManagedObjectID) foundation.Dictionary
Returns a dictionary that contains the CloudKit record IDs for the specified managed object IDs. Full Topic
func (PersistentCloudKitContainer) RecordsForManagedObjectIDs ¶
func (p_ PersistentCloudKitContainer) RecordsForManagedObjectIDs(managedObjectIDs []IManagedObjectID) foundation.Dictionary
Returns a dictionary that contains the CloudKit records for the specified managed object IDs. Full Topic
type PersistentCloudKitContainerEvent ¶
An object that represents activity in a persistent CloudKit container. Full Topic
func NewPersistentCloudKitContainerEvent ¶
func NewPersistentCloudKitContainerEvent() PersistentCloudKitContainerEvent
func PersistentCloudKitContainerEventFrom ¶
func PersistentCloudKitContainerEventFrom(ptr unsafe.Pointer) PersistentCloudKitContainerEvent
func (PersistentCloudKitContainerEvent) EndDate ¶
func (p_ PersistentCloudKitContainerEvent) EndDate() foundation.Date
The end date of the operation that the event represents. Full Topic
func (PersistentCloudKitContainerEvent) Error ¶
func (p_ PersistentCloudKitContainerEvent) Error() foundation.Error
An error that indicates why an operation fails. Full Topic
func (PersistentCloudKitContainerEvent) Identifier ¶
func (p_ PersistentCloudKitContainerEvent) Identifier() foundation.UUID
A unique identifier for the event in a container. Full Topic
func (PersistentCloudKitContainerEvent) Init ¶
func (p_ PersistentCloudKitContainerEvent) Init() PersistentCloudKitContainerEvent
func (PersistentCloudKitContainerEvent) StartDate ¶
func (p_ PersistentCloudKitContainerEvent) StartDate() foundation.Date
The start date of the operation that the event represents. Full Topic
func (PersistentCloudKitContainerEvent) StoreIdentifier ¶
func (p_ PersistentCloudKitContainerEvent) StoreIdentifier() string
The associated store identifier in the container for the event. Full Topic
func (PersistentCloudKitContainerEvent) Succeeded ¶
func (p_ PersistentCloudKitContainerEvent) Succeeded() bool
A Boolean value that indicates whether the operation the event represents is successful. Full Topic
func (PersistentCloudKitContainerEvent) Type ¶
func (p_ PersistentCloudKitContainerEvent) Type() PersistentCloudKitContainerEventType
The type of event, either setup, import, or export. Full Topic
type PersistentCloudKitContainerEventRequest ¶
type PersistentCloudKitContainerEventRequest struct {
PersistentStoreRequest
}
A request to fetch setup, import, or export events in a persistent CloudKit container. Full Topic
func NewPersistentCloudKitContainerEventRequest ¶
func NewPersistentCloudKitContainerEventRequest() PersistentCloudKitContainerEventRequest
func PersistentCloudKitContainerEventRequestFrom ¶
func PersistentCloudKitContainerEventRequestFrom(ptr unsafe.Pointer) PersistentCloudKitContainerEventRequest
func PersistentCloudKitContainerEventRequest_FetchEventsAfterDate ¶
func PersistentCloudKitContainerEventRequest_FetchEventsAfterDate(date foundation.IDate) PersistentCloudKitContainerEventRequest
Creates a fetch request for events after a specified date from a persistent CloudKit container. Full Topic
func PersistentCloudKitContainerEventRequest_FetchEventsAfterEvent ¶
func PersistentCloudKitContainerEventRequest_FetchEventsAfterEvent(event IPersistentCloudKitContainerEvent) PersistentCloudKitContainerEventRequest
Creates a fetch request for events that occur after a specified event from a persistent CloudKit container. Full Topic
func PersistentCloudKitContainerEventRequest_FetchEventsMatchingFetchRequest ¶
func PersistentCloudKitContainerEventRequest_FetchEventsMatchingFetchRequest(fetchRequest IFetchRequest) PersistentCloudKitContainerEventRequest
Creates a fetch request for events that match a specified fetch request from a persistent CloudKit container. Full Topic
func (PersistentCloudKitContainerEventRequest) ResultType ¶
func (p_ PersistentCloudKitContainerEventRequest) ResultType() PersistentCloudKitContainerEventResultType
The type of result that the request returns. Full Topic
func (PersistentCloudKitContainerEventRequest) SetResultType ¶
func (p_ PersistentCloudKitContainerEventRequest) SetResultType(value PersistentCloudKitContainerEventResultType)
The type of result that the request returns. Full Topic
type PersistentCloudKitContainerEventResult ¶
type PersistentCloudKitContainerEventResult struct {
PersistentStoreResult
}
The result of a request to fetch persistent CloudKit container events. Full Topic
func NewPersistentCloudKitContainerEventResult ¶
func NewPersistentCloudKitContainerEventResult() PersistentCloudKitContainerEventResult
func PersistentCloudKitContainerEventResultFrom ¶
func PersistentCloudKitContainerEventResultFrom(ptr unsafe.Pointer) PersistentCloudKitContainerEventResult
func (PersistentCloudKitContainerEventResult) Result ¶
func (p_ PersistentCloudKitContainerEventResult) Result() objc.Object
The result of the persistent CloudKit container event request, which the result type determines. Full Topic
func (PersistentCloudKitContainerEventResult) ResultType ¶
func (p_ PersistentCloudKitContainerEventResult) ResultType() PersistentCloudKitContainerEventResultType
The type of result that the CloudKit container event fetch request returns. Full Topic
type PersistentCloudKitContainerEventResultType ¶
type PersistentCloudKitContainerEventResultType int
The types of results from a persistent CloudKit container event fetch request. Full Topic
const ( PersistentCloudKitContainerEventResultTypeCountEvents PersistentCloudKitContainerEventResultType = 1 PersistentCloudKitContainerEventResultTypeEvents PersistentCloudKitContainerEventResultType = 0 )
type PersistentCloudKitContainerEventType ¶
type PersistentCloudKitContainerEventType int
The type of event in a persistent CloudKit container, either setup, import, or export. Full Topic
const ( PersistentCloudKitContainerEventTypeExport PersistentCloudKitContainerEventType = 2 PersistentCloudKitContainerEventTypeImport PersistentCloudKitContainerEventType = 1 PersistentCloudKitContainerEventTypeSetup PersistentCloudKitContainerEventType = 0 )
type PersistentCloudKitContainerOptions ¶
An object that customizes how a store description aligns with a CloudKit database. Full Topic
func NewPersistentCloudKitContainerOptions ¶
func NewPersistentCloudKitContainerOptions() PersistentCloudKitContainerOptions
func NewPersistentCloudKitContainerOptionsWithContainerIdentifier ¶
func NewPersistentCloudKitContainerOptionsWithContainerIdentifier(containerIdentifier string) PersistentCloudKitContainerOptions
Initializes container options using the given CloudKit container identifier. Full Topic
func PersistentCloudKitContainerOptionsFrom ¶
func PersistentCloudKitContainerOptionsFrom(ptr unsafe.Pointer) PersistentCloudKitContainerOptions
func (PersistentCloudKitContainerOptions) ContainerIdentifier ¶
func (p_ PersistentCloudKitContainerOptions) ContainerIdentifier() string
The identifier of the CloudKit container associated with a given store description. Full Topic
func (PersistentCloudKitContainerOptions) DatabaseScope ¶
func (p_ PersistentCloudKitContainerOptions) DatabaseScope() cloudkit.DatabaseScope
The database scope — public, private, or shared — to use for a specified store in a persistent CloudKit container. Full Topic
func (PersistentCloudKitContainerOptions) Init ¶
func (p_ PersistentCloudKitContainerOptions) Init() PersistentCloudKitContainerOptions
func (PersistentCloudKitContainerOptions) InitWithContainerIdentifier ¶
func (p_ PersistentCloudKitContainerOptions) InitWithContainerIdentifier(containerIdentifier string) PersistentCloudKitContainerOptions
func (PersistentCloudKitContainerOptions) SetDatabaseScope ¶
func (p_ PersistentCloudKitContainerOptions) SetDatabaseScope(value cloudkit.DatabaseScope)
The database scope — public, private, or shared — to use for a specified store in a persistent CloudKit container. Full Topic
type PersistentCloudKitContainerSchemaInitializationOptions ¶
type PersistentCloudKitContainerSchemaInitializationOptions uint
Options that control the behavior when promoting the container’s schema to CloudKit. Full Topic
const ( PersistentCloudKitContainerSchemaInitializationOptionsDryRun PersistentCloudKitContainerSchemaInitializationOptions = 2 PersistentCloudKitContainerSchemaInitializationOptionsNone PersistentCloudKitContainerSchemaInitializationOptions = 0 PersistentCloudKitContainerSchemaInitializationOptionsPrintSchema PersistentCloudKitContainerSchemaInitializationOptions = 4 )
type PersistentContainer ¶
A container that encapsulates the Core Data stack in your app. Full Topic
func NewPersistentContainer ¶
func NewPersistentContainer() PersistentContainer
func NewPersistentContainerWithName ¶
func NewPersistentContainerWithName(name string) PersistentContainer
Creates a container with the specified name. Full Topic
func NewPersistentContainerWithNameManagedObjectModel ¶
func NewPersistentContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentContainer
Create a container with the specified name and managed object model. Full Topic
func PersistentContainerFrom ¶
func PersistentContainerFrom(ptr unsafe.Pointer) PersistentContainer
func PersistentContainer_PersistentContainerWithName ¶
func PersistentContainer_PersistentContainerWithName(name string) PersistentContainer
Initializes a new persistent container using the provided name for the container. Full Topic
func PersistentContainer_PersistentContainerWithNameManagedObjectModel ¶
func PersistentContainer_PersistentContainerWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentContainer
Initializes a new persistent container using the provided name and managed object model. Full Topic
func (PersistentContainer) Init ¶
func (p_ PersistentContainer) Init() PersistentContainer
func (PersistentContainer) InitWithName ¶
func (p_ PersistentContainer) InitWithName(name string) PersistentContainer
func (PersistentContainer) InitWithNameManagedObjectModel ¶
func (p_ PersistentContainer) InitWithNameManagedObjectModel(name string, model IManagedObjectModel) PersistentContainer
func (PersistentContainer) LoadPersistentStoresWithCompletionHandler ¶
func (p_ PersistentContainer) LoadPersistentStoresWithCompletionHandler(block func(arg0 PersistentStoreDescription, arg1 foundation.Error))
Loads the persistent stores. Full Topic
func (PersistentContainer) ManagedObjectModel ¶
func (p_ PersistentContainer) ManagedObjectModel() ManagedObjectModel
The container’s managed object model. Full Topic
func (PersistentContainer) Name ¶
func (p_ PersistentContainer) Name() string
The container’s name. Full Topic
func (PersistentContainer) NewBackgroundContext ¶
func (p_ PersistentContainer) NewBackgroundContext() ManagedObjectContext
Returns a new managed object context that executes on a private queue. Full Topic
func (PersistentContainer) PerformBackgroundTask ¶
func (p_ PersistentContainer) PerformBackgroundTask(block func(arg0 ManagedObjectContext))
Executes a block on a private queue using an ephemeral managed object context. Full Topic
func (PersistentContainer) PersistentStoreCoordinator ¶
func (p_ PersistentContainer) PersistentStoreCoordinator() PersistentStoreCoordinator
The container’s persistent store coordinator. Full Topic
func (PersistentContainer) PersistentStoreDescriptions ¶
func (p_ PersistentContainer) PersistentStoreDescriptions() []PersistentStoreDescription
The descriptions of the container’s persistent stores. Full Topic
func (PersistentContainer) SetPersistentStoreDescriptions ¶
func (p_ PersistentContainer) SetPersistentStoreDescriptions(value []IPersistentStoreDescription)
The descriptions of the container’s persistent stores. Full Topic
func (PersistentContainer) ViewContext ¶
func (p_ PersistentContainer) ViewContext() ManagedObjectContext
The main queue’s managed object context. Full Topic
type PersistentHistoryChange ¶
A change representing the insertion, update, or deletion of a managed object in the persistent store. Full Topic
func NewPersistentHistoryChange ¶
func NewPersistentHistoryChange() PersistentHistoryChange
func PersistentHistoryChangeFrom ¶
func PersistentHistoryChangeFrom(ptr unsafe.Pointer) PersistentHistoryChange
func (PersistentHistoryChange) ChangeID ¶
func (p_ PersistentHistoryChange) ChangeID() int64
The change’s numeric identifier. Full Topic
func (PersistentHistoryChange) ChangeType ¶
func (p_ PersistentHistoryChange) ChangeType() PersistentHistoryChangeType
The type of change to the managed object in the persistent store. Full Topic
func (PersistentHistoryChange) ChangedObjectID ¶
func (p_ PersistentHistoryChange) ChangedObjectID() ManagedObjectID
The identifier of the managed object that changed. Full Topic
func (PersistentHistoryChange) Init ¶
func (p_ PersistentHistoryChange) Init() PersistentHistoryChange
func (PersistentHistoryChange) Tombstone ¶
func (p_ PersistentHistoryChange) Tombstone() foundation.Dictionary
A dictionary of attributes marked for preservation after deletion, and their values when deleted. Full Topic
func (PersistentHistoryChange) Transaction ¶
func (p_ PersistentHistoryChange) Transaction() PersistentHistoryTransaction
The persistent history transaction containing this change. Full Topic
func (PersistentHistoryChange) UpdatedProperties ¶
func (p_ PersistentHistoryChange) UpdatedProperties() foundation.Set
The set of properties that were updated on the managed object. Full Topic
type PersistentHistoryChangeRequest ¶
type PersistentHistoryChangeRequest struct {
PersistentStoreRequest
}
A request to fetch or purge persistent history. Full Topic
func NewPersistentHistoryChangeRequest ¶
func NewPersistentHistoryChangeRequest() PersistentHistoryChangeRequest
func PersistentHistoryChangeRequestFrom ¶
func PersistentHistoryChangeRequestFrom(ptr unsafe.Pointer) PersistentHistoryChangeRequest
func PersistentHistoryChangeRequest_DeleteHistoryBeforeDate ¶
func PersistentHistoryChangeRequest_DeleteHistoryBeforeDate(date foundation.IDate) PersistentHistoryChangeRequest
Purges history older than a given date. Full Topic
func PersistentHistoryChangeRequest_DeleteHistoryBeforeToken ¶
func PersistentHistoryChangeRequest_DeleteHistoryBeforeToken(token IPersistentHistoryToken) PersistentHistoryChangeRequest
Purges history older than that defined by a given token. Full Topic
func PersistentHistoryChangeRequest_DeleteHistoryBeforeTransaction ¶
func PersistentHistoryChangeRequest_DeleteHistoryBeforeTransaction(transaction IPersistentHistoryTransaction) PersistentHistoryChangeRequest
Purges history older than a given transaction. Full Topic
func PersistentHistoryChangeRequest_FetchHistoryAfterDate ¶
func PersistentHistoryChangeRequest_FetchHistoryAfterDate(date foundation.IDate) PersistentHistoryChangeRequest
Retrieves history since a given date. Full Topic
func PersistentHistoryChangeRequest_FetchHistoryAfterToken ¶
func PersistentHistoryChangeRequest_FetchHistoryAfterToken(token IPersistentHistoryToken) PersistentHistoryChangeRequest
Retrieves the request history after a given token. Full Topic
func PersistentHistoryChangeRequest_FetchHistoryAfterTransaction ¶
func PersistentHistoryChangeRequest_FetchHistoryAfterTransaction(transaction IPersistentHistoryTransaction) PersistentHistoryChangeRequest
Retrieves history since a given transaction. Full Topic
func PersistentHistoryChangeRequest_FetchHistoryWithFetchRequest ¶
func PersistentHistoryChangeRequest_FetchHistoryWithFetchRequest(fetchRequest IFetchRequest) PersistentHistoryChangeRequest
Retrieves history based on a fetch request. Full Topic
func (PersistentHistoryChangeRequest) FetchRequest ¶
func (p_ PersistentHistoryChangeRequest) FetchRequest() FetchRequest
The specified fetch request, when retrieving history. Full Topic
func (PersistentHistoryChangeRequest) Init ¶
func (p_ PersistentHistoryChangeRequest) Init() PersistentHistoryChangeRequest
func (PersistentHistoryChangeRequest) ResultType ¶
func (p_ PersistentHistoryChangeRequest) ResultType() PersistentHistoryResultType
The type of result that this request returns. Full Topic
func (PersistentHistoryChangeRequest) SetFetchRequest ¶
func (p_ PersistentHistoryChangeRequest) SetFetchRequest(value IFetchRequest)
The specified fetch request, when retrieving history. Full Topic
func (PersistentHistoryChangeRequest) SetResultType ¶
func (p_ PersistentHistoryChangeRequest) SetResultType(value PersistentHistoryResultType)
The type of result that this request returns. Full Topic
func (PersistentHistoryChangeRequest) Token ¶
func (p_ PersistentHistoryChangeRequest) Token() PersistentHistoryToken
The specified token, when retrieving history defined by a token. Full Topic
type PersistentHistoryChangeType ¶
type PersistentHistoryChangeType int
The types of changes to managed objects reflected in persistent history. Full Topic
const ( PersistentHistoryChangeTypeDelete PersistentHistoryChangeType = 2 PersistentHistoryChangeTypeInsert PersistentHistoryChangeType = 0 PersistentHistoryChangeTypeUpdate PersistentHistoryChangeType = 1 )
type PersistentHistoryResult ¶
type PersistentHistoryResult struct {
PersistentStoreResult
}
The result of a request to fetch persistent history. Full Topic
func NewPersistentHistoryResult ¶
func NewPersistentHistoryResult() PersistentHistoryResult
func PersistentHistoryResultFrom ¶
func PersistentHistoryResultFrom(ptr unsafe.Pointer) PersistentHistoryResult
func (PersistentHistoryResult) Init ¶
func (p_ PersistentHistoryResult) Init() PersistentHistoryResult
func (PersistentHistoryResult) Result ¶
func (p_ PersistentHistoryResult) Result() objc.Object
The result of the history request determined by the persistent history result type. Full Topic
func (PersistentHistoryResult) ResultType ¶
func (p_ PersistentHistoryResult) ResultType() PersistentHistoryResultType
The type of result that the persistent history change request returns. Full Topic
type PersistentHistoryResultType ¶
type PersistentHistoryResultType int
The types of results from a persistent history change request. Full Topic
const ( PersistentHistoryResultTypeChangesOnly PersistentHistoryResultType = 4 PersistentHistoryResultTypeCount PersistentHistoryResultType = 2 PersistentHistoryResultTypeObjectIDs PersistentHistoryResultType = 1 PersistentHistoryResultTypeStatusOnly PersistentHistoryResultType = 0 PersistentHistoryResultTypeTransactionsAndChanges PersistentHistoryResultType = 5 PersistentHistoryResultTypeTransactionsOnly PersistentHistoryResultType = 3 )
type PersistentHistoryToken ¶
A bookmark for keeping track the most recent history that you’ve processed. Full Topic
func NewPersistentHistoryToken ¶
func NewPersistentHistoryToken() PersistentHistoryToken
func PersistentHistoryTokenFrom ¶
func PersistentHistoryTokenFrom(ptr unsafe.Pointer) PersistentHistoryToken
func (PersistentHistoryToken) Init ¶
func (p_ PersistentHistoryToken) Init() PersistentHistoryToken
type PersistentHistoryTransaction ¶
A set of changes in the persistent history based on a context save or batch operation. Full Topic
func NewPersistentHistoryTransaction ¶
func NewPersistentHistoryTransaction() PersistentHistoryTransaction
func PersistentHistoryTransactionFrom ¶
func PersistentHistoryTransactionFrom(ptr unsafe.Pointer) PersistentHistoryTransaction
func (PersistentHistoryTransaction) Author ¶
func (p_ PersistentHistoryTransaction) Author() string
A granular description of the context that made the persistent history change, if available. Full Topic
func (PersistentHistoryTransaction) BundleID ¶
func (p_ PersistentHistoryTransaction) BundleID() string
The originating bundle’s identifier. Full Topic
func (PersistentHistoryTransaction) Changes ¶
func (p_ PersistentHistoryTransaction) Changes() []PersistentHistoryChange
The array of persistent history changes. Full Topic
func (PersistentHistoryTransaction) ContextName ¶
func (p_ PersistentHistoryTransaction) ContextName() string
The originating context’s name. Full Topic
func (PersistentHistoryTransaction) Init ¶
func (p_ PersistentHistoryTransaction) Init() PersistentHistoryTransaction
func (PersistentHistoryTransaction) ObjectIDNotification ¶
func (p_ PersistentHistoryTransaction) ObjectIDNotification() foundation.Notification
Obtains a notification for use in merging the transaction’s changes into a managed object context. Full Topic
func (PersistentHistoryTransaction) ProcessID ¶
func (p_ PersistentHistoryTransaction) ProcessID() string
The originating process’s identifier. Full Topic
func (PersistentHistoryTransaction) StoreID ¶
func (p_ PersistentHistoryTransaction) StoreID() string
The originating store’s identifier. Full Topic
func (PersistentHistoryTransaction) Timestamp ¶
func (p_ PersistentHistoryTransaction) Timestamp() foundation.Date
The date of the persistent history change. Full Topic
func (PersistentHistoryTransaction) Token ¶
func (p_ PersistentHistoryTransaction) Token() PersistentHistoryToken
The token that represents this transaction in the persistent history. Full Topic
func (PersistentHistoryTransaction) TransactionNumber ¶
func (p_ PersistentHistoryTransaction) TransactionNumber() int64
The transaction’s numeric identifier. Full Topic
type PersistentStore ¶
The abstract base class for all Core Data persistent stores. Full Topic
func NewPersistentStore ¶
func NewPersistentStore() PersistentStore
func NewPersistentStoreWithPersistentStoreCoordinatorConfigurationNameURLOptions ¶
func NewPersistentStoreWithPersistentStoreCoordinatorConfigurationNameURLOptions(root IPersistentStoreCoordinator, name string, url foundation.IURL, options foundation.Dictionary) PersistentStore
Returns a store initialized with the given arguments. Full Topic
func PersistentStoreFrom ¶
func PersistentStoreFrom(ptr unsafe.Pointer) PersistentStore
func (PersistentStore) ConfigurationName ¶
func (p_ PersistentStore) ConfigurationName() string
The name of the managed object model configuration that creates the persistent store. Full Topic
func (PersistentStore) CoreSpotlightExporter ¶
func (p_ PersistentStore) CoreSpotlightExporter() CoreDataCoreSpotlightDelegate
The spotlight exporter associated with this persistent store. Full Topic
func (PersistentStore) DidAddToPersistentStoreCoordinator ¶
func (p_ PersistentStore) DidAddToPersistentStoreCoordinator(coordinator IPersistentStoreCoordinator)
Invoked after the persistent store has been added to the persistent store coordinator. Full Topic
func (PersistentStore) Identifier ¶
func (p_ PersistentStore) Identifier() string
The unique identifier for the persistent store. Full Topic
func (PersistentStore) Init ¶
func (p_ PersistentStore) Init() PersistentStore
func (PersistentStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions ¶
func (p_ PersistentStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(root IPersistentStoreCoordinator, name string, url foundation.IURL, options foundation.Dictionary) PersistentStore
func (PersistentStore) IsReadOnly ¶
func (p_ PersistentStore) IsReadOnly() bool
A Boolean value that indicates whether the persistent store is read-only. Full Topic
func (PersistentStore) LoadMetadata ¶
func (p_ PersistentStore) LoadMetadata(error unsafe.Pointer) bool
Instructs the persistent store to load its metadata. Full Topic
func (PersistentStore) Metadata ¶
func (p_ PersistentStore) Metadata() map[string]objc.Object
The metadata for the persistent store. Full Topic
func (PersistentStore) Options ¶
func (p_ PersistentStore) Options() foundation.Dictionary
The options that Core Data uses to create the store. Full Topic
func (PersistentStore) PersistentStoreCoordinator ¶
func (p_ PersistentStore) PersistentStoreCoordinator() PersistentStoreCoordinator
The persistent store coordinator that loads the persistent store. Full Topic
func (PersistentStore) SetIdentifier ¶
func (p_ PersistentStore) SetIdentifier(value string)
The unique identifier for the persistent store. Full Topic
func (PersistentStore) SetMetadata ¶
func (p_ PersistentStore) SetMetadata(value map[string]objc.IObject)
The metadata for the persistent store. Full Topic
func (PersistentStore) SetReadOnly ¶
func (p_ PersistentStore) SetReadOnly(value bool)
A Boolean value that indicates whether the persistent store is read-only. Full Topic
func (PersistentStore) SetURL ¶
func (p_ PersistentStore) SetURL(value foundation.IURL)
The URL for the persistent store. Full Topic
func (PersistentStore) Type ¶
func (p_ PersistentStore) Type() string
The type string of the persistent store. Full Topic
func (PersistentStore) URL ¶
func (p_ PersistentStore) URL() foundation.URL
The URL for the persistent store. Full Topic
func (PersistentStore) WillRemoveFromPersistentStoreCoordinator ¶
func (p_ PersistentStore) WillRemoveFromPersistentStoreCoordinator(coordinator IPersistentStoreCoordinator)
Invoked before the persistent store is removed from the persistent store coordinator. Full Topic
type PersistentStoreAsynchronousFetchResultCompletionBlock ¶
type PersistentStoreAsynchronousFetchResultCompletionBlock = func(result AsynchronousFetchResult)
A completion block that an asynchronous fetch request calls with a result. Full Topic
type PersistentStoreAsynchronousResult ¶
type PersistentStoreAsynchronousResult struct {
PersistentStoreResult
}
A concrete class used to represent the results of an asynchronous request. Full Topic
func NewPersistentStoreAsynchronousResult ¶
func NewPersistentStoreAsynchronousResult() PersistentStoreAsynchronousResult
func PersistentStoreAsynchronousResultFrom ¶
func PersistentStoreAsynchronousResultFrom(ptr unsafe.Pointer) PersistentStoreAsynchronousResult
func (PersistentStoreAsynchronousResult) Cancel ¶
func (p_ PersistentStoreAsynchronousResult) Cancel()
Cancels the asynchronous fetch request. Full Topic
func (PersistentStoreAsynchronousResult) Init ¶
func (p_ PersistentStoreAsynchronousResult) Init() PersistentStoreAsynchronousResult
func (PersistentStoreAsynchronousResult) ManagedObjectContext ¶
func (p_ PersistentStoreAsynchronousResult) ManagedObjectContext() ManagedObjectContext
The managed object context for the result. Full Topic
func (PersistentStoreAsynchronousResult) OperationError ¶
func (p_ PersistentStoreAsynchronousResult) OperationError() foundation.Error
An error that contains details if the asynchronous fetch request fails. Full Topic
func (PersistentStoreAsynchronousResult) Progress ¶
func (p_ PersistentStoreAsynchronousResult) Progress() foundation.Progress
An object that reports progress for the asynchronous fetch request. Full Topic
type PersistentStoreCoordinator ¶
An object that enables an app’s contexts and the underlying persistent stores to work together. Full Topic
func NewPersistentStoreCoordinator ¶
func NewPersistentStoreCoordinator() PersistentStoreCoordinator
func NewPersistentStoreCoordinatorWithManagedObjectModel ¶
func NewPersistentStoreCoordinatorWithManagedObjectModel(model IManagedObjectModel) PersistentStoreCoordinator
Creates a persistent store coordinator with the specified managed object model. Full Topic
func PersistentStoreCoordinatorFrom ¶
func PersistentStoreCoordinatorFrom(ptr unsafe.Pointer) PersistentStoreCoordinator
func (PersistentStoreCoordinator) AddPersistentStoreWithDescriptionCompletionHandler ¶
func (p_ PersistentStoreCoordinator) AddPersistentStoreWithDescriptionCompletionHandler(storeDescription IPersistentStoreDescription, block func(arg0 PersistentStoreDescription, arg1 foundation.Error))
Adds a persistent store using the provided description. Full Topic
func (PersistentStoreCoordinator) AddPersistentStoreWithTypeConfigurationURLOptionsError ¶
func (p_ PersistentStoreCoordinator) AddPersistentStoreWithTypeConfigurationURLOptionsError(storeType string, configuration string, storeURL foundation.IURL, options foundation.Dictionary, error unsafe.Pointer) PersistentStore
Adds a specific type of persistent store at the provided location. Full Topic
func (PersistentStoreCoordinator) CurrentPersistentHistoryTokenFromStores ¶
func (p_ PersistentStoreCoordinator) CurrentPersistentHistoryTokenFromStores(stores []objc.IObject) PersistentHistoryToken
Returns a single persistent history token representing all of the specified stores. Full Topic
func (PersistentStoreCoordinator) ExecuteRequestWithContextError ¶
func (p_ PersistentStoreCoordinator) ExecuteRequestWithContextError(request IPersistentStoreRequest, context IManagedObjectContext, error unsafe.Pointer) objc.Object
Executes the specified request on each of the coordinator’s persistent stores. Full Topic
func (PersistentStoreCoordinator) Init ¶
func (p_ PersistentStoreCoordinator) Init() PersistentStoreCoordinator
func (PersistentStoreCoordinator) InitWithManagedObjectModel ¶
func (p_ PersistentStoreCoordinator) InitWithManagedObjectModel(model IManagedObjectModel) PersistentStoreCoordinator
func (PersistentStoreCoordinator) ManagedObjectIDForURIRepresentation ¶
func (p_ PersistentStoreCoordinator) ManagedObjectIDForURIRepresentation(url foundation.IURL) ManagedObjectID
Returns the object identifier for the specified URI representation. Full Topic
func (PersistentStoreCoordinator) ManagedObjectModel ¶
func (p_ PersistentStoreCoordinator) ManagedObjectModel() ManagedObjectModel
The coordinator’s managed object model. Full Topic
func (PersistentStoreCoordinator) MetadataForPersistentStore ¶
func (p_ PersistentStoreCoordinator) MetadataForPersistentStore(store IPersistentStore) map[string]objc.Object
Returns the metadata of the specified persistent store. Full Topic
func (PersistentStoreCoordinator) Name ¶
func (p_ PersistentStoreCoordinator) Name() string
The coordinator’s name. Full Topic
func (PersistentStoreCoordinator) PerformBlock ¶
func (p_ PersistentStoreCoordinator) PerformBlock(block func())
Executes the provided closure asynchronously on the coordinator’s queue. Full Topic
func (PersistentStoreCoordinator) PerformBlockAndWait ¶
func (p_ PersistentStoreCoordinator) PerformBlockAndWait(block func())
Executes the provided closure on the coordinator’s queue and waits for it to finish. Full Topic
func (PersistentStoreCoordinator) PersistentStoreForURL ¶
func (p_ PersistentStoreCoordinator) PersistentStoreForURL(URL foundation.IURL) PersistentStore
Returns the persistent store for the specified file URL. Full Topic
func (PersistentStoreCoordinator) PersistentStores ¶
func (p_ PersistentStoreCoordinator) PersistentStores() []PersistentStore
The coordinator’s persistent stores. Full Topic
func (PersistentStoreCoordinator) RemovePersistentStoreError ¶
func (p_ PersistentStoreCoordinator) RemovePersistentStoreError(store IPersistentStore, error unsafe.Pointer) bool
Removes the specified persistent store from the coordinator. Full Topic
func (PersistentStoreCoordinator) SetMetadataForPersistentStore ¶
func (p_ PersistentStoreCoordinator) SetMetadataForPersistentStore(metadata map[string]objc.IObject, store IPersistentStore)
Updates the metadata for the specified persistent store. Full Topic
func (PersistentStoreCoordinator) SetName ¶
func (p_ PersistentStoreCoordinator) SetName(value string)
The coordinator’s name. Full Topic
func (PersistentStoreCoordinator) SetURLForPersistentStore ¶
func (p_ PersistentStoreCoordinator) SetURLForPersistentStore(url foundation.IURL, store IPersistentStore) bool
Changes the location of the specified persistent store. Full Topic
func (PersistentStoreCoordinator) URLForPersistentStore ¶
func (p_ PersistentStoreCoordinator) URLForPersistentStore(store IPersistentStore) foundation.URL
Returns the location of the provided persistent store. Full Topic
type PersistentStoreDescription ¶
A description object used to create and load a persistent store. Full Topic
func NewPersistentStoreDescription ¶
func NewPersistentStoreDescription() PersistentStoreDescription
func NewPersistentStoreDescriptionWithURL ¶
func NewPersistentStoreDescriptionWithURL(url foundation.IURL) PersistentStoreDescription
Initializes the receiver with a URL for the store. Full Topic
func PersistentStoreDescriptionFrom ¶
func PersistentStoreDescriptionFrom(ptr unsafe.Pointer) PersistentStoreDescription
func PersistentStoreDescription_PersistentStoreDescriptionWithURL ¶
func PersistentStoreDescription_PersistentStoreDescriptionWithURL(URL foundation.IURL) PersistentStoreDescription
Initializes and returns a persistent store description with the given URL. Full Topic
func (PersistentStoreDescription) CloudKitContainerOptions ¶
func (p_ PersistentStoreDescription) CloudKitContainerOptions() PersistentCloudKitContainerOptions
Options that customize how this store description aligns with a CloudKit database. Full Topic
func (PersistentStoreDescription) Configuration ¶
func (p_ PersistentStoreDescription) Configuration() string
The name of the configuration used by this store. Full Topic
func (PersistentStoreDescription) Init ¶
func (p_ PersistentStoreDescription) Init() PersistentStoreDescription
func (PersistentStoreDescription) InitWithURL ¶
func (p_ PersistentStoreDescription) InitWithURL(url foundation.IURL) PersistentStoreDescription
func (PersistentStoreDescription) IsReadOnly ¶
func (p_ PersistentStoreDescription) IsReadOnly() bool
A flag that indicates whether this store will be read-only. Full Topic
func (PersistentStoreDescription) Options ¶
func (p_ PersistentStoreDescription) Options() map[string]objc.Object
A dictionary representation of the options set on the associated persistent store. Full Topic
func (PersistentStoreDescription) SetCloudKitContainerOptions ¶
func (p_ PersistentStoreDescription) SetCloudKitContainerOptions(value IPersistentCloudKitContainerOptions)
Options that customize how this store description aligns with a CloudKit database. Full Topic
func (PersistentStoreDescription) SetConfiguration ¶
func (p_ PersistentStoreDescription) SetConfiguration(value string)
The name of the configuration used by this store. Full Topic
func (PersistentStoreDescription) SetOptionForKey ¶
func (p_ PersistentStoreDescription) SetOptionForKey(option objc.IObject, key string)
Sets an option on the store. Full Topic
func (PersistentStoreDescription) SetReadOnly ¶
func (p_ PersistentStoreDescription) SetReadOnly(value bool)
A flag that indicates whether this store will be read-only. Full Topic
func (PersistentStoreDescription) SetShouldAddStoreAsynchronously ¶
func (p_ PersistentStoreDescription) SetShouldAddStoreAsynchronously(value bool)
A flag that determines whether the store is added asynchronously. Full Topic
func (PersistentStoreDescription) SetShouldInferMappingModelAutomatically ¶
func (p_ PersistentStoreDescription) SetShouldInferMappingModelAutomatically(value bool)
A flag indicating whether a mapping model should be created automatically. Full Topic
func (PersistentStoreDescription) SetShouldMigrateStoreAutomatically ¶
func (p_ PersistentStoreDescription) SetShouldMigrateStoreAutomatically(value bool)
A flag indicating whether the associated persistent store should be migrated automatically. Full Topic
func (PersistentStoreDescription) SetTimeout ¶
func (p_ PersistentStoreDescription) SetTimeout(value foundation.TimeInterval)
The connection timeout for the associated store. Full Topic
func (PersistentStoreDescription) SetType ¶
func (p_ PersistentStoreDescription) SetType(value string)
The type of store this description represents. Full Topic
func (PersistentStoreDescription) SetURL ¶
func (p_ PersistentStoreDescription) SetURL(value foundation.IURL)
The URL that the store will use for its location. Full Topic
func (PersistentStoreDescription) SetValueForPragmaNamed ¶
func (p_ PersistentStoreDescription) SetValueForPragmaNamed(value objc.IObject, name string)
Allows you to set pragmas for the SQLite store. Full Topic
func (PersistentStoreDescription) ShouldAddStoreAsynchronously ¶
func (p_ PersistentStoreDescription) ShouldAddStoreAsynchronously() bool
A flag that determines whether the store is added asynchronously. Full Topic
func (PersistentStoreDescription) ShouldInferMappingModelAutomatically ¶
func (p_ PersistentStoreDescription) ShouldInferMappingModelAutomatically() bool
A flag indicating whether a mapping model should be created automatically. Full Topic
func (PersistentStoreDescription) ShouldMigrateStoreAutomatically ¶
func (p_ PersistentStoreDescription) ShouldMigrateStoreAutomatically() bool
A flag indicating whether the associated persistent store should be migrated automatically. Full Topic
func (PersistentStoreDescription) SqlitePragmas ¶
func (p_ PersistentStoreDescription) SqlitePragmas() map[string]objc.Object
The SQLite pragmas set for the associated persistent store. (read-only) Full Topic
func (PersistentStoreDescription) Timeout ¶
func (p_ PersistentStoreDescription) Timeout() foundation.TimeInterval
The connection timeout for the associated store. Full Topic
func (PersistentStoreDescription) Type ¶
func (p_ PersistentStoreDescription) Type() string
The type of store this description represents. Full Topic
func (PersistentStoreDescription) URL ¶
func (p_ PersistentStoreDescription) URL() foundation.URL
The URL that the store will use for its location. Full Topic
type PersistentStoreRequest ¶
Criteria used to retrieve data from or save data to a persistent store. Full Topic
func NewPersistentStoreRequest ¶
func NewPersistentStoreRequest() PersistentStoreRequest
func PersistentStoreRequestFrom ¶
func PersistentStoreRequestFrom(ptr unsafe.Pointer) PersistentStoreRequest
func (PersistentStoreRequest) AffectedStores ¶
func (p_ PersistentStoreRequest) AffectedStores() []PersistentStore
The stores the request should be sent to. Full Topic
func (PersistentStoreRequest) Init ¶
func (p_ PersistentStoreRequest) Init() PersistentStoreRequest
func (PersistentStoreRequest) RequestType ¶
func (p_ PersistentStoreRequest) RequestType() PersistentStoreRequestType
The type of the fetch request. Full Topic
func (PersistentStoreRequest) SetAffectedStores ¶
func (p_ PersistentStoreRequest) SetAffectedStores(value []IPersistentStore)
The stores the request should be sent to. Full Topic
type PersistentStoreRequestType ¶
type PersistentStoreRequestType uint
Constants that specify the types of fetch requests. Full Topic
const ( BatchDeleteRequestType PersistentStoreRequestType = 7 BatchInsertRequestType PersistentStoreRequestType = 5 BatchUpdateRequestType PersistentStoreRequestType = 6 FetchRequestType PersistentStoreRequestType = 1 SaveRequestType PersistentStoreRequestType = 2 )
type PersistentStoreResult ¶
The abstract base class for results returned from a persistent store coordinator. Full Topic
func NewPersistentStoreResult ¶
func NewPersistentStoreResult() PersistentStoreResult
func PersistentStoreResultFrom ¶
func PersistentStoreResultFrom(ptr unsafe.Pointer) PersistentStoreResult
func (PersistentStoreResult) Init ¶
func (p_ PersistentStoreResult) Init() PersistentStoreResult
type PersistentStoreUbiquitousTransitionType ¶
type PersistentStoreUbiquitousTransitionType uint
These constants are used as the value corresponding to the NSPersistentStoreUbiquitousTransitionTypeKey in the user info dictionary of NSPersistentStoreCoordinatorStoresWillChangeNotification and NSPersistentStoreCoordinatorStoresDidChangeNotification notifications to identify the type of event leading to a change. Full Topic
const ( PersistentStoreUbiquitousTransitionTypeAccountAdded PersistentStoreUbiquitousTransitionType = 1 PersistentStoreUbiquitousTransitionTypeAccountRemoved PersistentStoreUbiquitousTransitionType = 2 PersistentStoreUbiquitousTransitionTypeContentRemoved PersistentStoreUbiquitousTransitionType = 3 PersistentStoreUbiquitousTransitionTypeInitialImportCompleted PersistentStoreUbiquitousTransitionType = 4 )
type PropertyDescription ¶
A description of a single property belonging to an entity. Full Topic
func NewPropertyDescription ¶
func NewPropertyDescription() PropertyDescription
func PropertyDescriptionFrom ¶
func PropertyDescriptionFrom(ptr unsafe.Pointer) PropertyDescription
func (PropertyDescription) Entity ¶
func (p_ PropertyDescription) Entity() EntityDescription
The entity description of the receiver. Full Topic
func (PropertyDescription) Init ¶
func (p_ PropertyDescription) Init() PropertyDescription
func (PropertyDescription) IsIndexedBySpotlight ¶
func (p_ PropertyDescription) IsIndexedBySpotlight() bool
A Boolean value that indicates whether Core Data adds the property’s value to the Core Spotlight index. Full Topic
func (PropertyDescription) IsOptional ¶
func (p_ PropertyDescription) IsOptional() bool
A Boolean value that indicates whether the receiver is optional. Full Topic
func (PropertyDescription) IsTransient ¶
func (p_ PropertyDescription) IsTransient() bool
A Boolean value that indicates whether the receiver is transient. Full Topic
func (PropertyDescription) Name ¶
func (p_ PropertyDescription) Name() string
The name of the receiver. Full Topic
func (PropertyDescription) RenamingIdentifier ¶
func (p_ PropertyDescription) RenamingIdentifier() string
The renaming identifier for the receiver. Full Topic
func (PropertyDescription) SetIndexedBySpotlight ¶
func (p_ PropertyDescription) SetIndexedBySpotlight(value bool)
A Boolean value that indicates whether Core Data adds the property’s value to the Core Spotlight index. Full Topic
func (PropertyDescription) SetName ¶
func (p_ PropertyDescription) SetName(value string)
The name of the receiver. Full Topic
func (PropertyDescription) SetOptional ¶
func (p_ PropertyDescription) SetOptional(value bool)
A Boolean value that indicates whether the receiver is optional. Full Topic
func (PropertyDescription) SetRenamingIdentifier ¶
func (p_ PropertyDescription) SetRenamingIdentifier(value string)
The renaming identifier for the receiver. Full Topic
func (PropertyDescription) SetTransient ¶
func (p_ PropertyDescription) SetTransient(value bool)
A Boolean value that indicates whether the receiver is transient. Full Topic
func (PropertyDescription) SetUserInfo ¶
func (p_ PropertyDescription) SetUserInfo(value foundation.Dictionary)
The user info dictionary of the receiver. Full Topic
func (PropertyDescription) SetValidationPredicatesWithValidationWarnings ¶
func (p_ PropertyDescription) SetValidationPredicatesWithValidationWarnings(validationPredicates []foundation.IPredicate, validationWarnings []string)
Sets the validation predicates and warnings of the receiver. Full Topic
func (PropertyDescription) SetVersionHashModifier ¶
func (p_ PropertyDescription) SetVersionHashModifier(value string)
The version hash modifier for the receiver. Full Topic
func (PropertyDescription) UserInfo ¶
func (p_ PropertyDescription) UserInfo() foundation.Dictionary
The user info dictionary of the receiver. Full Topic
func (PropertyDescription) ValidationPredicates ¶
func (p_ PropertyDescription) ValidationPredicates() []foundation.Predicate
The validation predicates of the receiver. Full Topic
func (PropertyDescription) ValidationWarnings ¶
func (p_ PropertyDescription) ValidationWarnings() []objc.Object
The error strings associated with the receiver’s validation predicates. Full Topic
func (PropertyDescription) VersionHash ¶
func (p_ PropertyDescription) VersionHash() []byte
The version hash for the receiver. Full Topic
func (PropertyDescription) VersionHashModifier ¶
func (p_ PropertyDescription) VersionHashModifier() string
The version hash modifier for the receiver. Full Topic
type PropertyMapping ¶
A mapping instance that specifies in a model how to map from a property in a source entity to a property in a destination entity. Full Topic
func NewPropertyMapping ¶
func NewPropertyMapping() PropertyMapping
func PropertyMappingFrom ¶
func PropertyMappingFrom(ptr unsafe.Pointer) PropertyMapping
func (PropertyMapping) Init ¶
func (p_ PropertyMapping) Init() PropertyMapping
func (PropertyMapping) Name ¶
func (p_ PropertyMapping) Name() string
The name of the property in the destination entity for the property mapping. Full Topic
func (PropertyMapping) SetName ¶
func (p_ PropertyMapping) SetName(value string)
The name of the property in the destination entity for the property mapping. Full Topic
func (PropertyMapping) SetUserInfo ¶
func (p_ PropertyMapping) SetUserInfo(value foundation.Dictionary)
The user info for the property mapping. Full Topic
func (PropertyMapping) SetValueExpression ¶
func (p_ PropertyMapping) SetValueExpression(value foundation.IExpression)
The value expression for the property mapping. Full Topic
func (PropertyMapping) UserInfo ¶
func (p_ PropertyMapping) UserInfo() foundation.Dictionary
The user info for the property mapping. Full Topic
func (PropertyMapping) ValueExpression ¶
func (p_ PropertyMapping) ValueExpression() foundation.Expression
The value expression for the property mapping. Full Topic
type QueryGenerationToken ¶
A token that indicates which generation of the persistent store is being accessed. Full Topic
func NewQueryGenerationToken ¶
func NewQueryGenerationToken() QueryGenerationToken
func QueryGenerationTokenFrom ¶
func QueryGenerationTokenFrom(ptr unsafe.Pointer) QueryGenerationToken
func QueryGenerationToken_CurrentQueryGenerationToken ¶
func QueryGenerationToken_CurrentQueryGenerationToken() QueryGenerationToken
A token that informs a context to use the current generation. Full Topic
func (QueryGenerationToken) Init ¶
func (q_ QueryGenerationToken) Init() QueryGenerationToken
type RelationshipDescription ¶
type RelationshipDescription struct {
PropertyDescription
}
A description of a relationship between two entities. Full Topic
func NewRelationshipDescription ¶
func NewRelationshipDescription() RelationshipDescription
func RelationshipDescriptionFrom ¶
func RelationshipDescriptionFrom(ptr unsafe.Pointer) RelationshipDescription
func (RelationshipDescription) DeleteRule ¶
func (r_ RelationshipDescription) DeleteRule() DeleteRule
The rule to apply when you delete the relationship’s owning managed object. Full Topic
func (RelationshipDescription) DestinationEntity ¶
func (r_ RelationshipDescription) DestinationEntity() EntityDescription
The type of object the relationship contains. Full Topic
func (RelationshipDescription) Init ¶
func (r_ RelationshipDescription) Init() RelationshipDescription
func (RelationshipDescription) InverseRelationship ¶
func (r_ RelationshipDescription) InverseRelationship() RelationshipDescription
The relationship that represents the inverse of the current relationship. Full Topic
func (RelationshipDescription) IsOrdered ¶
func (r_ RelationshipDescription) IsOrdered() bool
A Boolean value that determines whether the relationship preserves the order of the referenced managed objects. Full Topic
func (RelationshipDescription) IsToMany ¶
func (r_ RelationshipDescription) IsToMany() bool
Returns a Boolean value that indicates whether the relationship can contain many managed objects. Full Topic
func (RelationshipDescription) MaxCount ¶
func (r_ RelationshipDescription) MaxCount() uint
The maximum number of managed objects the relationship can reference. Full Topic
func (RelationshipDescription) MinCount ¶
func (r_ RelationshipDescription) MinCount() uint
The minimum number of managed objects the relationship can reference. Full Topic
func (RelationshipDescription) SetDeleteRule ¶
func (r_ RelationshipDescription) SetDeleteRule(value DeleteRule)
The rule to apply when you delete the relationship’s owning managed object. Full Topic
func (RelationshipDescription) SetDestinationEntity ¶
func (r_ RelationshipDescription) SetDestinationEntity(value IEntityDescription)
The type of object the relationship contains. Full Topic
func (RelationshipDescription) SetInverseRelationship ¶
func (r_ RelationshipDescription) SetInverseRelationship(value IRelationshipDescription)
The relationship that represents the inverse of the current relationship. Full Topic
func (RelationshipDescription) SetMaxCount ¶
func (r_ RelationshipDescription) SetMaxCount(value uint)
The maximum number of managed objects the relationship can reference. Full Topic
func (RelationshipDescription) SetMinCount ¶
func (r_ RelationshipDescription) SetMinCount(value uint)
The minimum number of managed objects the relationship can reference. Full Topic
func (RelationshipDescription) SetOrdered ¶
func (r_ RelationshipDescription) SetOrdered(value bool)
A Boolean value that determines whether the relationship preserves the order of the referenced managed objects. Full Topic
type SaveChangesRequest ¶
type SaveChangesRequest struct {
PersistentStoreRequest
}
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. Full Topic
func NewSaveChangesRequest ¶
func NewSaveChangesRequest() SaveChangesRequest
func NewSaveChangesRequestWithInsertedObjectsUpdatedObjectsDeletedObjectsLockedObjects ¶
func NewSaveChangesRequestWithInsertedObjectsUpdatedObjectsDeletedObjectsLockedObjects(insertedObjects foundation.ISet, updatedObjects foundation.ISet, deletedObjects foundation.ISet, lockedObjects foundation.ISet) SaveChangesRequest
Initializes a save changes request with collections of given changes. Full Topic
func SaveChangesRequestFrom ¶
func SaveChangesRequestFrom(ptr unsafe.Pointer) SaveChangesRequest
func (SaveChangesRequest) DeletedObjects ¶
func (s_ SaveChangesRequest) DeletedObjects() foundation.Set
The objects that were deleted in the calling context. Full Topic
func (SaveChangesRequest) Init ¶
func (s_ SaveChangesRequest) Init() SaveChangesRequest
func (SaveChangesRequest) InitWithInsertedObjectsUpdatedObjectsDeletedObjectsLockedObjects ¶
func (s_ SaveChangesRequest) InitWithInsertedObjectsUpdatedObjectsDeletedObjectsLockedObjects(insertedObjects foundation.ISet, updatedObjects foundation.ISet, deletedObjects foundation.ISet, lockedObjects foundation.ISet) SaveChangesRequest
func (SaveChangesRequest) InsertedObjects ¶
func (s_ SaveChangesRequest) InsertedObjects() foundation.Set
The objects that were inserted into the calling context. Full Topic
func (SaveChangesRequest) LockedObjects ¶
func (s_ SaveChangesRequest) LockedObjects() foundation.Set
The objects that were flagged for optimistic locking on the calling context. Full Topic
func (SaveChangesRequest) UpdatedObjects ¶
func (s_ SaveChangesRequest) UpdatedObjects() foundation.Set
The objects that were modified in the calling context. Full Topic
type SnapshotEventType ¶
type SnapshotEventType uint
Constants that specify the reason the managed object may need to reinitialize its values. Full Topic
const ( SnapshotEventMergePolicy SnapshotEventType = 64 SnapshotEventRefresh SnapshotEventType = 32 SnapshotEventRollback SnapshotEventType = 16 SnapshotEventUndoDeletion SnapshotEventType = 4 SnapshotEventUndoInsertion SnapshotEventType = 2 SnapshotEventUndoUpdate SnapshotEventType = 8 )
Source Files ¶
- aliastypes.gen.go
- asynchronous_fetch_request.gen.go
- asynchronous_fetch_result.gen.go
- atomic_store.gen.go
- atomic_store_cache_node.gen.go
- attribute_description.gen.go
- batch_delete_request.gen.go
- batch_delete_result.gen.go
- batch_insert_request.gen.go
- batch_insert_result.gen.go
- batch_update_request.gen.go
- batch_update_result.gen.go
- constraint_conflict.gen.go
- core_data_core_spotlight_delegate.gen.go
- coredata.go
- derived_attribute_description.gen.go
- doc.gen.go
- entity_description.gen.go
- entity_mapping.gen.go
- entity_migration_policy.gen.go
- enumtypes.gen.go
- expression_description.gen.go
- fetch_index_description.gen.go
- fetch_index_element_description.gen.go
- fetch_request.gen.go
- fetch_request_expression.gen.go
- fetch_request_result_protocol.gen.go
- fetched_property_description.gen.go
- fetched_results_controller.gen.go
- fetched_results_controller_delegate.gen.go
- fetched_results_section_info_protocol.gen.go
- incremental_store.gen.go
- incremental_store_node.gen.go
- managed_object.gen.go
- managed_object_context.gen.go
- managed_object_id.gen.go
- managed_object_model.gen.go
- mapping_model.gen.go
- merge_conflict.gen.go
- merge_policy.gen.go
- migration_manager.gen.go
- persistent_cloud_kit_container.gen.go
- persistent_cloud_kit_container_event.gen.go
- persistent_cloud_kit_container_event_request.gen.go
- persistent_cloud_kit_container_event_result.gen.go
- persistent_cloud_kit_container_options.gen.go
- persistent_container.gen.go
- persistent_history_change.gen.go
- persistent_history_change_request.gen.go
- persistent_history_result.gen.go
- persistent_history_token.gen.go
- persistent_history_transaction.gen.go
- persistent_store.gen.go
- persistent_store_asynchronous_result.gen.go
- persistent_store_coordinator.gen.go
- persistent_store_description.gen.go
- persistent_store_request.gen.go
- persistent_store_result.gen.go
- property_description.gen.go
- property_mapping.gen.go
- query_generation_token.gen.go
- relationship_description.gen.go
- save_changes_request.gen.go