coredata

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package coredata provides purego-based Go bindings for the macOS CoreData framework.

Apple documentation: https://developer.apple.com/documentation/coredata

Index

Constants

View Source
const (
	NSCoreDataError                                  = 134060
	NSEntityMigrationPolicyError                     = 134170
	NSExternalRecordImportError                      = 134200
	NSInferredMappingModelError                      = 134190
	NSManagedObjectConstraintMergeError              = 133021
	NSManagedObjectConstraintValidationError         = 1551
	NSManagedObjectContextLockingError               = 132000
	NSManagedObjectExternalRelationshipError         = 133010
	NSManagedObjectMergeError                        = 133020
	NSManagedObjectModelReferenceNotFoundError       = 134504
	NSManagedObjectReferentialIntegrityError         = 133000
	NSManagedObjectValidationError                   = 1550
	NSMigrationCancelledError                        = 134120
	NSMigrationConstraintViolationError              = 134111
	NSMigrationError                                 = 134110
	NSMigrationManagerDestinationStoreError          = 134160
	NSMigrationManagerSourceStoreError               = 134150
	NSMigrationMissingMappingModelError              = 134140
	NSMigrationMissingSourceModelError               = 134130
	NSPersistentHistoryTokenExpiredError             = 134301
	NSPersistentStoreCoordinatorLockingError         = 132010
	NSPersistentStoreIncompatibleSchemaError         = 134020
	NSPersistentStoreIncompatibleVersionHashError    = 134100
	NSPersistentStoreIncompleteSaveError             = 134040
	NSPersistentStoreInvalidTypeError                = 134000
	NSPersistentStoreOpenError                       = 134080
	NSPersistentStoreOperationError                  = 134070
	NSPersistentStoreSaveConflictsError              = 134050
	NSPersistentStoreSaveError                       = 134030
	NSPersistentStoreTimeoutError                    = 134090
	NSPersistentStoreTypeMismatchError               = 134010
	NSPersistentStoreUnsupportedRequestTypeError     = 134091
	NSSQLiteError                                    = 134180
	NSStagedMigrationBackwardMigrationError          = 134506
	NSStagedMigrationFrameworkVersionMismatchError   = 134505
	NSValidationDateTooLateError                     = 1630
	NSValidationDateTooSoonError                     = 1640
	NSValidationInvalidDateError                     = 1650
	NSValidationInvalidURIError                      = 1690
	NSValidationMissingMandatoryPropertyError        = 1570
	NSValidationMultipleErrorsError                  = 1560
	NSValidationNumberTooLargeError                  = 1610
	NSValidationNumberTooSmallError                  = 1620
	NSValidationRelationshipDeniedDeleteError        = 1600
	NSValidationRelationshipExceedsMaximumCountError = 1590
	NSValidationRelationshipLacksMinimumCountError   = 1580
	NSValidationStringPatternMatchingError           = 1680
	NSValidationStringTooLongError                   = 1660
	NSValidationStringTooShortError                  = 1670
)

Variables

This section is empty.

Functions

func NSAddedPersistentStoresKey

func NSAddedPersistentStoresKey() uintptr

func NSAffectedObjectsErrorKey

func NSAffectedObjectsErrorKey() uintptr

func NSAffectedStoresErrorKey

func NSAffectedStoresErrorKey() uintptr

func NSBinaryExternalRecordType deprecated

func NSBinaryExternalRecordType() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSBinaryStoreInsecureDecodingCompatibilityOption

func NSBinaryStoreInsecureDecodingCompatibilityOption() uintptr

func NSBinaryStoreSecureDecodingClasses

func NSBinaryStoreSecureDecodingClasses() uintptr

func NSBinaryStoreType

func NSBinaryStoreType() uintptr

func NSCoreDataCoreSpotlightDelegateIndexDidUpdateNotification

func NSCoreDataCoreSpotlightDelegateIndexDidUpdateNotification() *foundation.NSString

func NSCoreDataCoreSpotlightExporter

func NSCoreDataCoreSpotlightExporter() uintptr

func NSCoreDataVersionNumber

func NSCoreDataVersionNumber() float64

func NSDeletedObjectIDsKey

func NSDeletedObjectIDsKey() uintptr

func NSDeletedObjectsKey

func NSDeletedObjectsKey() uintptr

func NSDetailedErrorsKey

func NSDetailedErrorsKey() uintptr

func NSEntityNameInPathKey deprecated

func NSEntityNameInPathKey() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSErrorMergePolicy

func NSErrorMergePolicy() objc.ID

func NSExternalRecordExtensionOption deprecated

func NSExternalRecordExtensionOption() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSExternalRecordsDirectoryOption deprecated

func NSExternalRecordsDirectoryOption() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSExternalRecordsFileFormatOption deprecated

func NSExternalRecordsFileFormatOption() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSFetchRequestExpressionExpressionForFetchContextCountOnly

func NSFetchRequestExpressionExpressionForFetchContextCountOnly(fetch *foundation.NSExpression, context_ *foundation.NSExpression, countFlag bool) *foundation.NSExpression

func NSFetchedResultsControllerDeleteCacheWithName

func NSFetchedResultsControllerDeleteCacheWithName(name *foundation.NSString)

func NSIgnorePersistentStoreVersioningOption

func NSIgnorePersistentStoreVersioningOption() uintptr

func NSInMemoryStoreType

func NSInMemoryStoreType() uintptr

func NSIncrementalStoreIdentifierForNewStoreAtURL

func NSIncrementalStoreIdentifierForNewStoreAtURL(storeURL *foundation.NSURL) objc.ID

func NSInferMappingModelAutomaticallyOption

func NSInferMappingModelAutomaticallyOption() uintptr

func NSInsertedObjectIDsKey

func NSInsertedObjectIDsKey() uintptr

func NSInsertedObjectsKey

func NSInsertedObjectsKey() uintptr

func NSInvalidatedAllObjectsKey

func NSInvalidatedAllObjectsKey() uintptr

func NSInvalidatedObjectIDsKey

func NSInvalidatedObjectIDsKey() uintptr

func NSInvalidatedObjectsKey

func NSInvalidatedObjectsKey() uintptr

func NSManagedObjectContextDidMergeChangesObjectIDsNotification

func NSManagedObjectContextDidMergeChangesObjectIDsNotification() uintptr

func NSManagedObjectContextDidSaveNotification

func NSManagedObjectContextDidSaveNotification() uintptr

func NSManagedObjectContextDidSaveObjectIDsNotification

func NSManagedObjectContextDidSaveObjectIDsNotification() uintptr

func NSManagedObjectContextMergeChangesFromRemoteContextSaveIntoContexts

func NSManagedObjectContextMergeChangesFromRemoteContextSaveIntoContexts(changeNotificationData *foundation.NSDictionary[objc.ID, objc.ID], contexts *foundation.NSArray[*NSManagedObjectContext])

func NSManagedObjectContextObjectsDidChangeNotification

func NSManagedObjectContextObjectsDidChangeNotification() uintptr

func NSManagedObjectContextQueryGenerationKey

func NSManagedObjectContextQueryGenerationKey() uintptr

func NSManagedObjectContextShouldIgnoreUnmodeledPropertyChanges

func NSManagedObjectContextShouldIgnoreUnmodeledPropertyChanges() bool

func NSManagedObjectContextWillSaveNotification

func NSManagedObjectContextWillSaveNotification() uintptr

func NSManagedObjectModelChecksumsForVersionedModelAtURLError

func NSManagedObjectModelChecksumsForVersionedModelAtURLError(modelURL *foundation.NSURL) (*foundation.NSDictionary[*foundation.NSString, *foundation.NSString], error)

func NSMergeByPropertyObjectTrumpMergePolicy

func NSMergeByPropertyObjectTrumpMergePolicy() objc.ID

func NSMergeByPropertyStoreTrumpMergePolicy

func NSMergeByPropertyStoreTrumpMergePolicy() objc.ID

func NSMigratePersistentStoresAutomaticallyOption

func NSMigratePersistentStoresAutomaticallyOption() uintptr

func NSMigrationDestinationObjectKey

func NSMigrationDestinationObjectKey() uintptr

func NSMigrationEntityMappingKey

func NSMigrationEntityMappingKey() uintptr

func NSMigrationEntityPolicyKey

func NSMigrationEntityPolicyKey() uintptr

func NSMigrationManagerKey

func NSMigrationManagerKey() uintptr

func NSMigrationPropertyMappingKey

func NSMigrationPropertyMappingKey() uintptr

func NSMigrationSourceObjectKey

func NSMigrationSourceObjectKey() uintptr

func NSModelPathKey deprecated

func NSModelPathKey() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSObjectURIKey deprecated

func NSObjectURIKey() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSOverwriteMergePolicy

func NSOverwriteMergePolicy() objc.ID

func NSPersistentCloudKitContainerEventChangedNotification

func NSPersistentCloudKitContainerEventChangedNotification() uintptr

func NSPersistentCloudKitContainerEventUserInfoKey

func NSPersistentCloudKitContainerEventUserInfoKey() uintptr

func NSPersistentContainerDefaultDirectoryURL

func NSPersistentContainerDefaultDirectoryURL() *foundation.NSURL

func NSPersistentHistoryTokenKey

func NSPersistentHistoryTokenKey() uintptr

func NSPersistentHistoryTrackingKey

func NSPersistentHistoryTrackingKey() uintptr

func NSPersistentStoreConnectionPoolMaxSizeKey

func NSPersistentStoreConnectionPoolMaxSizeKey() uintptr

func NSPersistentStoreCoordinatorElementsDerivedFromExternalRecordURL deprecated

func NSPersistentStoreCoordinatorElementsDerivedFromExternalRecordURL(fileURL *foundation.NSURL) *foundation.NSDictionary[objc.ID, objc.ID]

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSPersistentStoreCoordinatorMetadataForPersistentStoreOfTypeURLError deprecated

func NSPersistentStoreCoordinatorMetadataForPersistentStoreOfTypeURLError(storeType *foundation.NSString, url *foundation.NSURL) (*foundation.NSDictionary[*foundation.NSString, objc.ID], error)

Deprecated: Use -metadataForPersistentStoreOfType:URL:options:error: and pass in an options dictionary matching addPersistentStoreWithType

func NSPersistentStoreCoordinatorMetadataForPersistentStoreOfTypeURLOptionsError

func NSPersistentStoreCoordinatorMetadataForPersistentStoreOfTypeURLOptionsError(storeType *foundation.NSString, url *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) (*foundation.NSDictionary[*foundation.NSString, objc.ID], error)

func NSPersistentStoreCoordinatorMetadataForPersistentStoreWithURLError deprecated

func NSPersistentStoreCoordinatorMetadataForPersistentStoreWithURLError(url *foundation.NSURL) (*foundation.NSDictionary[objc.ID, objc.ID], error)

Deprecated: Use -metadataForPersistentStoreOfType:URL:options:error: and pass in an options dictionary matching addPersistentStoreWithType

func NSPersistentStoreCoordinatorRegisterStoreClassForStoreType

func NSPersistentStoreCoordinatorRegisterStoreClassForStoreType(storeClass objc.Class, storeType *foundation.NSString)

func NSPersistentStoreCoordinatorRegisteredStoreTypes

func NSPersistentStoreCoordinatorRegisteredStoreTypes() *foundation.NSDictionary[*foundation.NSString, *foundation.NSValue]

func NSPersistentStoreCoordinatorRemoveUbiquitousContentAndPersistentStoreAtURLOptionsError deprecated

func NSPersistentStoreCoordinatorRemoveUbiquitousContentAndPersistentStoreAtURLOptionsError(storeURL *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) (bool, error)

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreCoordinatorSetMetadataForPersistentStoreOfTypeURLError deprecated

func NSPersistentStoreCoordinatorSetMetadataForPersistentStoreOfTypeURLError(metadata *foundation.NSDictionary[*foundation.NSString, objc.ID], storeType *foundation.NSString, url *foundation.NSURL) (bool, error)

Deprecated: Use -setMetadata:forPersistentStoreOfType:URL:options:error: and pass in an options dictionary matching addPersistentStoreWithType

func NSPersistentStoreCoordinatorSetMetadataForPersistentStoreOfTypeURLOptionsError

func NSPersistentStoreCoordinatorSetMetadataForPersistentStoreOfTypeURLOptionsError(metadata *foundation.NSDictionary[*foundation.NSString, objc.ID], storeType *foundation.NSString, url *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) (bool, error)

func NSPersistentStoreCoordinatorStoresDidChangeNotification

func NSPersistentStoreCoordinatorStoresDidChangeNotification() uintptr

func NSPersistentStoreCoordinatorStoresWillChangeNotification

func NSPersistentStoreCoordinatorStoresWillChangeNotification() uintptr

func NSPersistentStoreCoordinatorWillRemoveStoreNotification

func NSPersistentStoreCoordinatorWillRemoveStoreNotification() uintptr

func NSPersistentStoreDeferredLightweightMigrationOptionKey

func NSPersistentStoreDeferredLightweightMigrationOptionKey() uintptr

func NSPersistentStoreDidImportUbiquitousContentChangesNotification deprecated

func NSPersistentStoreDidImportUbiquitousContentChangesNotification() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreForceDestroyOption

func NSPersistentStoreForceDestroyOption() uintptr

func NSPersistentStoreMetadataForPersistentStoreWithURLError

func NSPersistentStoreMetadataForPersistentStoreWithURLError(url *foundation.NSURL) (*foundation.NSDictionary[*foundation.NSString, objc.ID], error)

func NSPersistentStoreMigrationManagerClass

func NSPersistentStoreMigrationManagerClass() objc.Class

func NSPersistentStoreModelVersionChecksumKey

func NSPersistentStoreModelVersionChecksumKey() uintptr

func NSPersistentStoreOSCompatibility

func NSPersistentStoreOSCompatibility() uintptr

func NSPersistentStoreRebuildFromUbiquitousContentOption deprecated

func NSPersistentStoreRebuildFromUbiquitousContentOption() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreRemoteChangeNotification

func NSPersistentStoreRemoteChangeNotification() uintptr

func NSPersistentStoreRemoteChangeNotificationPostOptionKey

func NSPersistentStoreRemoteChangeNotificationPostOptionKey() uintptr

func NSPersistentStoreRemoveUbiquitousMetadataOption deprecated

func NSPersistentStoreRemoveUbiquitousMetadataOption() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreSaveConflictsErrorKey

func NSPersistentStoreSaveConflictsErrorKey() uintptr

func NSPersistentStoreSetMetadataForPersistentStoreWithURLError

func NSPersistentStoreSetMetadataForPersistentStoreWithURLError(metadata *foundation.NSDictionary[*foundation.NSString, objc.ID], url *foundation.NSURL) (bool, error)

func NSPersistentStoreStagedMigrationManagerOptionKey

func NSPersistentStoreStagedMigrationManagerOptionKey() uintptr

func NSPersistentStoreTimeoutOption

func NSPersistentStoreTimeoutOption() uintptr

func NSPersistentStoreURLKey

func NSPersistentStoreURLKey() uintptr

func NSPersistentStoreUbiquitousContainerIdentifierKey deprecated

func NSPersistentStoreUbiquitousContainerIdentifierKey() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreUbiquitousContentNameKey deprecated

func NSPersistentStoreUbiquitousContentNameKey() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreUbiquitousContentURLKey deprecated

func NSPersistentStoreUbiquitousContentURLKey() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreUbiquitousPeerTokenOption deprecated

func NSPersistentStoreUbiquitousPeerTokenOption() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSPersistentStoreUbiquitousTransitionTypeKey deprecated

func NSPersistentStoreUbiquitousTransitionTypeKey() uintptr

Deprecated: Please see the release notes and Core Data documentation.

func NSReadOnlyPersistentStoreOption

func NSReadOnlyPersistentStoreOption() uintptr

func NSRefreshedObjectIDsKey

func NSRefreshedObjectIDsKey() uintptr

func NSRefreshedObjectsKey

func NSRefreshedObjectsKey() uintptr

func NSRemovedPersistentStoresKey

func NSRemovedPersistentStoresKey() uintptr

func NSRollbackMergePolicy

func NSRollbackMergePolicy() objc.ID

func NSSQLiteAnalyzeOption

func NSSQLiteAnalyzeOption() uintptr

func NSSQLiteErrorDomain

func NSSQLiteErrorDomain() uintptr

func NSSQLiteManualVacuumOption

func NSSQLiteManualVacuumOption() uintptr

func NSSQLitePragmasOption

func NSSQLitePragmasOption() uintptr

func NSSQLiteStoreType

func NSSQLiteStoreType() uintptr

func NSStoreModelVersionHashesKey

func NSStoreModelVersionHashesKey() uintptr

func NSStoreModelVersionIdentifiersKey

func NSStoreModelVersionIdentifiersKey() uintptr

func NSStorePathKey deprecated

func NSStorePathKey() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSStoreTypeKey

func NSStoreTypeKey() uintptr

func NSStoreUUIDInPathKey deprecated

func NSStoreUUIDInPathKey() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSStoreUUIDKey

func NSStoreUUIDKey() uintptr

func NSUUIDChangedPersistentStoresKey

func NSUUIDChangedPersistentStoresKey() uintptr

func NSUpdatedObjectIDsKey

func NSUpdatedObjectIDsKey() uintptr

func NSUpdatedObjectsKey

func NSUpdatedObjectsKey() uintptr

func NSValidateXMLStoreOption

func NSValidateXMLStoreOption() uintptr

func NSValidationKeyErrorKey

func NSValidationKeyErrorKey() uintptr

func NSValidationObjectErrorKey

func NSValidationObjectErrorKey() uintptr

func NSValidationPredicateErrorKey

func NSValidationPredicateErrorKey() uintptr

func NSValidationValueErrorKey

func NSValidationValueErrorKey() uintptr

func NSXMLExternalRecordType deprecated

func NSXMLExternalRecordType() uintptr

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func NSXMLStoreType

func NSXMLStoreType() uintptr

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

type MDQueryOptionFlags

type MDQueryOptionFlags int64
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NSAsynchronousFetchRequest

type NSAsynchronousFetchRequest[ResultType purego.AnyObject] struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsasynchronousfetchrequest

func NSAsynchronousFetchRequestFromID

func NSAsynchronousFetchRequestFromID[ResultType purego.AnyObject](id objc.ID) *NSAsynchronousFetchRequest[ResultType]

func (*NSAsynchronousFetchRequest[ResultType]) CompletionBlock

func (o *NSAsynchronousFetchRequest[ResultType]) CompletionBlock() objc.Block

func (*NSAsynchronousFetchRequest[ResultType]) EstimatedResultCount

func (o *NSAsynchronousFetchRequest[ResultType]) EstimatedResultCount() int

func (*NSAsynchronousFetchRequest[ResultType]) FetchRequest

func (o *NSAsynchronousFetchRequest[ResultType]) FetchRequest() *NSFetchRequest[ResultType]

func (*NSAsynchronousFetchRequest[ResultType]) InitWithFetchRequestCompletionBlock

func (o *NSAsynchronousFetchRequest[ResultType]) InitWithFetchRequestCompletionBlock(request *NSFetchRequest[ResultType], blk func(*NSAsynchronousFetchResult[ResultType])) *NSAsynchronousFetchRequest[ResultType]

func (*NSAsynchronousFetchRequest[ResultType]) SetEstimatedResultCount

func (o *NSAsynchronousFetchRequest[ResultType]) SetEstimatedResultCount(estimatedResultCount int)

type NSAsynchronousFetchResult

type NSAsynchronousFetchResult[ResultType purego.AnyObject] struct {
	NSPersistentStoreAsynchronousResult
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsasynchronousfetchresult

func NSAsynchronousFetchResultFromID

func NSAsynchronousFetchResultFromID[ResultType purego.AnyObject](id objc.ID) *NSAsynchronousFetchResult[ResultType]

func (*NSAsynchronousFetchResult[ResultType]) FetchRequest

func (o *NSAsynchronousFetchResult[ResultType]) FetchRequest() *NSAsynchronousFetchRequest[ResultType]

func (*NSAsynchronousFetchResult[ResultType]) FinalResult

func (o *NSAsynchronousFetchResult[ResultType]) FinalResult() *foundation.NSArray[ResultType]

type NSAtomicStore

type NSAtomicStore struct {
	NSPersistentStore
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsatomicstore

func NSAtomicStoreFromID

func NSAtomicStoreFromID(id objc.ID) *NSAtomicStore

func (*NSAtomicStore) AddCacheNodes

func (o *NSAtomicStore) AddCacheNodes(cacheNodes *foundation.NSSet[*NSAtomicStoreCacheNode])

func (*NSAtomicStore) CacheNodeForObjectID

func (o *NSAtomicStore) CacheNodeForObjectID(objectID *NSManagedObjectID) *NSAtomicStoreCacheNode

func (*NSAtomicStore) CacheNodes

func (*NSAtomicStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions

func (o *NSAtomicStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(coordinator *NSPersistentStoreCoordinator, configurationName *foundation.NSString, url *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) *NSAtomicStore

func (*NSAtomicStore) Load

func (o *NSAtomicStore) Load() (bool, error)

func (*NSAtomicStore) NewCacheNodeForManagedObject

func (o *NSAtomicStore) NewCacheNodeForManagedObject(managedObject *NSManagedObject) *NSAtomicStoreCacheNode

func (*NSAtomicStore) NewReferenceObjectForManagedObject

func (o *NSAtomicStore) NewReferenceObjectForManagedObject(managedObject *NSManagedObject) objc.ID

func (*NSAtomicStore) ObjectIDForEntityReferenceObject

func (o *NSAtomicStore) ObjectIDForEntityReferenceObject(entity *NSEntityDescription, data objc.ID) *NSManagedObjectID

func (*NSAtomicStore) ReferenceObjectForObjectID

func (o *NSAtomicStore) ReferenceObjectForObjectID(objectID *NSManagedObjectID) objc.ID

func (*NSAtomicStore) Save

func (o *NSAtomicStore) Save() (bool, error)

func (*NSAtomicStore) UpdateCacheNodeFromManagedObject

func (o *NSAtomicStore) UpdateCacheNodeFromManagedObject(node *NSAtomicStoreCacheNode, managedObject *NSManagedObject)

func (*NSAtomicStore) WillRemoveCacheNodes

func (o *NSAtomicStore) WillRemoveCacheNodes(cacheNodes *foundation.NSSet[*NSAtomicStoreCacheNode])

type NSAtomicStoreCacheNode

type NSAtomicStoreCacheNode struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsatomicstorecachenode

func NSAtomicStoreCacheNodeFromID

func NSAtomicStoreCacheNodeFromID(id objc.ID) *NSAtomicStoreCacheNode

func (*NSAtomicStoreCacheNode) InitWithObjectID

func (*NSAtomicStoreCacheNode) ObjectID

func (*NSAtomicStoreCacheNode) PropertyCache

func (*NSAtomicStoreCacheNode) SetPropertyCache

func (o *NSAtomicStoreCacheNode) SetPropertyCache(propertyCache *foundation.NSMutableDictionary[*foundation.NSString, objc.ID])

type NSAttributeDescription

type NSAttributeDescription struct {
	NSPropertyDescription
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsattributedescription

func NSAttributeDescriptionFromID

func NSAttributeDescriptionFromID(id objc.ID) *NSAttributeDescription

func (*NSAttributeDescription) AllowsCloudEncryption

func (o *NSAttributeDescription) AllowsCloudEncryption() bool

func (*NSAttributeDescription) AllowsExternalBinaryDataStorage

func (o *NSAttributeDescription) AllowsExternalBinaryDataStorage() bool

func (*NSAttributeDescription) AttributeType

func (o *NSAttributeDescription) AttributeType() NSAttributeType

func (*NSAttributeDescription) AttributeValueClassName

func (o *NSAttributeDescription) AttributeValueClassName() *foundation.NSString

func (*NSAttributeDescription) DefaultValue

func (o *NSAttributeDescription) DefaultValue() objc.ID

func (*NSAttributeDescription) PreservesValueInHistoryOnDeletion

func (o *NSAttributeDescription) PreservesValueInHistoryOnDeletion() bool

func (*NSAttributeDescription) SetAllowsCloudEncryption

func (o *NSAttributeDescription) SetAllowsCloudEncryption(allowsCloudEncryption bool)

func (*NSAttributeDescription) SetAllowsExternalBinaryDataStorage

func (o *NSAttributeDescription) SetAllowsExternalBinaryDataStorage(allowsExternalBinaryDataStorage bool)

func (*NSAttributeDescription) SetAttributeType

func (o *NSAttributeDescription) SetAttributeType(attributeType NSAttributeType)

func (*NSAttributeDescription) SetAttributeValueClassName

func (o *NSAttributeDescription) SetAttributeValueClassName(attributeValueClassName *foundation.NSString)

func (*NSAttributeDescription) SetDefaultValue

func (o *NSAttributeDescription) SetDefaultValue(defaultValue objc.ID)

func (*NSAttributeDescription) SetPreservesValueInHistoryOnDeletion

func (o *NSAttributeDescription) SetPreservesValueInHistoryOnDeletion(preservesValueInHistoryOnDeletion bool)

func (*NSAttributeDescription) SetValueTransformerName

func (o *NSAttributeDescription) SetValueTransformerName(valueTransformerName *foundation.NSString)

func (*NSAttributeDescription) ValueTransformerName

func (o *NSAttributeDescription) ValueTransformerName() *foundation.NSString

type NSAttributeType

type NSAttributeType uint64
const (
	NSUndefinedAttributeType     NSAttributeType = 0
	NSInteger16AttributeType     NSAttributeType = 100
	NSInteger32AttributeType     NSAttributeType = 200
	NSInteger64AttributeType     NSAttributeType = 300
	NSDecimalAttributeType       NSAttributeType = 400
	NSDoubleAttributeType        NSAttributeType = 500
	NSFloatAttributeType         NSAttributeType = 600
	NSStringAttributeType        NSAttributeType = 700
	NSBooleanAttributeType       NSAttributeType = 800
	NSDateAttributeType          NSAttributeType = 900
	NSBinaryDataAttributeType    NSAttributeType = 1000
	NSUUIDAttributeType          NSAttributeType = 1100
	NSURIAttributeType           NSAttributeType = 1200
	NSTransformableAttributeType NSAttributeType = 1800
	NSObjectIDAttributeType      NSAttributeType = 2000
	NSCompositeAttributeType     NSAttributeType = 2100
)

func (NSAttributeType) String

func (e NSAttributeType) String() string

type NSBatchDeleteRequest

type NSBatchDeleteRequest struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsbatchdeleterequest

func NSBatchDeleteRequestFromID

func NSBatchDeleteRequestFromID(id objc.ID) *NSBatchDeleteRequest

func (*NSBatchDeleteRequest) FetchRequest

func (o *NSBatchDeleteRequest) FetchRequest() *NSFetchRequest[objc.ID]

func (*NSBatchDeleteRequest) InitWithFetchRequest

func (o *NSBatchDeleteRequest) InitWithFetchRequest(fetch *NSFetchRequest[objc.ID]) *NSBatchDeleteRequest

func (*NSBatchDeleteRequest) InitWithObjectIDs

func (*NSBatchDeleteRequest) ResultType

func (*NSBatchDeleteRequest) SetResultType

func (o *NSBatchDeleteRequest) SetResultType(resultType NSBatchDeleteRequestResultType)

type NSBatchDeleteRequestResultType

type NSBatchDeleteRequestResultType uint64
const (
	NSBatchDeleteResultTypeStatusOnly NSBatchDeleteRequestResultType = 0
	NSBatchDeleteResultTypeObjectIDs  NSBatchDeleteRequestResultType = 1
	NSBatchDeleteResultTypeCount      NSBatchDeleteRequestResultType = 2
)

func (NSBatchDeleteRequestResultType) String

type NSBatchDeleteResult

type NSBatchDeleteResult struct {
	NSPersistentStoreResult
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsbatchdeleteresult

func NSBatchDeleteResultFromID

func NSBatchDeleteResultFromID(id objc.ID) *NSBatchDeleteResult

func (*NSBatchDeleteResult) Result

func (o *NSBatchDeleteResult) Result() objc.ID

func (*NSBatchDeleteResult) ResultType

type NSBatchInsertRequest

type NSBatchInsertRequest struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsbatchinsertrequest

func NSBatchInsertRequestBatchInsertRequestWithEntityNameDictionaryHandler

func NSBatchInsertRequestBatchInsertRequestWithEntityNameDictionaryHandler(entityName *foundation.NSString, handler objc.Block) *NSBatchInsertRequest

func NSBatchInsertRequestBatchInsertRequestWithEntityNameManagedObjectHandler

func NSBatchInsertRequestBatchInsertRequestWithEntityNameManagedObjectHandler(entityName *foundation.NSString, handler func(*NSManagedObject) bool) *NSBatchInsertRequest

func NSBatchInsertRequestBatchInsertRequestWithEntityNameObjects

func NSBatchInsertRequestBatchInsertRequestWithEntityNameObjects(entityName *foundation.NSString, dictionaries *foundation.NSArray[objc.ID]) *NSBatchInsertRequest

func NSBatchInsertRequestFromID

func NSBatchInsertRequestFromID(id objc.ID) *NSBatchInsertRequest

func (*NSBatchInsertRequest) DictionaryHandler

func (o *NSBatchInsertRequest) DictionaryHandler() objc.Block

func (*NSBatchInsertRequest) Entity

func (*NSBatchInsertRequest) EntityName

func (o *NSBatchInsertRequest) EntityName() *foundation.NSString

func (*NSBatchInsertRequest) Init deprecated

Deprecated: since macOS 11.0.

func (*NSBatchInsertRequest) InitWithEntityDictionaryHandler

func (o *NSBatchInsertRequest) InitWithEntityDictionaryHandler(entity *NSEntityDescription, handler objc.Block) *NSBatchInsertRequest

func (*NSBatchInsertRequest) InitWithEntityManagedObjectHandler

func (o *NSBatchInsertRequest) InitWithEntityManagedObjectHandler(entity *NSEntityDescription, handler func(*NSManagedObject) bool) *NSBatchInsertRequest

func (*NSBatchInsertRequest) InitWithEntityNameDictionaryHandler

func (o *NSBatchInsertRequest) InitWithEntityNameDictionaryHandler(entityName *foundation.NSString, handler objc.Block) *NSBatchInsertRequest

func (*NSBatchInsertRequest) InitWithEntityNameManagedObjectHandler

func (o *NSBatchInsertRequest) InitWithEntityNameManagedObjectHandler(entityName *foundation.NSString, handler func(*NSManagedObject) bool) *NSBatchInsertRequest

func (*NSBatchInsertRequest) InitWithEntityNameObjects deprecated

func (o *NSBatchInsertRequest) InitWithEntityNameObjects(entityName *foundation.NSString, dictionaries *foundation.NSArray[objc.ID]) *NSBatchInsertRequest

Deprecated: since macOS 11.0.

func (*NSBatchInsertRequest) InitWithEntityObjects deprecated

func (o *NSBatchInsertRequest) InitWithEntityObjects(entity *NSEntityDescription, dictionaries *foundation.NSArray[objc.ID]) *NSBatchInsertRequest

Deprecated: since macOS 11.0.

func (*NSBatchInsertRequest) ManagedObjectHandler

func (o *NSBatchInsertRequest) ManagedObjectHandler() objc.Block

func (*NSBatchInsertRequest) ObjectsToInsert

func (o *NSBatchInsertRequest) ObjectsToInsert() *foundation.NSArray[objc.ID]

func (*NSBatchInsertRequest) ResultType

func (*NSBatchInsertRequest) SetDictionaryHandler

func (o *NSBatchInsertRequest) SetDictionaryHandler(dictionaryHandler objc.Block)

func (*NSBatchInsertRequest) SetManagedObjectHandler

func (o *NSBatchInsertRequest) SetManagedObjectHandler(managedObjectHandler func(*NSManagedObject) bool)

func (*NSBatchInsertRequest) SetObjectsToInsert

func (o *NSBatchInsertRequest) SetObjectsToInsert(objectsToInsert *foundation.NSArray[objc.ID])

func (*NSBatchInsertRequest) SetResultType

func (o *NSBatchInsertRequest) SetResultType(resultType NSBatchInsertRequestResultType)

type NSBatchInsertRequestResultType

type NSBatchInsertRequestResultType uint64
const (
	NSBatchInsertRequestResultTypeStatusOnly NSBatchInsertRequestResultType = 0
	NSBatchInsertRequestResultTypeObjectIDs  NSBatchInsertRequestResultType = 1
	NSBatchInsertRequestResultTypeCount      NSBatchInsertRequestResultType = 2
)

func (NSBatchInsertRequestResultType) String

type NSBatchInsertResult

type NSBatchInsertResult struct {
	NSPersistentStoreResult
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsbatchinsertresult

func NSBatchInsertResultFromID

func NSBatchInsertResultFromID(id objc.ID) *NSBatchInsertResult

func (*NSBatchInsertResult) Result

func (o *NSBatchInsertResult) Result() objc.ID

func (*NSBatchInsertResult) ResultType

type NSBatchUpdateRequest

type NSBatchUpdateRequest struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsbatchupdaterequest

func NSBatchUpdateRequestBatchUpdateRequestWithEntityName

func NSBatchUpdateRequestBatchUpdateRequestWithEntityName(entityName *foundation.NSString) *NSBatchUpdateRequest

func NSBatchUpdateRequestFromID

func NSBatchUpdateRequestFromID(id objc.ID) *NSBatchUpdateRequest

func (*NSBatchUpdateRequest) Entity

func (*NSBatchUpdateRequest) EntityName

func (o *NSBatchUpdateRequest) EntityName() *foundation.NSString

func (*NSBatchUpdateRequest) IncludesSubentities

func (o *NSBatchUpdateRequest) IncludesSubentities() bool

func (*NSBatchUpdateRequest) InitWithEntity

func (*NSBatchUpdateRequest) InitWithEntityName

func (o *NSBatchUpdateRequest) InitWithEntityName(entityName *foundation.NSString) *NSBatchUpdateRequest

func (*NSBatchUpdateRequest) Predicate

func (*NSBatchUpdateRequest) PropertiesToUpdate

func (o *NSBatchUpdateRequest) PropertiesToUpdate() *foundation.NSDictionary[objc.ID, objc.ID]

func (*NSBatchUpdateRequest) ResultType

func (*NSBatchUpdateRequest) SetIncludesSubentities

func (o *NSBatchUpdateRequest) SetIncludesSubentities(includesSubentities bool)

func (*NSBatchUpdateRequest) SetPredicate

func (o *NSBatchUpdateRequest) SetPredicate(predicate *foundation.NSPredicate)

func (*NSBatchUpdateRequest) SetPropertiesToUpdate

func (o *NSBatchUpdateRequest) SetPropertiesToUpdate(propertiesToUpdate *foundation.NSDictionary[objc.ID, objc.ID])

func (*NSBatchUpdateRequest) SetResultType

func (o *NSBatchUpdateRequest) SetResultType(resultType NSBatchUpdateRequestResultType)

type NSBatchUpdateRequestResultType

type NSBatchUpdateRequestResultType uint64
const (
	NSStatusOnlyResultType          NSBatchUpdateRequestResultType = 0
	NSUpdatedObjectIDsResultType    NSBatchUpdateRequestResultType = 1
	NSUpdatedObjectsCountResultType NSBatchUpdateRequestResultType = 2
)

func (NSBatchUpdateRequestResultType) String

type NSBatchUpdateResult

type NSBatchUpdateResult struct {
	NSPersistentStoreResult
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsbatchupdateresult

func NSBatchUpdateResultFromID

func NSBatchUpdateResultFromID(id objc.ID) *NSBatchUpdateResult

func (*NSBatchUpdateResult) Result

func (o *NSBatchUpdateResult) Result() objc.ID

func (*NSBatchUpdateResult) ResultType

type NSCompositeAttributeDescription

type NSCompositeAttributeDescription struct {
	NSAttributeDescription
}

Apple documentation: https://developer.apple.com/documentation/coredata/nscompositeattributedescription

func NSCompositeAttributeDescriptionFromID

func NSCompositeAttributeDescriptionFromID(id objc.ID) *NSCompositeAttributeDescription

func (*NSCompositeAttributeDescription) Elements

func (*NSCompositeAttributeDescription) SetElements

type NSConstraintConflict

type NSConstraintConflict struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsconstraintconflict

func NSConstraintConflictFromID

func NSConstraintConflictFromID(id objc.ID) *NSConstraintConflict

func (*NSConstraintConflict) ConflictingObjects

func (o *NSConstraintConflict) ConflictingObjects() *foundation.NSArray[*NSManagedObject]

func (*NSConstraintConflict) ConflictingSnapshots

func (o *NSConstraintConflict) ConflictingSnapshots() *foundation.NSArray[objc.ID]

func (*NSConstraintConflict) Constraint

func (*NSConstraintConflict) ConstraintValues

func (*NSConstraintConflict) DatabaseObject

func (o *NSConstraintConflict) DatabaseObject() *NSManagedObject

func (*NSConstraintConflict) DatabaseSnapshot

func (*NSConstraintConflict) InitWithConstraintDatabaseObjectDatabaseSnapshotConflictingObjectsConflictingSnapshots

func (o *NSConstraintConflict) InitWithConstraintDatabaseObjectDatabaseSnapshotConflictingObjectsConflictingSnapshots(contraint *foundation.NSArray[*foundation.NSString], databaseObject *NSManagedObject, databaseSnapshot *foundation.NSDictionary[objc.ID, objc.ID], conflictingObjects *foundation.NSArray[*NSManagedObject], conflictingSnapshots *foundation.NSArray[objc.ID]) *NSConstraintConflict

type NSCoreDataCoreSpotlightDelegate

type NSCoreDataCoreSpotlightDelegate struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nscoredatacorespotlightdelegate

func NSCoreDataCoreSpotlightDelegateFromID

func NSCoreDataCoreSpotlightDelegateFromID(id objc.ID) *NSCoreDataCoreSpotlightDelegate

func (*NSCoreDataCoreSpotlightDelegate) AttributeSetForObject

func (o *NSCoreDataCoreSpotlightDelegate) AttributeSetForObject(object *NSManagedObject) objc.ID

func (*NSCoreDataCoreSpotlightDelegate) DeleteSpotlightIndexWithCompletionHandler

func (o *NSCoreDataCoreSpotlightDelegate) DeleteSpotlightIndexWithCompletionHandler(completionHandler func(unsafe.Pointer))

func (*NSCoreDataCoreSpotlightDelegate) DomainIdentifier

func (o *NSCoreDataCoreSpotlightDelegate) DomainIdentifier() *foundation.NSString

func (*NSCoreDataCoreSpotlightDelegate) IndexName

func (*NSCoreDataCoreSpotlightDelegate) InitForStoreWithDescriptionCoordinator

func (*NSCoreDataCoreSpotlightDelegate) InitForStoreWithDescriptionModel deprecated

Deprecated: since macOS 12.0.

func (*NSCoreDataCoreSpotlightDelegate) IsIndexingEnabled

func (o *NSCoreDataCoreSpotlightDelegate) IsIndexingEnabled() bool

func (*NSCoreDataCoreSpotlightDelegate) SearchableIndexReindexAllSearchableItemsWithAcknowledgementHandler

func (o *NSCoreDataCoreSpotlightDelegate) SearchableIndexReindexAllSearchableItemsWithAcknowledgementHandler(searchableIndex objc.ID, acknowledgementHandler func())

func (*NSCoreDataCoreSpotlightDelegate) SearchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler

func (o *NSCoreDataCoreSpotlightDelegate) SearchableIndexReindexSearchableItemsWithIdentifiersAcknowledgementHandler(searchableIndex objc.ID, identifiers *foundation.NSArray[*foundation.NSString], acknowledgementHandler func())

func (*NSCoreDataCoreSpotlightDelegate) StartSpotlightIndexing

func (o *NSCoreDataCoreSpotlightDelegate) StartSpotlightIndexing()

func (*NSCoreDataCoreSpotlightDelegate) StopSpotlightIndexing

func (o *NSCoreDataCoreSpotlightDelegate) StopSpotlightIndexing()

type NSCustomMigrationStage

type NSCustomMigrationStage struct {
	NSMigrationStage
}

Apple documentation: https://developer.apple.com/documentation/coredata/nscustommigrationstage

func NSCustomMigrationStageFromID

func NSCustomMigrationStageFromID(id objc.ID) *NSCustomMigrationStage

func (*NSCustomMigrationStage) CurrentModel

func (*NSCustomMigrationStage) DidMigrateHandler

func (o *NSCustomMigrationStage) DidMigrateHandler() objc.Block

func (*NSCustomMigrationStage) InitWithCurrentModelReferenceNextModelReference

func (o *NSCustomMigrationStage) InitWithCurrentModelReferenceNextModelReference(currentModel *NSManagedObjectModelReference, nextModel *NSManagedObjectModelReference) *NSCustomMigrationStage

func (*NSCustomMigrationStage) NextModel

func (*NSCustomMigrationStage) SetDidMigrateHandler

func (o *NSCustomMigrationStage) SetDidMigrateHandler(didMigrateHandler func(*NSStagedMigrationManager, *NSCustomMigrationStage, unsafe.Pointer) bool)

func (*NSCustomMigrationStage) SetWillMigrateHandler

func (o *NSCustomMigrationStage) SetWillMigrateHandler(willMigrateHandler func(*NSStagedMigrationManager, *NSCustomMigrationStage, unsafe.Pointer) bool)

func (*NSCustomMigrationStage) WillMigrateHandler

func (o *NSCustomMigrationStage) WillMigrateHandler() objc.Block

type NSDeleteRule

type NSDeleteRule uint64
const (
	NSNoActionDeleteRule NSDeleteRule = 0
	NSNullifyDeleteRule  NSDeleteRule = 1
	NSCascadeDeleteRule  NSDeleteRule = 2
	NSDenyDeleteRule     NSDeleteRule = 3
)

func (NSDeleteRule) String

func (e NSDeleteRule) String() string

type NSDerivedAttributeDescription

type NSDerivedAttributeDescription struct {
	NSAttributeDescription
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsderivedattributedescription

func NSDerivedAttributeDescriptionFromID

func NSDerivedAttributeDescriptionFromID(id objc.ID) *NSDerivedAttributeDescription

func (*NSDerivedAttributeDescription) DerivationExpression

func (o *NSDerivedAttributeDescription) DerivationExpression() *foundation.NSExpression

func (*NSDerivedAttributeDescription) SetDerivationExpression

func (o *NSDerivedAttributeDescription) SetDerivationExpression(derivationExpression *foundation.NSExpression)

type NSDiffableDataSourceSnapshot

type NSDiffableDataSourceSnapshot[SectionIdentifierType purego.AnyObject, ItemIdentifierType purego.AnyObject] struct {
	// contains filtered or unexported fields
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsdiffabledatasourcesnapshot

func NSDiffableDataSourceSnapshotFromID

func NSDiffableDataSourceSnapshotFromID[SectionIdentifierType purego.AnyObject, ItemIdentifierType purego.AnyObject](id objc.ID) *NSDiffableDataSourceSnapshot[SectionIdentifierType, ItemIdentifierType]

func (*NSDiffableDataSourceSnapshot[SectionIdentifierType, ItemIdentifierType]) InitPtr

func (o *NSDiffableDataSourceSnapshot[SectionIdentifierType, ItemIdentifierType]) InitPtr(id objc.ID)

func (*NSDiffableDataSourceSnapshot[SectionIdentifierType, ItemIdentifierType]) Ptr

func (o *NSDiffableDataSourceSnapshot[SectionIdentifierType, ItemIdentifierType]) Ptr() objc.ID

type NSEntityDescription

type NSEntityDescription struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsentitydescription

func NSEntityDescriptionEntityForNameInManagedObjectContext

func NSEntityDescriptionEntityForNameInManagedObjectContext(entityName *foundation.NSString, context_ *NSManagedObjectContext) *NSEntityDescription

func NSEntityDescriptionFromID

func NSEntityDescriptionFromID(id objc.ID) *NSEntityDescription

func NSManagedObjectEntity

func NSManagedObjectEntity() *NSEntityDescription

func NSPersistentHistoryChangeEntityDescription

func NSPersistentHistoryChangeEntityDescription() *NSEntityDescription

func NSPersistentHistoryChangeEntityDescriptionWithContext

func NSPersistentHistoryChangeEntityDescriptionWithContext(context_ *NSManagedObjectContext) *NSEntityDescription

func NSPersistentHistoryTransactionEntityDescription

func NSPersistentHistoryTransactionEntityDescription() *NSEntityDescription

func NSPersistentHistoryTransactionEntityDescriptionWithContext

func NSPersistentHistoryTransactionEntityDescriptionWithContext(context_ *NSManagedObjectContext) *NSEntityDescription

func (*NSEntityDescription) AttributesByName

func (*NSEntityDescription) CompoundIndexes deprecated

func (o *NSEntityDescription) CompoundIndexes() *foundation.NSArray[objc.ID]

Deprecated: Use NSEntityDescription.indexes instead

func (*NSEntityDescription) CoreSpotlightDisplayNameExpression

func (o *NSEntityDescription) CoreSpotlightDisplayNameExpression() *foundation.NSExpression

func (*NSEntityDescription) Indexes

func (*NSEntityDescription) IsAbstract

func (o *NSEntityDescription) IsAbstract() bool

func (*NSEntityDescription) IsKindOfEntity

func (o *NSEntityDescription) IsKindOfEntity(entity *NSEntityDescription) bool

func (*NSEntityDescription) ManagedObjectClassName

func (o *NSEntityDescription) ManagedObjectClassName() *foundation.NSString

func (*NSEntityDescription) ManagedObjectModel

func (o *NSEntityDescription) ManagedObjectModel() *NSManagedObjectModel

func (*NSEntityDescription) Name

func (*NSEntityDescription) Properties

func (*NSEntityDescription) PropertiesByName

func (*NSEntityDescription) RelationshipsByName

func (*NSEntityDescription) RelationshipsWithDestinationEntity

func (o *NSEntityDescription) RelationshipsWithDestinationEntity(entity *NSEntityDescription) *foundation.NSArray[*NSRelationshipDescription]

func (*NSEntityDescription) RenamingIdentifier

func (o *NSEntityDescription) RenamingIdentifier() *foundation.NSString

func (*NSEntityDescription) SetAbstract

func (o *NSEntityDescription) SetAbstract(abstract bool)

func (*NSEntityDescription) SetCompoundIndexes deprecated

func (o *NSEntityDescription) SetCompoundIndexes(compoundIndexes *foundation.NSArray[objc.ID])

Deprecated: Use NSEntityDescription.indexes instead

func (*NSEntityDescription) SetCoreSpotlightDisplayNameExpression

func (o *NSEntityDescription) SetCoreSpotlightDisplayNameExpression(coreSpotlightDisplayNameExpression *foundation.NSExpression)

func (*NSEntityDescription) SetIndexes

func (*NSEntityDescription) SetManagedObjectClassName

func (o *NSEntityDescription) SetManagedObjectClassName(managedObjectClassName *foundation.NSString)

func (*NSEntityDescription) SetName

func (o *NSEntityDescription) SetName(name *foundation.NSString)

func (*NSEntityDescription) SetProperties

func (o *NSEntityDescription) SetProperties(properties *foundation.NSArray[*NSPropertyDescription])

func (*NSEntityDescription) SetRenamingIdentifier

func (o *NSEntityDescription) SetRenamingIdentifier(renamingIdentifier *foundation.NSString)

func (*NSEntityDescription) SetSubentities

func (o *NSEntityDescription) SetSubentities(subentities *foundation.NSArray[*NSEntityDescription])

func (*NSEntityDescription) SetUniquenessConstraints

func (o *NSEntityDescription) SetUniquenessConstraints(uniquenessConstraints *foundation.NSArray[objc.ID])

func (*NSEntityDescription) SetUserInfo

func (o *NSEntityDescription) SetUserInfo(userInfo *foundation.NSDictionary[objc.ID, objc.ID])

func (*NSEntityDescription) SetVersionHashModifier

func (o *NSEntityDescription) SetVersionHashModifier(versionHashModifier *foundation.NSString)

func (*NSEntityDescription) Subentities

func (*NSEntityDescription) SubentitiesByName

func (*NSEntityDescription) Superentity

func (o *NSEntityDescription) Superentity() *NSEntityDescription

func (*NSEntityDescription) UniquenessConstraints

func (o *NSEntityDescription) UniquenessConstraints() *foundation.NSArray[objc.ID]

func (*NSEntityDescription) UserInfo

func (*NSEntityDescription) VersionHash

func (o *NSEntityDescription) VersionHash() *foundation.NSData

func (*NSEntityDescription) VersionHashModifier

func (o *NSEntityDescription) VersionHashModifier() *foundation.NSString

type NSEntityMapping

type NSEntityMapping struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsentitymapping

func NSEntityMappingFromID

func NSEntityMappingFromID(id objc.ID) *NSEntityMapping

func (*NSEntityMapping) AttributeMappings

func (o *NSEntityMapping) AttributeMappings() *foundation.NSArray[*NSPropertyMapping]

func (*NSEntityMapping) DestinationEntityName

func (o *NSEntityMapping) DestinationEntityName() *foundation.NSString

func (*NSEntityMapping) DestinationEntityVersionHash

func (o *NSEntityMapping) DestinationEntityVersionHash() *foundation.NSData

func (*NSEntityMapping) EntityMigrationPolicyClassName

func (o *NSEntityMapping) EntityMigrationPolicyClassName() *foundation.NSString

func (*NSEntityMapping) MappingType

func (o *NSEntityMapping) MappingType() NSEntityMappingType

func (*NSEntityMapping) Name

func (o *NSEntityMapping) Name() *foundation.NSString

func (*NSEntityMapping) RelationshipMappings

func (o *NSEntityMapping) RelationshipMappings() *foundation.NSArray[*NSPropertyMapping]

func (*NSEntityMapping) SetAttributeMappings

func (o *NSEntityMapping) SetAttributeMappings(attributeMappings *foundation.NSArray[*NSPropertyMapping])

func (*NSEntityMapping) SetDestinationEntityName

func (o *NSEntityMapping) SetDestinationEntityName(destinationEntityName *foundation.NSString)

func (*NSEntityMapping) SetDestinationEntityVersionHash

func (o *NSEntityMapping) SetDestinationEntityVersionHash(destinationEntityVersionHash *foundation.NSData)

func (*NSEntityMapping) SetEntityMigrationPolicyClassName

func (o *NSEntityMapping) SetEntityMigrationPolicyClassName(entityMigrationPolicyClassName *foundation.NSString)

func (*NSEntityMapping) SetMappingType

func (o *NSEntityMapping) SetMappingType(mappingType NSEntityMappingType)

func (*NSEntityMapping) SetName

func (o *NSEntityMapping) SetName(name *foundation.NSString)

func (*NSEntityMapping) SetRelationshipMappings

func (o *NSEntityMapping) SetRelationshipMappings(relationshipMappings *foundation.NSArray[*NSPropertyMapping])

func (*NSEntityMapping) SetSourceEntityName

func (o *NSEntityMapping) SetSourceEntityName(sourceEntityName *foundation.NSString)

func (*NSEntityMapping) SetSourceEntityVersionHash

func (o *NSEntityMapping) SetSourceEntityVersionHash(sourceEntityVersionHash *foundation.NSData)

func (*NSEntityMapping) SetSourceExpression

func (o *NSEntityMapping) SetSourceExpression(sourceExpression *foundation.NSExpression)

func (*NSEntityMapping) SetUserInfo

func (o *NSEntityMapping) SetUserInfo(userInfo *foundation.NSDictionary[objc.ID, objc.ID])

func (*NSEntityMapping) SourceEntityName

func (o *NSEntityMapping) SourceEntityName() *foundation.NSString

func (*NSEntityMapping) SourceEntityVersionHash

func (o *NSEntityMapping) SourceEntityVersionHash() *foundation.NSData

func (*NSEntityMapping) SourceExpression

func (o *NSEntityMapping) SourceExpression() *foundation.NSExpression

func (*NSEntityMapping) UserInfo

type NSEntityMappingType

type NSEntityMappingType uint64
const (
	NSUndefinedEntityMappingType NSEntityMappingType = 0
	NSCustomEntityMappingType    NSEntityMappingType = 1
	NSAddEntityMappingType       NSEntityMappingType = 2
	NSRemoveEntityMappingType    NSEntityMappingType = 3
	NSCopyEntityMappingType      NSEntityMappingType = 4
	NSTransformEntityMappingType NSEntityMappingType = 5
)

func (NSEntityMappingType) String

func (e NSEntityMappingType) String() string

type NSEntityMigrationPolicy

type NSEntityMigrationPolicy struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsentitymigrationpolicy

func NSEntityMigrationPolicyFromID

func NSEntityMigrationPolicyFromID(id objc.ID) *NSEntityMigrationPolicy

func (*NSEntityMigrationPolicy) BeginEntityMappingManagerError

func (o *NSEntityMigrationPolicy) BeginEntityMappingManagerError(mapping *NSEntityMapping, manager *NSMigrationManager) (bool, error)

func (*NSEntityMigrationPolicy) CreateDestinationInstancesForSourceInstanceEntityMappingManagerError

func (o *NSEntityMigrationPolicy) CreateDestinationInstancesForSourceInstanceEntityMappingManagerError(sInstance *NSManagedObject, mapping *NSEntityMapping, manager *NSMigrationManager) (bool, error)

func (*NSEntityMigrationPolicy) CreateRelationshipsForDestinationInstanceEntityMappingManagerError

func (o *NSEntityMigrationPolicy) CreateRelationshipsForDestinationInstanceEntityMappingManagerError(dInstance *NSManagedObject, mapping *NSEntityMapping, manager *NSMigrationManager) (bool, error)

func (*NSEntityMigrationPolicy) EndEntityMappingManagerError

func (o *NSEntityMigrationPolicy) EndEntityMappingManagerError(mapping *NSEntityMapping, manager *NSMigrationManager) (bool, error)

func (*NSEntityMigrationPolicy) EndInstanceCreationForEntityMappingManagerError

func (o *NSEntityMigrationPolicy) EndInstanceCreationForEntityMappingManagerError(mapping *NSEntityMapping, manager *NSMigrationManager) (bool, error)

func (*NSEntityMigrationPolicy) EndRelationshipCreationForEntityMappingManagerError

func (o *NSEntityMigrationPolicy) EndRelationshipCreationForEntityMappingManagerError(mapping *NSEntityMapping, manager *NSMigrationManager) (bool, error)

func (*NSEntityMigrationPolicy) PerformCustomValidationForEntityMappingManagerError

func (o *NSEntityMigrationPolicy) PerformCustomValidationForEntityMappingManagerError(mapping *NSEntityMapping, manager *NSMigrationManager) (bool, error)

type NSExpressionDescription

type NSExpressionDescription struct {
	NSPropertyDescription
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsexpressiondescription

func NSExpressionDescriptionFromID

func NSExpressionDescriptionFromID(id objc.ID) *NSExpressionDescription

func (*NSExpressionDescription) Expression

func (*NSExpressionDescription) ExpressionResultType

func (o *NSExpressionDescription) ExpressionResultType() NSAttributeType

func (*NSExpressionDescription) SetExpression

func (o *NSExpressionDescription) SetExpression(expression *foundation.NSExpression)

func (*NSExpressionDescription) SetExpressionResultType

func (o *NSExpressionDescription) SetExpressionResultType(expressionResultType NSAttributeType)

type NSFetchIndexDescription

type NSFetchIndexDescription struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsfetchindexdescription

func NSFetchIndexDescriptionFromID

func NSFetchIndexDescriptionFromID(id objc.ID) *NSFetchIndexDescription

func (*NSFetchIndexDescription) Elements

func (*NSFetchIndexDescription) Entity

func (*NSFetchIndexDescription) InitWithNameElements

func (*NSFetchIndexDescription) Name

func (*NSFetchIndexDescription) PartialIndexPredicate

func (o *NSFetchIndexDescription) PartialIndexPredicate() *foundation.NSPredicate

func (*NSFetchIndexDescription) SetElements

func (*NSFetchIndexDescription) SetName

func (o *NSFetchIndexDescription) SetName(name *foundation.NSString)

func (*NSFetchIndexDescription) SetPartialIndexPredicate

func (o *NSFetchIndexDescription) SetPartialIndexPredicate(partialIndexPredicate *foundation.NSPredicate)

type NSFetchIndexElementDescription

type NSFetchIndexElementDescription struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsfetchindexelementdescription

func NSFetchIndexElementDescriptionFromID

func NSFetchIndexElementDescriptionFromID(id objc.ID) *NSFetchIndexElementDescription

func (*NSFetchIndexElementDescription) CollationType

func (*NSFetchIndexElementDescription) IndexDescription

func (*NSFetchIndexElementDescription) InitWithPropertyCollationType

func (o *NSFetchIndexElementDescription) InitWithPropertyCollationType(property *NSPropertyDescription, collationType NSFetchIndexElementType) *NSFetchIndexElementDescription

func (*NSFetchIndexElementDescription) IsAscending

func (o *NSFetchIndexElementDescription) IsAscending() bool

func (*NSFetchIndexElementDescription) Property

func (*NSFetchIndexElementDescription) PropertyName

func (*NSFetchIndexElementDescription) SetAscending

func (o *NSFetchIndexElementDescription) SetAscending(ascending bool)

func (*NSFetchIndexElementDescription) SetCollationType

func (o *NSFetchIndexElementDescription) SetCollationType(collationType NSFetchIndexElementType)

type NSFetchIndexElementType

type NSFetchIndexElementType uint64
const (
	NSFetchIndexElementTypeBinary NSFetchIndexElementType = 0
	NSFetchIndexElementTypeRTree  NSFetchIndexElementType = 1
)

func (NSFetchIndexElementType) String

func (e NSFetchIndexElementType) String() string

type NSFetchRequest

type NSFetchRequest[ResultType purego.AnyObject] struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsfetchrequest

func NSFetchRequestFetchRequestWithEntityName

func NSFetchRequestFetchRequestWithEntityName(entityName *foundation.NSString) *NSFetchRequest[objc.ID]

func NSFetchRequestFromID

func NSFetchRequestFromID[ResultType purego.AnyObject](id objc.ID) *NSFetchRequest[ResultType]

func NSManagedObjectFetchRequest

func NSManagedObjectFetchRequest() *NSFetchRequest[objc.ID]

func NSPersistentCloudKitContainerEventRequestFetchRequestForEvents

func NSPersistentCloudKitContainerEventRequestFetchRequestForEvents() *NSFetchRequest[objc.ID]

func NSPersistentHistoryChangeFetchRequest

func NSPersistentHistoryChangeFetchRequest() *NSFetchRequest[objc.ID]

func NSPersistentHistoryTransactionFetchRequest

func NSPersistentHistoryTransactionFetchRequest() *NSFetchRequest[objc.ID]

func (*NSFetchRequest[ResultType]) Entity

func (o *NSFetchRequest[ResultType]) Entity() *NSEntityDescription

func (*NSFetchRequest[ResultType]) EntityName

func (o *NSFetchRequest[ResultType]) EntityName() *foundation.NSString

func (*NSFetchRequest[ResultType]) Execute

func (o *NSFetchRequest[ResultType]) Execute() (*foundation.NSArray[ResultType], error)

func (*NSFetchRequest[ResultType]) FetchBatchSize

func (o *NSFetchRequest[ResultType]) FetchBatchSize() uint

func (*NSFetchRequest[ResultType]) FetchLimit

func (o *NSFetchRequest[ResultType]) FetchLimit() uint

func (*NSFetchRequest[ResultType]) FetchOffset

func (o *NSFetchRequest[ResultType]) FetchOffset() uint

func (*NSFetchRequest[ResultType]) HavingPredicate

func (o *NSFetchRequest[ResultType]) HavingPredicate() *foundation.NSPredicate

func (*NSFetchRequest[ResultType]) IncludesPendingChanges

func (o *NSFetchRequest[ResultType]) IncludesPendingChanges() bool

func (*NSFetchRequest[ResultType]) IncludesPropertyValues

func (o *NSFetchRequest[ResultType]) IncludesPropertyValues() bool

func (*NSFetchRequest[ResultType]) IncludesSubentities

func (o *NSFetchRequest[ResultType]) IncludesSubentities() bool

func (*NSFetchRequest[ResultType]) Init

func (o *NSFetchRequest[ResultType]) Init() *NSFetchRequest[ResultType]

func (*NSFetchRequest[ResultType]) InitWithEntityName

func (o *NSFetchRequest[ResultType]) InitWithEntityName(entityName *foundation.NSString) *NSFetchRequest[ResultType]

func (*NSFetchRequest[ResultType]) Predicate

func (o *NSFetchRequest[ResultType]) Predicate() *foundation.NSPredicate

func (*NSFetchRequest[ResultType]) PropertiesToFetch

func (o *NSFetchRequest[ResultType]) PropertiesToFetch() *foundation.NSArray[objc.ID]

func (*NSFetchRequest[ResultType]) PropertiesToGroupBy

func (o *NSFetchRequest[ResultType]) PropertiesToGroupBy() *foundation.NSArray[objc.ID]

func (*NSFetchRequest[ResultType]) RelationshipKeyPathsForPrefetching

func (o *NSFetchRequest[ResultType]) RelationshipKeyPathsForPrefetching() *foundation.NSArray[*foundation.NSString]

func (*NSFetchRequest[ResultType]) ResultType

func (o *NSFetchRequest[ResultType]) ResultType() NSFetchRequestResultType

func (*NSFetchRequest[ResultType]) ReturnsDistinctResults

func (o *NSFetchRequest[ResultType]) ReturnsDistinctResults() bool

func (*NSFetchRequest[ResultType]) ReturnsObjectsAsFaults

func (o *NSFetchRequest[ResultType]) ReturnsObjectsAsFaults() bool

func (*NSFetchRequest[ResultType]) SetEntity

func (o *NSFetchRequest[ResultType]) SetEntity(entity *NSEntityDescription)

func (*NSFetchRequest[ResultType]) SetFetchBatchSize

func (o *NSFetchRequest[ResultType]) SetFetchBatchSize(fetchBatchSize uint)

func (*NSFetchRequest[ResultType]) SetFetchLimit

func (o *NSFetchRequest[ResultType]) SetFetchLimit(fetchLimit uint)

func (*NSFetchRequest[ResultType]) SetFetchOffset

func (o *NSFetchRequest[ResultType]) SetFetchOffset(fetchOffset uint)

func (*NSFetchRequest[ResultType]) SetHavingPredicate

func (o *NSFetchRequest[ResultType]) SetHavingPredicate(havingPredicate *foundation.NSPredicate)

func (*NSFetchRequest[ResultType]) SetIncludesPendingChanges

func (o *NSFetchRequest[ResultType]) SetIncludesPendingChanges(includesPendingChanges bool)

func (*NSFetchRequest[ResultType]) SetIncludesPropertyValues

func (o *NSFetchRequest[ResultType]) SetIncludesPropertyValues(includesPropertyValues bool)

func (*NSFetchRequest[ResultType]) SetIncludesSubentities

func (o *NSFetchRequest[ResultType]) SetIncludesSubentities(includesSubentities bool)

func (*NSFetchRequest[ResultType]) SetPredicate

func (o *NSFetchRequest[ResultType]) SetPredicate(predicate *foundation.NSPredicate)

func (*NSFetchRequest[ResultType]) SetPropertiesToFetch

func (o *NSFetchRequest[ResultType]) SetPropertiesToFetch(propertiesToFetch *foundation.NSArray[objc.ID])

func (*NSFetchRequest[ResultType]) SetPropertiesToGroupBy

func (o *NSFetchRequest[ResultType]) SetPropertiesToGroupBy(propertiesToGroupBy *foundation.NSArray[objc.ID])

func (*NSFetchRequest[ResultType]) SetRelationshipKeyPathsForPrefetching

func (o *NSFetchRequest[ResultType]) SetRelationshipKeyPathsForPrefetching(relationshipKeyPathsForPrefetching *foundation.NSArray[*foundation.NSString])

func (*NSFetchRequest[ResultType]) SetResultType

func (o *NSFetchRequest[ResultType]) SetResultType(resultType NSFetchRequestResultType)

func (*NSFetchRequest[ResultType]) SetReturnsDistinctResults

func (o *NSFetchRequest[ResultType]) SetReturnsDistinctResults(returnsDistinctResults bool)

func (*NSFetchRequest[ResultType]) SetReturnsObjectsAsFaults

func (o *NSFetchRequest[ResultType]) SetReturnsObjectsAsFaults(returnsObjectsAsFaults bool)

func (*NSFetchRequest[ResultType]) SetShouldRefreshRefetchedObjects

func (o *NSFetchRequest[ResultType]) SetShouldRefreshRefetchedObjects(shouldRefreshRefetchedObjects bool)

func (*NSFetchRequest[ResultType]) SetSortDescriptors

func (o *NSFetchRequest[ResultType]) SetSortDescriptors(sortDescriptors *foundation.NSArray[*foundation.NSSortDescriptor])

func (*NSFetchRequest[ResultType]) ShouldRefreshRefetchedObjects

func (o *NSFetchRequest[ResultType]) ShouldRefreshRefetchedObjects() bool

func (*NSFetchRequest[ResultType]) SortDescriptors

func (o *NSFetchRequest[ResultType]) SortDescriptors() *foundation.NSArray[*foundation.NSSortDescriptor]

type NSFetchRequestExpression

type NSFetchRequestExpression struct {
	foundation.NSExpression
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsfetchrequestexpression

func NSFetchRequestExpressionFromID

func NSFetchRequestExpressionFromID(id objc.ID) *NSFetchRequestExpression

func (*NSFetchRequestExpression) ContextExpression

func (o *NSFetchRequestExpression) ContextExpression() *foundation.NSExpression

func (*NSFetchRequestExpression) IsCountOnlyRequest

func (o *NSFetchRequestExpression) IsCountOnlyRequest() bool

func (*NSFetchRequestExpression) RequestExpression

func (o *NSFetchRequestExpression) RequestExpression() *foundation.NSExpression

type NSFetchRequestResult

type NSFetchRequestResult interface {
}

NSFetchRequestResult wraps the ObjC protocol NSFetchRequestResult.

type NSFetchRequestResultType

type NSFetchRequestResultType uint64
const (
	NSManagedObjectResultType   NSFetchRequestResultType = 0
	NSManagedObjectIDResultType NSFetchRequestResultType = 1
	NSDictionaryResultType      NSFetchRequestResultType = 2
	NSCountResultType           NSFetchRequestResultType = 4
)

func (NSFetchRequestResultType) String

func (e NSFetchRequestResultType) String() string

type NSFetchedPropertyDescription

type NSFetchedPropertyDescription struct {
	NSPropertyDescription
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsfetchedpropertydescription

func NSFetchedPropertyDescriptionFromID

func NSFetchedPropertyDescriptionFromID(id objc.ID) *NSFetchedPropertyDescription

func (*NSFetchedPropertyDescription) FetchRequest

func (o *NSFetchedPropertyDescription) FetchRequest() *NSFetchRequest[objc.ID]

func (*NSFetchedPropertyDescription) SetFetchRequest

func (o *NSFetchedPropertyDescription) SetFetchRequest(fetchRequest *NSFetchRequest[objc.ID])

type NSFetchedResultsChangeType

type NSFetchedResultsChangeType uint64
const (
	NSFetchedResultsChangeInsert NSFetchedResultsChangeType = 1
	NSFetchedResultsChangeDelete NSFetchedResultsChangeType = 2
	NSFetchedResultsChangeMove   NSFetchedResultsChangeType = 3
	NSFetchedResultsChangeUpdate NSFetchedResultsChangeType = 4
)

func (NSFetchedResultsChangeType) String

type NSFetchedResultsController

type NSFetchedResultsController[ResultType purego.AnyObject] struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsfetchedresultscontroller

func NSFetchedResultsControllerFromID

func NSFetchedResultsControllerFromID[ResultType purego.AnyObject](id objc.ID) *NSFetchedResultsController[ResultType]

func (*NSFetchedResultsController[ResultType]) CacheName

func (o *NSFetchedResultsController[ResultType]) CacheName() *foundation.NSString

func (*NSFetchedResultsController[ResultType]) Delegate

func (*NSFetchedResultsController[ResultType]) FetchRequest

func (o *NSFetchedResultsController[ResultType]) FetchRequest() *NSFetchRequest[ResultType]

func (*NSFetchedResultsController[ResultType]) FetchedObjects

func (o *NSFetchedResultsController[ResultType]) FetchedObjects() *foundation.NSArray[ResultType]

func (*NSFetchedResultsController[ResultType]) IndexPathForObject

func (o *NSFetchedResultsController[ResultType]) IndexPathForObject(object ResultType) *foundation.NSIndexPath

func (*NSFetchedResultsController[ResultType]) InitWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName

func (o *NSFetchedResultsController[ResultType]) InitWithFetchRequestManagedObjectContextSectionNameKeyPathCacheName(fetchRequest *NSFetchRequest[ResultType], context_ *NSManagedObjectContext, sectionNameKeyPath *foundation.NSString, name *foundation.NSString) *NSFetchedResultsController[ResultType]

func (*NSFetchedResultsController[ResultType]) ManagedObjectContext

func (o *NSFetchedResultsController[ResultType]) ManagedObjectContext() *NSManagedObjectContext

func (*NSFetchedResultsController[ResultType]) ObjectAtIndexPath

func (o *NSFetchedResultsController[ResultType]) ObjectAtIndexPath(indexPath *foundation.NSIndexPath) ResultType

func (*NSFetchedResultsController[ResultType]) PerformFetch

func (o *NSFetchedResultsController[ResultType]) PerformFetch() (bool, error)

func (*NSFetchedResultsController[ResultType]) SectionForSectionIndexTitleAtIndex

func (o *NSFetchedResultsController[ResultType]) SectionForSectionIndexTitleAtIndex(title *foundation.NSString, sectionIndex int) int

func (*NSFetchedResultsController[ResultType]) SectionIndexTitleForSectionName

func (o *NSFetchedResultsController[ResultType]) SectionIndexTitleForSectionName(sectionName *foundation.NSString) *foundation.NSString

func (*NSFetchedResultsController[ResultType]) SectionIndexTitles

func (o *NSFetchedResultsController[ResultType]) SectionIndexTitles() *foundation.NSArray[*foundation.NSString]

func (*NSFetchedResultsController[ResultType]) SectionNameKeyPath

func (o *NSFetchedResultsController[ResultType]) SectionNameKeyPath() *foundation.NSString

func (*NSFetchedResultsController[ResultType]) Sections

func (*NSFetchedResultsController[ResultType]) SetDelegate

func (o *NSFetchedResultsController[ResultType]) SetDelegate(delegate NSFetchedResultsControllerDelegate)

type NSFetchedResultsControllerDelegate

type NSFetchedResultsControllerDelegate interface {
}

NSFetchedResultsControllerDelegate wraps the ObjC protocol NSFetchedResultsControllerDelegate.

type NSFetchedResultsSectionInfo

type NSFetchedResultsSectionInfo interface {
	Name() *foundation.NSString
	IndexTitle() *foundation.NSString
	NumberOfObjects() uint
	Objects() *foundation.NSArray[objc.ID]
}

NSFetchedResultsSectionInfo wraps the ObjC protocol NSFetchedResultsSectionInfo.

type NSIncrementalStore

type NSIncrementalStore struct {
	NSPersistentStore
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsincrementalstore

func NSIncrementalStoreFromID

func NSIncrementalStoreFromID(id objc.ID) *NSIncrementalStore

func (*NSIncrementalStore) ExecuteRequestWithContextError

func (o *NSIncrementalStore) ExecuteRequestWithContextError(request *NSPersistentStoreRequest, context_ *NSManagedObjectContext) (objc.ID, error)

func (*NSIncrementalStore) ManagedObjectContextDidRegisterObjectsWithIDs

func (o *NSIncrementalStore) ManagedObjectContextDidRegisterObjectsWithIDs(objectIDs *foundation.NSArray[*NSManagedObjectID])

func (*NSIncrementalStore) ManagedObjectContextDidUnregisterObjectsWithIDs

func (o *NSIncrementalStore) ManagedObjectContextDidUnregisterObjectsWithIDs(objectIDs *foundation.NSArray[*NSManagedObjectID])

func (*NSIncrementalStore) NewObjectIDForEntityReferenceObject

func (o *NSIncrementalStore) NewObjectIDForEntityReferenceObject(entity *NSEntityDescription, data objc.ID) *NSManagedObjectID

func (*NSIncrementalStore) NewValueForRelationshipForObjectWithIDWithContextError

func (o *NSIncrementalStore) NewValueForRelationshipForObjectWithIDWithContextError(relationship *NSRelationshipDescription, objectID *NSManagedObjectID, context_ *NSManagedObjectContext) (objc.ID, error)

func (*NSIncrementalStore) NewValuesForObjectWithIDWithContextError

func (o *NSIncrementalStore) NewValuesForObjectWithIDWithContextError(objectID *NSManagedObjectID, context_ *NSManagedObjectContext) (*NSIncrementalStoreNode, error)

func (*NSIncrementalStore) ObtainPermanentIDsForObjectsError

func (o *NSIncrementalStore) ObtainPermanentIDsForObjectsError(array *foundation.NSArray[*NSManagedObject]) (*foundation.NSArray[*NSManagedObjectID], error)

func (*NSIncrementalStore) ReferenceObjectForObjectID

func (o *NSIncrementalStore) ReferenceObjectForObjectID(objectID *NSManagedObjectID) objc.ID

type NSIncrementalStoreNode

type NSIncrementalStoreNode struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsincrementalstorenode

func NSIncrementalStoreNodeFromID

func NSIncrementalStoreNodeFromID(id objc.ID) *NSIncrementalStoreNode

func (*NSIncrementalStoreNode) InitWithObjectIDWithValuesVersion

func (o *NSIncrementalStoreNode) InitWithObjectIDWithValuesVersion(objectID *NSManagedObjectID, values *foundation.NSDictionary[*foundation.NSString, objc.ID], version uint64) *NSIncrementalStoreNode

func (*NSIncrementalStoreNode) ObjectID

func (*NSIncrementalStoreNode) UpdateWithValuesVersion

func (o *NSIncrementalStoreNode) UpdateWithValuesVersion(values *foundation.NSDictionary[*foundation.NSString, objc.ID], version uint64)

func (*NSIncrementalStoreNode) ValueForPropertyDescription

func (o *NSIncrementalStoreNode) ValueForPropertyDescription(prop *NSPropertyDescription) objc.ID

type NSLightweightMigrationStage

type NSLightweightMigrationStage struct {
	NSMigrationStage
}

Apple documentation: https://developer.apple.com/documentation/coredata/nslightweightmigrationstage

func NSLightweightMigrationStageFromID

func NSLightweightMigrationStageFromID(id objc.ID) *NSLightweightMigrationStage

func (*NSLightweightMigrationStage) InitWithVersionChecksums

func (o *NSLightweightMigrationStage) InitWithVersionChecksums(versionChecksums *foundation.NSArray[*foundation.NSString]) *NSLightweightMigrationStage

func (*NSLightweightMigrationStage) VersionChecksums

type NSManagedObject

type NSManagedObject struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmanagedobject

func NSEntityDescriptionInsertNewObjectForEntityForNameInManagedObjectContext

func NSEntityDescriptionInsertNewObjectForEntityForNameInManagedObjectContext(entityName *foundation.NSString, context_ *NSManagedObjectContext) *NSManagedObject

func NSManagedObjectFromID

func NSManagedObjectFromID(id objc.ID) *NSManagedObject

func (*NSManagedObject) AwakeFromFetch

func (o *NSManagedObject) AwakeFromFetch()

func (*NSManagedObject) AwakeFromInsert

func (o *NSManagedObject) AwakeFromInsert()

func (*NSManagedObject) AwakeFromSnapshotEvents

func (o *NSManagedObject) AwakeFromSnapshotEvents(flags NSSnapshotEventType)

func (*NSManagedObject) ChangedValues

func (*NSManagedObject) ChangedValuesForCurrentEvent

func (o *NSManagedObject) ChangedValuesForCurrentEvent() *foundation.NSDictionary[*foundation.NSString, objc.ID]

func (*NSManagedObject) CommittedValuesForKeys

func (*NSManagedObject) DidAccessValueForKey

func (o *NSManagedObject) DidAccessValueForKey(key *foundation.NSString)

func (*NSManagedObject) DidSave

func (o *NSManagedObject) DidSave()

func (*NSManagedObject) DidTurnIntoFault

func (o *NSManagedObject) DidTurnIntoFault()

func (*NSManagedObject) Entity

func (o *NSManagedObject) Entity() *NSEntityDescription

func (*NSManagedObject) FaultingState

func (o *NSManagedObject) FaultingState() uint

func (*NSManagedObject) HasChanges

func (o *NSManagedObject) HasChanges() bool

func (*NSManagedObject) HasFaultForRelationshipNamed

func (o *NSManagedObject) HasFaultForRelationshipNamed(key *foundation.NSString) bool

func (*NSManagedObject) HasPersistentChangedValues

func (o *NSManagedObject) HasPersistentChangedValues() bool

func (*NSManagedObject) InitWithContext

func (o *NSManagedObject) InitWithContext(moc *NSManagedObjectContext) *NSManagedObject

func (*NSManagedObject) InitWithEntityInsertIntoManagedObjectContext

func (o *NSManagedObject) InitWithEntityInsertIntoManagedObjectContext(entity *NSEntityDescription, context_ *NSManagedObjectContext) *NSManagedObject

func (*NSManagedObject) IsDeleted

func (o *NSManagedObject) IsDeleted() bool

func (*NSManagedObject) IsFault

func (o *NSManagedObject) IsFault() bool

func (*NSManagedObject) IsInserted

func (o *NSManagedObject) IsInserted() bool

func (*NSManagedObject) IsUpdated

func (o *NSManagedObject) IsUpdated() bool

func (*NSManagedObject) ManagedObjectContext

func (o *NSManagedObject) ManagedObjectContext() *NSManagedObjectContext

func (*NSManagedObject) ObjectID

func (o *NSManagedObject) ObjectID() *NSManagedObjectID

func (*NSManagedObject) ObjectIDsForRelationshipNamed

func (o *NSManagedObject) ObjectIDsForRelationshipNamed(key *foundation.NSString) *foundation.NSArray[*NSManagedObjectID]

func (*NSManagedObject) PrepareForDeletion

func (o *NSManagedObject) PrepareForDeletion()

func (*NSManagedObject) PrimitiveValueForKey

func (o *NSManagedObject) PrimitiveValueForKey(key *foundation.NSString) objc.ID

func (*NSManagedObject) SetPrimitiveValueForKey

func (o *NSManagedObject) SetPrimitiveValueForKey(value objc.ID, key *foundation.NSString)

func (*NSManagedObject) ValidateForDelete

func (o *NSManagedObject) ValidateForDelete() (bool, error)

func (*NSManagedObject) ValidateForInsert

func (o *NSManagedObject) ValidateForInsert() (bool, error)

func (*NSManagedObject) ValidateForUpdate

func (o *NSManagedObject) ValidateForUpdate() (bool, error)

func (*NSManagedObject) WillAccessValueForKey

func (o *NSManagedObject) WillAccessValueForKey(key *foundation.NSString)

func (*NSManagedObject) WillSave

func (o *NSManagedObject) WillSave()

func (*NSManagedObject) WillTurnIntoFault

func (o *NSManagedObject) WillTurnIntoFault()

type NSManagedObjectContext

type NSManagedObjectContext struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmanagedobjectcontext

func NSManagedObjectContextFromID

func NSManagedObjectContextFromID(id objc.ID) *NSManagedObjectContext

func NSManagedObjectContextNew deprecated

func NSManagedObjectContextNew() *NSManagedObjectContext

Deprecated: Use -initWithConcurrencyType: instead

func (*NSManagedObjectContext) AssignObjectToPersistentStore

func (o *NSManagedObjectContext) AssignObjectToPersistentStore(object objc.ID, store *NSPersistentStore)

func (*NSManagedObjectContext) AutomaticallyMergesChangesFromParent

func (o *NSManagedObjectContext) AutomaticallyMergesChangesFromParent() bool

func (*NSManagedObjectContext) ConcurrencyType

func (*NSManagedObjectContext) CountForFetchRequestError

func (o *NSManagedObjectContext) CountForFetchRequestError(request *NSFetchRequest[objc.ID]) (uint, error)

func (*NSManagedObjectContext) DeleteObject

func (o *NSManagedObjectContext) DeleteObject(object *NSManagedObject)

func (*NSManagedObjectContext) DeletedObjects

func (o *NSManagedObjectContext) DeletedObjects() *foundation.NSSet[*NSManagedObject]

func (*NSManagedObjectContext) DetectConflictsForObject

func (o *NSManagedObjectContext) DetectConflictsForObject(object *NSManagedObject)

func (*NSManagedObjectContext) ExecuteFetchRequestError

func (o *NSManagedObjectContext) ExecuteFetchRequestError(request *NSFetchRequest[objc.ID]) (*foundation.NSArray[objc.ID], error)

func (*NSManagedObjectContext) ExecuteRequestError

func (*NSManagedObjectContext) ExistingObjectWithIDError

func (o *NSManagedObjectContext) ExistingObjectWithIDError(objectID *NSManagedObjectID) (*NSManagedObject, error)

func (*NSManagedObjectContext) HasChanges

func (o *NSManagedObjectContext) HasChanges() bool

func (*NSManagedObjectContext) Init deprecated

Deprecated: Use -initWithConcurrencyType: instead

func (*NSManagedObjectContext) InitWithConcurrencyType

func (*NSManagedObjectContext) InsertObject

func (o *NSManagedObjectContext) InsertObject(object *NSManagedObject)

func (*NSManagedObjectContext) InsertedObjects

func (o *NSManagedObjectContext) InsertedObjects() *foundation.NSSet[*NSManagedObject]

func (*NSManagedObjectContext) Lock deprecated

func (o *NSManagedObjectContext) Lock()

Deprecated: Use a queue style context and -performBlockAndWait: instead

func (*NSManagedObjectContext) MergeChangesFromContextDidSaveNotification

func (o *NSManagedObjectContext) MergeChangesFromContextDidSaveNotification(notification *foundation.NSNotification)

func (*NSManagedObjectContext) MergePolicy

func (o *NSManagedObjectContext) MergePolicy() objc.ID

func (*NSManagedObjectContext) Name

func (*NSManagedObjectContext) ObjectRegisteredForID

func (o *NSManagedObjectContext) ObjectRegisteredForID(objectID *NSManagedObjectID) *NSManagedObject

func (*NSManagedObjectContext) ObjectWithID

func (o *NSManagedObjectContext) ObjectWithID(objectID *NSManagedObjectID) *NSManagedObject

func (*NSManagedObjectContext) ObtainPermanentIDsForObjectsError

func (o *NSManagedObjectContext) ObtainPermanentIDsForObjectsError(objects *foundation.NSArray[*NSManagedObject]) (bool, error)

func (*NSManagedObjectContext) ParentContext

func (o *NSManagedObjectContext) ParentContext() *NSManagedObjectContext

func (*NSManagedObjectContext) PerformBlock

func (o *NSManagedObjectContext) PerformBlock(block func())

func (*NSManagedObjectContext) PerformBlockAndWait

func (o *NSManagedObjectContext) PerformBlockAndWait(block func())

func (*NSManagedObjectContext) PersistentStoreCoordinator

func (o *NSManagedObjectContext) PersistentStoreCoordinator() *NSPersistentStoreCoordinator

func (*NSManagedObjectContext) ProcessPendingChanges

func (o *NSManagedObjectContext) ProcessPendingChanges()

func (*NSManagedObjectContext) PropagatesDeletesAtEndOfEvent deprecated

func (o *NSManagedObjectContext) PropagatesDeletesAtEndOfEvent() bool

Deprecated: Use a queue style context and -performBlock: instead

func (*NSManagedObjectContext) QueryGenerationToken

func (o *NSManagedObjectContext) QueryGenerationToken() *NSQueryGenerationToken

func (*NSManagedObjectContext) Redo

func (o *NSManagedObjectContext) Redo()

func (*NSManagedObjectContext) RefreshAllObjects

func (o *NSManagedObjectContext) RefreshAllObjects()

func (*NSManagedObjectContext) RefreshObjectMergeChanges

func (o *NSManagedObjectContext) RefreshObjectMergeChanges(object *NSManagedObject, flag bool)

func (*NSManagedObjectContext) RegisteredObjects

func (o *NSManagedObjectContext) RegisteredObjects() *foundation.NSSet[*NSManagedObject]

func (*NSManagedObjectContext) Reset

func (o *NSManagedObjectContext) Reset()

func (*NSManagedObjectContext) RetainsRegisteredObjects

func (o *NSManagedObjectContext) RetainsRegisteredObjects() bool

func (*NSManagedObjectContext) Rollback

func (o *NSManagedObjectContext) Rollback()

func (*NSManagedObjectContext) Save

func (o *NSManagedObjectContext) Save() (bool, error)

func (*NSManagedObjectContext) SetAutomaticallyMergesChangesFromParent

func (o *NSManagedObjectContext) SetAutomaticallyMergesChangesFromParent(automaticallyMergesChangesFromParent bool)

func (*NSManagedObjectContext) SetMergePolicy

func (o *NSManagedObjectContext) SetMergePolicy(mergePolicy objc.ID)

func (*NSManagedObjectContext) SetName

func (o *NSManagedObjectContext) SetName(name *foundation.NSString)

func (*NSManagedObjectContext) SetParentContext

func (o *NSManagedObjectContext) SetParentContext(parentContext *NSManagedObjectContext)

func (*NSManagedObjectContext) SetPersistentStoreCoordinator

func (o *NSManagedObjectContext) SetPersistentStoreCoordinator(persistentStoreCoordinator *NSPersistentStoreCoordinator)

func (*NSManagedObjectContext) SetPropagatesDeletesAtEndOfEvent

func (o *NSManagedObjectContext) SetPropagatesDeletesAtEndOfEvent(propagatesDeletesAtEndOfEvent bool)

func (*NSManagedObjectContext) SetQueryGenerationFromTokenError

func (o *NSManagedObjectContext) SetQueryGenerationFromTokenError(generation *NSQueryGenerationToken) (bool, error)

func (*NSManagedObjectContext) SetRetainsRegisteredObjects

func (o *NSManagedObjectContext) SetRetainsRegisteredObjects(retainsRegisteredObjects bool)

func (*NSManagedObjectContext) SetShouldDeleteInaccessibleFaults

func (o *NSManagedObjectContext) SetShouldDeleteInaccessibleFaults(shouldDeleteInaccessibleFaults bool)

func (*NSManagedObjectContext) SetStalenessInterval

func (o *NSManagedObjectContext) SetStalenessInterval(stalenessInterval float64)

func (*NSManagedObjectContext) SetTransactionAuthor

func (o *NSManagedObjectContext) SetTransactionAuthor(transactionAuthor *foundation.NSString)

func (*NSManagedObjectContext) SetUndoManager

func (o *NSManagedObjectContext) SetUndoManager(undoManager *foundation.NSUndoManager)

func (*NSManagedObjectContext) ShouldDeleteInaccessibleFaults

func (o *NSManagedObjectContext) ShouldDeleteInaccessibleFaults() bool

func (*NSManagedObjectContext) ShouldHandleInaccessibleFaultForObjectIDTriggeredByProperty

func (o *NSManagedObjectContext) ShouldHandleInaccessibleFaultForObjectIDTriggeredByProperty(fault *NSManagedObject, oid *NSManagedObjectID, property *NSPropertyDescription) bool

func (*NSManagedObjectContext) StalenessInterval

func (o *NSManagedObjectContext) StalenessInterval() float64

func (*NSManagedObjectContext) TransactionAuthor

func (o *NSManagedObjectContext) TransactionAuthor() *foundation.NSString

func (*NSManagedObjectContext) TryLock deprecated

func (o *NSManagedObjectContext) TryLock() bool

Deprecated: Use a queue style context and -performBlock: instead

func (*NSManagedObjectContext) Undo

func (o *NSManagedObjectContext) Undo()

func (*NSManagedObjectContext) UndoManager

func (*NSManagedObjectContext) Unlock deprecated

func (o *NSManagedObjectContext) Unlock()

Deprecated: Use a queue style context and -performBlockAndWait: instead

func (*NSManagedObjectContext) UpdatedObjects

func (o *NSManagedObjectContext) UpdatedObjects() *foundation.NSSet[*NSManagedObject]

func (*NSManagedObjectContext) UserInfo

type NSManagedObjectContextConcurrencyType

type NSManagedObjectContextConcurrencyType uint64
const (
	NSConfinementConcurrencyType  NSManagedObjectContextConcurrencyType = 0
	NSPrivateQueueConcurrencyType NSManagedObjectContextConcurrencyType = 1
	NSMainQueueConcurrencyType    NSManagedObjectContextConcurrencyType = 2
)

func (NSManagedObjectContextConcurrencyType) String

type NSManagedObjectID

type NSManagedObjectID struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmanagedobjectid

func NSManagedObjectIDFromID

func NSManagedObjectIDFromID(id objc.ID) *NSManagedObjectID

func (*NSManagedObjectID) Entity

func (*NSManagedObjectID) IsTemporaryID

func (o *NSManagedObjectID) IsTemporaryID() bool

func (*NSManagedObjectID) PersistentStore

func (o *NSManagedObjectID) PersistentStore() *NSPersistentStore

func (*NSManagedObjectID) URIRepresentation

func (o *NSManagedObjectID) URIRepresentation() *foundation.NSURL

type NSManagedObjectModel

type NSManagedObjectModel struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmanagedobjectmodel

func NSManagedObjectModelFromID

func NSManagedObjectModelFromID(id objc.ID) *NSManagedObjectModel

func NSManagedObjectModelMergedModelFromBundles

func NSManagedObjectModelMergedModelFromBundles(bundles *foundation.NSArray[*foundation.NSBundle]) *NSManagedObjectModel

func NSManagedObjectModelMergedModelFromBundlesForStoreMetadata

func NSManagedObjectModelMergedModelFromBundlesForStoreMetadata(bundles *foundation.NSArray[*foundation.NSBundle], metadata *foundation.NSDictionary[*foundation.NSString, objc.ID]) *NSManagedObjectModel

func NSManagedObjectModelModelByMergingModels

func NSManagedObjectModelModelByMergingModels(models *foundation.NSArray[*NSManagedObjectModel]) *NSManagedObjectModel

func NSPersistentStoreCoordinatorCachedModelForPersistentStoreAtURLOptionsError

func NSPersistentStoreCoordinatorCachedModelForPersistentStoreAtURLOptionsError(url *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) (*NSManagedObjectModel, error)

func (*NSManagedObjectModel) Configurations

func (*NSManagedObjectModel) Entities

func (*NSManagedObjectModel) EntitiesByName

func (*NSManagedObjectModel) EntitiesForConfiguration

func (o *NSManagedObjectModel) EntitiesForConfiguration(configuration *foundation.NSString) *foundation.NSArray[*NSEntityDescription]

func (*NSManagedObjectModel) EntityVersionHashesByName

func (o *NSManagedObjectModel) EntityVersionHashesByName() *foundation.NSDictionary[*foundation.NSString, *foundation.NSData]

func (*NSManagedObjectModel) FetchRequestFromTemplateWithNameSubstitutionVariables

func (o *NSManagedObjectModel) FetchRequestFromTemplateWithNameSubstitutionVariables(name *foundation.NSString, variables *foundation.NSDictionary[*foundation.NSString, objc.ID]) *NSFetchRequest[objc.ID]

func (*NSManagedObjectModel) FetchRequestTemplateForName

func (o *NSManagedObjectModel) FetchRequestTemplateForName(name *foundation.NSString) *NSFetchRequest[objc.ID]

func (*NSManagedObjectModel) FetchRequestTemplatesByName

func (o *NSManagedObjectModel) FetchRequestTemplatesByName() *foundation.NSDictionary[*foundation.NSString, objc.ID]

func (*NSManagedObjectModel) Init

func (*NSManagedObjectModel) InitWithContentsOfURL

func (o *NSManagedObjectModel) InitWithContentsOfURL(url *foundation.NSURL) *NSManagedObjectModel

func (*NSManagedObjectModel) IsConfigurationCompatibleWithStoreMetadata

func (o *NSManagedObjectModel) IsConfigurationCompatibleWithStoreMetadata(configuration *foundation.NSString, metadata *foundation.NSDictionary[*foundation.NSString, objc.ID]) bool

func (*NSManagedObjectModel) LocalizationDictionary

func (*NSManagedObjectModel) SetEntities

func (o *NSManagedObjectModel) SetEntities(entities *foundation.NSArray[*NSEntityDescription])

func (*NSManagedObjectModel) SetEntitiesForConfiguration

func (o *NSManagedObjectModel) SetEntitiesForConfiguration(entities *foundation.NSArray[*NSEntityDescription], configuration *foundation.NSString)

func (*NSManagedObjectModel) SetFetchRequestTemplateForName

func (o *NSManagedObjectModel) SetFetchRequestTemplateForName(fetchRequestTemplate *NSFetchRequest[objc.ID], name *foundation.NSString)

func (*NSManagedObjectModel) SetLocalizationDictionary

func (o *NSManagedObjectModel) SetLocalizationDictionary(localizationDictionary *foundation.NSDictionary[*foundation.NSString, *foundation.NSString])

func (*NSManagedObjectModel) SetVersionIdentifiers

func (o *NSManagedObjectModel) SetVersionIdentifiers(versionIdentifiers *foundation.NSSet[objc.ID])

func (*NSManagedObjectModel) VersionChecksum

func (o *NSManagedObjectModel) VersionChecksum() *foundation.NSString

func (*NSManagedObjectModel) VersionIdentifiers

func (o *NSManagedObjectModel) VersionIdentifiers() *foundation.NSSet[objc.ID]

type NSManagedObjectModelReference

type NSManagedObjectModelReference struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmanagedobjectmodelreference

func NSManagedObjectModelReferenceFromID

func NSManagedObjectModelReferenceFromID(id objc.ID) *NSManagedObjectModelReference

func (*NSManagedObjectModelReference) InitWithEntityVersionHashesInBundleVersionChecksum

func (o *NSManagedObjectModelReference) InitWithEntityVersionHashesInBundleVersionChecksum(versionHash *foundation.NSDictionary[objc.ID, objc.ID], bundle *foundation.NSBundle, versionChecksum *foundation.NSString) *NSManagedObjectModelReference

func (*NSManagedObjectModelReference) InitWithFileURLVersionChecksum

func (o *NSManagedObjectModelReference) InitWithFileURLVersionChecksum(fileURL *foundation.NSURL, versionChecksum *foundation.NSString) *NSManagedObjectModelReference

func (*NSManagedObjectModelReference) InitWithModelVersionChecksum

func (o *NSManagedObjectModelReference) InitWithModelVersionChecksum(model *NSManagedObjectModel, versionChecksum *foundation.NSString) *NSManagedObjectModelReference

func (*NSManagedObjectModelReference) InitWithNameInBundleVersionChecksum

func (o *NSManagedObjectModelReference) InitWithNameInBundleVersionChecksum(modelName *foundation.NSString, bundle *foundation.NSBundle, versionChecksum *foundation.NSString) *NSManagedObjectModelReference

func (*NSManagedObjectModelReference) ResolvedModel

func (*NSManagedObjectModelReference) VersionChecksum

func (o *NSManagedObjectModelReference) VersionChecksum() *foundation.NSString

type NSMappingModel

type NSMappingModel struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmappingmodel

func NSMappingModelFromID

func NSMappingModelFromID(id objc.ID) *NSMappingModel

func NSMappingModelInferredMappingModelForSourceModelDestinationModelError

func NSMappingModelInferredMappingModelForSourceModelDestinationModelError(sourceModel *NSManagedObjectModel, destinationModel *NSManagedObjectModel) (*NSMappingModel, error)

func NSMappingModelMappingModelFromBundlesForSourceModelDestinationModel

func NSMappingModelMappingModelFromBundlesForSourceModelDestinationModel(bundles *foundation.NSArray[*foundation.NSBundle], sourceModel *NSManagedObjectModel, destinationModel *NSManagedObjectModel) *NSMappingModel

func (*NSMappingModel) EntityMappings

func (o *NSMappingModel) EntityMappings() *foundation.NSArray[*NSEntityMapping]

func (*NSMappingModel) EntityMappingsByName

func (*NSMappingModel) InitWithContentsOfURL

func (o *NSMappingModel) InitWithContentsOfURL(url *foundation.NSURL) *NSMappingModel

func (*NSMappingModel) SetEntityMappings

func (o *NSMappingModel) SetEntityMappings(entityMappings *foundation.NSArray[*NSEntityMapping])

type NSMergeConflict

type NSMergeConflict struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmergeconflict

func NSMergeConflictFromID

func NSMergeConflictFromID(id objc.ID) *NSMergeConflict

func (*NSMergeConflict) CachedSnapshot

func (*NSMergeConflict) InitWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot

func (o *NSMergeConflict) InitWithSourceNewVersionOldVersionCachedSnapshotPersistedSnapshot(srcObject *NSManagedObject, newvers uint, oldvers uint, cachesnap *foundation.NSDictionary[*foundation.NSString, objc.ID], persnap *foundation.NSDictionary[*foundation.NSString, objc.ID]) *NSMergeConflict

func (*NSMergeConflict) NewVersionNumber

func (o *NSMergeConflict) NewVersionNumber() uint

func (*NSMergeConflict) ObjectSnapshot

func (*NSMergeConflict) OldVersionNumber

func (o *NSMergeConflict) OldVersionNumber() uint

func (*NSMergeConflict) PersistedSnapshot

func (o *NSMergeConflict) PersistedSnapshot() *foundation.NSDictionary[*foundation.NSString, objc.ID]

func (*NSMergeConflict) SourceObject

func (o *NSMergeConflict) SourceObject() *NSManagedObject

type NSMergePolicy

type NSMergePolicy struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmergepolicy

func NSMergePolicyErrorMergePolicy

func NSMergePolicyErrorMergePolicy() *NSMergePolicy

func NSMergePolicyFromID

func NSMergePolicyFromID(id objc.ID) *NSMergePolicy

func NSMergePolicyMergeByPropertyObjectTrumpMergePolicy

func NSMergePolicyMergeByPropertyObjectTrumpMergePolicy() *NSMergePolicy

func NSMergePolicyMergeByPropertyStoreTrumpMergePolicy

func NSMergePolicyMergeByPropertyStoreTrumpMergePolicy() *NSMergePolicy

func NSMergePolicyOverwriteMergePolicy

func NSMergePolicyOverwriteMergePolicy() *NSMergePolicy

func NSMergePolicyRollbackMergePolicy

func NSMergePolicyRollbackMergePolicy() *NSMergePolicy

func (*NSMergePolicy) InitWithMergeType

func (o *NSMergePolicy) InitWithMergeType(ty NSMergePolicyType) objc.ID

func (*NSMergePolicy) MergeType

func (o *NSMergePolicy) MergeType() NSMergePolicyType

func (*NSMergePolicy) ResolveConflictsError

func (o *NSMergePolicy) ResolveConflictsError(list *foundation.NSArray[objc.ID]) (bool, error)

func (*NSMergePolicy) ResolveConstraintConflictsError

func (o *NSMergePolicy) ResolveConstraintConflictsError(list *foundation.NSArray[*NSConstraintConflict]) (bool, error)

func (*NSMergePolicy) ResolveOptimisticLockingVersionConflictsError

func (o *NSMergePolicy) ResolveOptimisticLockingVersionConflictsError(list *foundation.NSArray[*NSMergeConflict]) (bool, error)

type NSMergePolicyType

type NSMergePolicyType uint64
const (
	NSErrorMergePolicyType                      NSMergePolicyType = 0
	NSMergeByPropertyStoreTrumpMergePolicyType  NSMergePolicyType = 1
	NSMergeByPropertyObjectTrumpMergePolicyType NSMergePolicyType = 2
	NSOverwriteMergePolicyType                  NSMergePolicyType = 3
	NSRollbackMergePolicyType                   NSMergePolicyType = 4
)

func (NSMergePolicyType) String

func (e NSMergePolicyType) String() string

type NSMigrationManager

type NSMigrationManager struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmigrationmanager

func NSMigrationManagerFromID

func NSMigrationManagerFromID(id objc.ID) *NSMigrationManager

func (*NSMigrationManager) AssociateSourceInstanceWithDestinationInstanceForEntityMapping

func (o *NSMigrationManager) AssociateSourceInstanceWithDestinationInstanceForEntityMapping(sourceInstance *NSManagedObject, destinationInstance *NSManagedObject, entityMapping *NSEntityMapping)

func (*NSMigrationManager) CancelMigrationWithError

func (o *NSMigrationManager) CancelMigrationWithError(error_ unsafe.Pointer)

func (*NSMigrationManager) CurrentEntityMapping

func (o *NSMigrationManager) CurrentEntityMapping() *NSEntityMapping

func (*NSMigrationManager) DestinationContext

func (o *NSMigrationManager) DestinationContext() *NSManagedObjectContext

func (*NSMigrationManager) DestinationEntityForEntityMapping

func (o *NSMigrationManager) DestinationEntityForEntityMapping(mEntity *NSEntityMapping) *NSEntityDescription

func (*NSMigrationManager) DestinationInstancesForEntityMappingNamedSourceInstances

func (o *NSMigrationManager) DestinationInstancesForEntityMappingNamedSourceInstances(mappingName *foundation.NSString, sourceInstances *foundation.NSArray[*NSManagedObject]) *foundation.NSArray[*NSManagedObject]

func (*NSMigrationManager) DestinationModel

func (o *NSMigrationManager) DestinationModel() *NSManagedObjectModel

func (*NSMigrationManager) InitWithSourceModelDestinationModel

func (o *NSMigrationManager) InitWithSourceModelDestinationModel(sourceModel *NSManagedObjectModel, destinationModel *NSManagedObjectModel) *NSMigrationManager

func (*NSMigrationManager) MappingModel

func (o *NSMigrationManager) MappingModel() *NSMappingModel

func (*NSMigrationManager) MigrateStoreFromURLTypeOptionsWithMappingModelToDestinationURLDestinationTypeDestinationOptionsError

func (o *NSMigrationManager) MigrateStoreFromURLTypeOptionsWithMappingModelToDestinationURLDestinationTypeDestinationOptionsError(sourceURL *foundation.NSURL, sStoreType *foundation.NSString, sOptions *foundation.NSDictionary[objc.ID, objc.ID], mappings *NSMappingModel, dURL *foundation.NSURL, dStoreType *foundation.NSString, dOptions *foundation.NSDictionary[objc.ID, objc.ID]) (bool, error)

func (*NSMigrationManager) MigrationProgress

func (o *NSMigrationManager) MigrationProgress() float32

func (*NSMigrationManager) Reset

func (o *NSMigrationManager) Reset()

func (*NSMigrationManager) SetUserInfo

func (o *NSMigrationManager) SetUserInfo(userInfo *foundation.NSDictionary[objc.ID, objc.ID])

func (*NSMigrationManager) SetUsesStoreSpecificMigrationManager

func (o *NSMigrationManager) SetUsesStoreSpecificMigrationManager(usesStoreSpecificMigrationManager bool)

func (*NSMigrationManager) SourceContext

func (o *NSMigrationManager) SourceContext() *NSManagedObjectContext

func (*NSMigrationManager) SourceEntityForEntityMapping

func (o *NSMigrationManager) SourceEntityForEntityMapping(mEntity *NSEntityMapping) *NSEntityDescription

func (*NSMigrationManager) SourceInstancesForEntityMappingNamedDestinationInstances

func (o *NSMigrationManager) SourceInstancesForEntityMappingNamedDestinationInstances(mappingName *foundation.NSString, destinationInstances *foundation.NSArray[*NSManagedObject]) *foundation.NSArray[*NSManagedObject]

func (*NSMigrationManager) SourceModel

func (o *NSMigrationManager) SourceModel() *NSManagedObjectModel

func (*NSMigrationManager) UserInfo

func (*NSMigrationManager) UsesStoreSpecificMigrationManager

func (o *NSMigrationManager) UsesStoreSpecificMigrationManager() bool

type NSMigrationStage

type NSMigrationStage struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsmigrationstage

func NSMigrationStageFromID

func NSMigrationStageFromID(id objc.ID) *NSMigrationStage

func (*NSMigrationStage) Label

func (o *NSMigrationStage) Label() *foundation.NSString

func (*NSMigrationStage) SetLabel

func (o *NSMigrationStage) SetLabel(label *foundation.NSString)

type NSPersistentCloudKitContainer

type NSPersistentCloudKitContainer struct {
	NSPersistentContainer
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentcloudkitcontainer

func NSPersistentCloudKitContainerFromID

func NSPersistentCloudKitContainerFromID(id objc.ID) *NSPersistentCloudKitContainer

func (*NSPersistentCloudKitContainer) CanDeleteRecordForManagedObjectWithID

func (o *NSPersistentCloudKitContainer) CanDeleteRecordForManagedObjectWithID(objectID *NSManagedObjectID) bool

func (*NSPersistentCloudKitContainer) CanModifyManagedObjectsInStore

func (o *NSPersistentCloudKitContainer) CanModifyManagedObjectsInStore(store *NSPersistentStore) bool

func (*NSPersistentCloudKitContainer) CanUpdateRecordForManagedObjectWithID

func (o *NSPersistentCloudKitContainer) CanUpdateRecordForManagedObjectWithID(objectID *NSManagedObjectID) bool

func (*NSPersistentCloudKitContainer) InitializeCloudKitSchemaWithOptionsError

func (o *NSPersistentCloudKitContainer) InitializeCloudKitSchemaWithOptionsError(options NSPersistentCloudKitContainerSchemaInitializationOptions) (bool, error)

func (*NSPersistentCloudKitContainer) RecordForManagedObjectID

func (o *NSPersistentCloudKitContainer) RecordForManagedObjectID(managedObjectID *NSManagedObjectID) objc.ID

func (*NSPersistentCloudKitContainer) RecordIDForManagedObjectID

func (o *NSPersistentCloudKitContainer) RecordIDForManagedObjectID(managedObjectID *NSManagedObjectID) objc.ID

func (*NSPersistentCloudKitContainer) RecordIDsForManagedObjectIDs

func (o *NSPersistentCloudKitContainer) RecordIDsForManagedObjectIDs(managedObjectIDs *foundation.NSArray[*NSManagedObjectID]) *foundation.NSDictionary[*NSManagedObjectID, objc.ID]

func (*NSPersistentCloudKitContainer) RecordsForManagedObjectIDs

func (o *NSPersistentCloudKitContainer) RecordsForManagedObjectIDs(managedObjectIDs *foundation.NSArray[*NSManagedObjectID]) *foundation.NSDictionary[*NSManagedObjectID, objc.ID]

type NSPersistentCloudKitContainerEvent

type NSPersistentCloudKitContainerEvent struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentcloudkitcontainerevent

func NSPersistentCloudKitContainerEventFromID

func NSPersistentCloudKitContainerEventFromID(id objc.ID) *NSPersistentCloudKitContainerEvent

func (*NSPersistentCloudKitContainerEvent) EndDate

func (*NSPersistentCloudKitContainerEvent) Error

func (*NSPersistentCloudKitContainerEvent) Identifier

func (*NSPersistentCloudKitContainerEvent) StartDate

func (*NSPersistentCloudKitContainerEvent) StoreIdentifier

func (*NSPersistentCloudKitContainerEvent) Succeeded

func (*NSPersistentCloudKitContainerEvent) Type

type NSPersistentCloudKitContainerEventRequest

type NSPersistentCloudKitContainerEventRequest struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentcloudkitcontainereventrequest

func NSPersistentCloudKitContainerEventRequestFetchEventsAfterDate

func NSPersistentCloudKitContainerEventRequestFetchEventsAfterDate(date *foundation.NSDate) *NSPersistentCloudKitContainerEventRequest

func NSPersistentCloudKitContainerEventRequestFetchEventsMatchingFetchRequest

func NSPersistentCloudKitContainerEventRequestFetchEventsMatchingFetchRequest(fetchRequest *NSFetchRequest[objc.ID]) *NSPersistentCloudKitContainerEventRequest

func NSPersistentCloudKitContainerEventRequestFromID

func NSPersistentCloudKitContainerEventRequestFromID(id objc.ID) *NSPersistentCloudKitContainerEventRequest

func (*NSPersistentCloudKitContainerEventRequest) ResultType

func (*NSPersistentCloudKitContainerEventRequest) SetResultType

type NSPersistentCloudKitContainerEventResult

type NSPersistentCloudKitContainerEventResult struct {
	NSPersistentStoreResult
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentcloudkitcontainereventresult

func NSPersistentCloudKitContainerEventResultFromID

func NSPersistentCloudKitContainerEventResultFromID(id objc.ID) *NSPersistentCloudKitContainerEventResult

func (*NSPersistentCloudKitContainerEventResult) Result

func (*NSPersistentCloudKitContainerEventResult) ResultType

type NSPersistentCloudKitContainerEventResultType

type NSPersistentCloudKitContainerEventResultType int64
const (
	NSPersistentCloudKitContainerEventResultTypeEvents      NSPersistentCloudKitContainerEventResultType = 0
	NSPersistentCloudKitContainerEventResultTypeCountEvents NSPersistentCloudKitContainerEventResultType = 1
)

func (NSPersistentCloudKitContainerEventResultType) String

type NSPersistentCloudKitContainerEventType

type NSPersistentCloudKitContainerEventType int64
const (
	NSPersistentCloudKitContainerEventTypeSetup  NSPersistentCloudKitContainerEventType = 0
	NSPersistentCloudKitContainerEventTypeImport NSPersistentCloudKitContainerEventType = 1
	NSPersistentCloudKitContainerEventTypeExport NSPersistentCloudKitContainerEventType = 2
)

func (NSPersistentCloudKitContainerEventType) String

type NSPersistentCloudKitContainerOptions

type NSPersistentCloudKitContainerOptions struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentcloudkitcontaineroptions

func NSPersistentCloudKitContainerOptionsFromID

func NSPersistentCloudKitContainerOptionsFromID(id objc.ID) *NSPersistentCloudKitContainerOptions

func (*NSPersistentCloudKitContainerOptions) ContainerIdentifier

func (o *NSPersistentCloudKitContainerOptions) ContainerIdentifier() *foundation.NSString

The container identifier of the CKContainer to use with a given instance of NSPersistentStoreDescription

func (*NSPersistentCloudKitContainerOptions) DatabaseScope

func (o *NSPersistentCloudKitContainerOptions) DatabaseScope() objc.ID

func (*NSPersistentCloudKitContainerOptions) InitWithContainerIdentifier

func (o *NSPersistentCloudKitContainerOptions) InitWithContainerIdentifier(containerIdentifier *foundation.NSString) *NSPersistentCloudKitContainerOptions

func (*NSPersistentCloudKitContainerOptions) SetDatabaseScope

func (o *NSPersistentCloudKitContainerOptions) SetDatabaseScope(databaseScope objc.ID)

type NSPersistentCloudKitContainerSchemaInitializationOptions

type NSPersistentCloudKitContainerSchemaInitializationOptions uint64
const (
	NSPersistentCloudKitContainerSchemaInitializationOptionsNone        NSPersistentCloudKitContainerSchemaInitializationOptions = 0
	NSPersistentCloudKitContainerSchemaInitializationOptionsDryRun      NSPersistentCloudKitContainerSchemaInitializationOptions = 2
	NSPersistentCloudKitContainerSchemaInitializationOptionsPrintSchema NSPersistentCloudKitContainerSchemaInitializationOptions = 4
)

func (NSPersistentCloudKitContainerSchemaInitializationOptions) String

type NSPersistentContainer

type NSPersistentContainer struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentcontainer

func NSPersistentContainerFromID

func NSPersistentContainerFromID(id objc.ID) *NSPersistentContainer

func NSPersistentContainerPersistentContainerWithName

func NSPersistentContainerPersistentContainerWithName(name *foundation.NSString) *NSPersistentContainer

func NSPersistentContainerPersistentContainerWithNameManagedObjectModel

func NSPersistentContainerPersistentContainerWithNameManagedObjectModel(name *foundation.NSString, model *NSManagedObjectModel) *NSPersistentContainer

func (*NSPersistentContainer) InitWithName

func (*NSPersistentContainer) InitWithNameManagedObjectModel

func (o *NSPersistentContainer) InitWithNameManagedObjectModel(name *foundation.NSString, model *NSManagedObjectModel) *NSPersistentContainer

func (*NSPersistentContainer) LoadPersistentStoresWithCompletionHandler

func (o *NSPersistentContainer) LoadPersistentStoresWithCompletionHandler(block func(*NSPersistentStoreDescription, unsafe.Pointer))

func (*NSPersistentContainer) ManagedObjectModel

func (o *NSPersistentContainer) ManagedObjectModel() *NSManagedObjectModel

func (*NSPersistentContainer) Name

func (*NSPersistentContainer) NewBackgroundContext

func (o *NSPersistentContainer) NewBackgroundContext() *NSManagedObjectContext

func (*NSPersistentContainer) PerformBackgroundTask

func (o *NSPersistentContainer) PerformBackgroundTask(block func(*NSManagedObjectContext))

func (*NSPersistentContainer) PersistentStoreCoordinator

func (o *NSPersistentContainer) PersistentStoreCoordinator() *NSPersistentStoreCoordinator

func (*NSPersistentContainer) PersistentStoreDescriptions

func (o *NSPersistentContainer) PersistentStoreDescriptions() *foundation.NSArray[*NSPersistentStoreDescription]

func (*NSPersistentContainer) SetPersistentStoreDescriptions

func (o *NSPersistentContainer) SetPersistentStoreDescriptions(persistentStoreDescriptions *foundation.NSArray[*NSPersistentStoreDescription])

func (*NSPersistentContainer) ViewContext

type NSPersistentHistoryChange

type NSPersistentHistoryChange struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistenthistorychange

func NSPersistentHistoryChangeFromID

func NSPersistentHistoryChangeFromID(id objc.ID) *NSPersistentHistoryChange

func (*NSPersistentHistoryChange) ChangeID

func (o *NSPersistentHistoryChange) ChangeID() int64

func (*NSPersistentHistoryChange) ChangeType

func (*NSPersistentHistoryChange) ChangedObjectID

func (o *NSPersistentHistoryChange) ChangedObjectID() *NSManagedObjectID

func (*NSPersistentHistoryChange) Tombstone

func (*NSPersistentHistoryChange) Transaction

func (*NSPersistentHistoryChange) UpdatedProperties

type NSPersistentHistoryChangeRequest

type NSPersistentHistoryChangeRequest struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistenthistorychangerequest

func NSPersistentHistoryChangeRequestDeleteHistoryBeforeDate

func NSPersistentHistoryChangeRequestDeleteHistoryBeforeDate(date *foundation.NSDate) *NSPersistentHistoryChangeRequest

func NSPersistentHistoryChangeRequestDeleteHistoryBeforeToken

func NSPersistentHistoryChangeRequestDeleteHistoryBeforeToken(token *NSPersistentHistoryToken) *NSPersistentHistoryChangeRequest

func NSPersistentHistoryChangeRequestDeleteHistoryBeforeTransaction

func NSPersistentHistoryChangeRequestDeleteHistoryBeforeTransaction(transaction *NSPersistentHistoryTransaction) *NSPersistentHistoryChangeRequest

func NSPersistentHistoryChangeRequestFetchHistoryAfterDate

func NSPersistentHistoryChangeRequestFetchHistoryAfterDate(date *foundation.NSDate) *NSPersistentHistoryChangeRequest

func NSPersistentHistoryChangeRequestFetchHistoryAfterToken

func NSPersistentHistoryChangeRequestFetchHistoryAfterToken(token *NSPersistentHistoryToken) *NSPersistentHistoryChangeRequest

func NSPersistentHistoryChangeRequestFetchHistoryAfterTransaction

func NSPersistentHistoryChangeRequestFetchHistoryAfterTransaction(transaction *NSPersistentHistoryTransaction) *NSPersistentHistoryChangeRequest

func NSPersistentHistoryChangeRequestFetchHistoryWithFetchRequest

func NSPersistentHistoryChangeRequestFetchHistoryWithFetchRequest(fetchRequest *NSFetchRequest[objc.ID]) *NSPersistentHistoryChangeRequest

func NSPersistentHistoryChangeRequestFromID

func NSPersistentHistoryChangeRequestFromID(id objc.ID) *NSPersistentHistoryChangeRequest

func (*NSPersistentHistoryChangeRequest) FetchRequest

func (*NSPersistentHistoryChangeRequest) ResultType

func (*NSPersistentHistoryChangeRequest) SetFetchRequest

func (o *NSPersistentHistoryChangeRequest) SetFetchRequest(fetchRequest *NSFetchRequest[objc.ID])

func (*NSPersistentHistoryChangeRequest) SetResultType

func (*NSPersistentHistoryChangeRequest) Token

type NSPersistentHistoryChangeType

type NSPersistentHistoryChangeType int64
const (
	NSPersistentHistoryChangeTypeInsert NSPersistentHistoryChangeType = 0
	NSPersistentHistoryChangeTypeUpdate NSPersistentHistoryChangeType = 1
	NSPersistentHistoryChangeTypeDelete NSPersistentHistoryChangeType = 2
)

func (NSPersistentHistoryChangeType) String

type NSPersistentHistoryResult

type NSPersistentHistoryResult struct {
	NSPersistentStoreResult
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistenthistoryresult

func NSPersistentHistoryResultFromID

func NSPersistentHistoryResultFromID(id objc.ID) *NSPersistentHistoryResult

func (*NSPersistentHistoryResult) Result

func (o *NSPersistentHistoryResult) Result() objc.ID

func (*NSPersistentHistoryResult) ResultType

type NSPersistentHistoryResultType

type NSPersistentHistoryResultType int64
const (
	NSPersistentHistoryResultTypeStatusOnly             NSPersistentHistoryResultType = 0
	NSPersistentHistoryResultTypeObjectIDs              NSPersistentHistoryResultType = 1
	NSPersistentHistoryResultTypeCount                  NSPersistentHistoryResultType = 2
	NSPersistentHistoryResultTypeTransactionsOnly       NSPersistentHistoryResultType = 3
	NSPersistentHistoryResultTypeChangesOnly            NSPersistentHistoryResultType = 4
	NSPersistentHistoryResultTypeTransactionsAndChanges NSPersistentHistoryResultType = 5
)

func (NSPersistentHistoryResultType) String

type NSPersistentHistoryToken

type NSPersistentHistoryToken struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistenthistorytoken

func NSPersistentHistoryTokenFromID

func NSPersistentHistoryTokenFromID(id objc.ID) *NSPersistentHistoryToken

type NSPersistentHistoryTransaction

type NSPersistentHistoryTransaction struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistenthistorytransaction

func NSPersistentHistoryTransactionFromID

func NSPersistentHistoryTransactionFromID(id objc.ID) *NSPersistentHistoryTransaction

func (*NSPersistentHistoryTransaction) Author

func (*NSPersistentHistoryTransaction) BundleID

func (*NSPersistentHistoryTransaction) Changes

func (*NSPersistentHistoryTransaction) ContextName

func (*NSPersistentHistoryTransaction) ObjectIDNotification

func (o *NSPersistentHistoryTransaction) ObjectIDNotification() *foundation.NSNotification

func (*NSPersistentHistoryTransaction) ProcessID

func (*NSPersistentHistoryTransaction) StoreID

func (*NSPersistentHistoryTransaction) Timestamp

func (*NSPersistentHistoryTransaction) Token

func (*NSPersistentHistoryTransaction) TransactionNumber

func (o *NSPersistentHistoryTransaction) TransactionNumber() int64

type NSPersistentStore

type NSPersistentStore struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentstore

func NSPersistentStoreFromID

func NSPersistentStoreFromID(id objc.ID) *NSPersistentStore

func (*NSPersistentStore) ConfigurationName

func (o *NSPersistentStore) ConfigurationName() *foundation.NSString

func (*NSPersistentStore) CoreSpotlightExporter

func (o *NSPersistentStore) CoreSpotlightExporter() *NSCoreDataCoreSpotlightDelegate

func (*NSPersistentStore) DidAddToPersistentStoreCoordinator

func (o *NSPersistentStore) DidAddToPersistentStoreCoordinator(coordinator *NSPersistentStoreCoordinator)

func (*NSPersistentStore) Identifier

func (o *NSPersistentStore) Identifier() *foundation.NSString

func (*NSPersistentStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions

func (o *NSPersistentStore) InitWithPersistentStoreCoordinatorConfigurationNameURLOptions(root *NSPersistentStoreCoordinator, name *foundation.NSString, url *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) *NSPersistentStore

func (*NSPersistentStore) IsReadOnly

func (o *NSPersistentStore) IsReadOnly() bool

func (*NSPersistentStore) LoadMetadata

func (o *NSPersistentStore) LoadMetadata() (bool, error)

func (*NSPersistentStore) Metadata

func (*NSPersistentStore) Options

func (*NSPersistentStore) PersistentStoreCoordinator

func (o *NSPersistentStore) PersistentStoreCoordinator() *NSPersistentStoreCoordinator

func (*NSPersistentStore) SetIdentifier

func (o *NSPersistentStore) SetIdentifier(identifier *foundation.NSString)

func (*NSPersistentStore) SetMetadata

func (o *NSPersistentStore) SetMetadata(metadata *foundation.NSDictionary[*foundation.NSString, objc.ID])

func (*NSPersistentStore) SetReadOnly

func (o *NSPersistentStore) SetReadOnly(readOnly bool)

func (*NSPersistentStore) SetURL

func (o *NSPersistentStore) SetURL(uRL *foundation.NSURL)

func (*NSPersistentStore) Type

func (*NSPersistentStore) URL

func (*NSPersistentStore) WillRemoveFromPersistentStoreCoordinator

func (o *NSPersistentStore) WillRemoveFromPersistentStoreCoordinator(coordinator *NSPersistentStoreCoordinator)

type NSPersistentStoreAsynchronousResult

type NSPersistentStoreAsynchronousResult struct {
	NSPersistentStoreResult
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentstoreasynchronousresult

func NSPersistentStoreAsynchronousResultFromID

func NSPersistentStoreAsynchronousResultFromID(id objc.ID) *NSPersistentStoreAsynchronousResult

func (*NSPersistentStoreAsynchronousResult) Cancel

func (*NSPersistentStoreAsynchronousResult) ManagedObjectContext

func (*NSPersistentStoreAsynchronousResult) OperationError

func (*NSPersistentStoreAsynchronousResult) Progress

type NSPersistentStoreCoordinator

type NSPersistentStoreCoordinator struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentstorecoordinator

func NSPersistentStoreCoordinatorFromID

func NSPersistentStoreCoordinatorFromID(id objc.ID) *NSPersistentStoreCoordinator

func (*NSPersistentStoreCoordinator) AddPersistentStoreWithDescriptionCompletionHandler

func (o *NSPersistentStoreCoordinator) AddPersistentStoreWithDescriptionCompletionHandler(storeDescription *NSPersistentStoreDescription, block func(*NSPersistentStoreDescription, unsafe.Pointer))

func (*NSPersistentStoreCoordinator) AddPersistentStoreWithTypeConfigurationURLOptionsError

func (o *NSPersistentStoreCoordinator) AddPersistentStoreWithTypeConfigurationURLOptionsError(storeType *foundation.NSString, configuration *foundation.NSString, storeURL *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID]) (*NSPersistentStore, error)

func (*NSPersistentStoreCoordinator) CurrentPersistentHistoryTokenFromStores

func (o *NSPersistentStoreCoordinator) CurrentPersistentHistoryTokenFromStores(stores *foundation.NSArray[objc.ID]) *NSPersistentHistoryToken

func (*NSPersistentStoreCoordinator) DestroyPersistentStoreAtURLWithTypeOptionsError

func (o *NSPersistentStoreCoordinator) DestroyPersistentStoreAtURLWithTypeOptionsError(url *foundation.NSURL, storeType *foundation.NSString, options *foundation.NSDictionary[objc.ID, objc.ID]) (bool, error)

func (*NSPersistentStoreCoordinator) ExecuteRequestWithContextError

func (o *NSPersistentStoreCoordinator) ExecuteRequestWithContextError(request *NSPersistentStoreRequest, context_ *NSManagedObjectContext) (objc.ID, error)

func (*NSPersistentStoreCoordinator) FinishDeferredLightweightMigration

func (o *NSPersistentStoreCoordinator) FinishDeferredLightweightMigration() (bool, error)

func (*NSPersistentStoreCoordinator) FinishDeferredLightweightMigrationTask

func (o *NSPersistentStoreCoordinator) FinishDeferredLightweightMigrationTask() (bool, error)

func (*NSPersistentStoreCoordinator) ImportStoreWithIdentifierFromExternalRecordsDirectoryToURLOptionsWithTypeError deprecated

func (o *NSPersistentStoreCoordinator) ImportStoreWithIdentifierFromExternalRecordsDirectoryToURLOptionsWithTypeError(storeIdentifier *foundation.NSString, externalRecordsURL *foundation.NSURL, destinationURL *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID], storeType *foundation.NSString) (*NSPersistentStore, error)

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func (*NSPersistentStoreCoordinator) InitWithManagedObjectModel

func (*NSPersistentStoreCoordinator) Lock deprecated

func (o *NSPersistentStoreCoordinator) Lock()

Deprecated: Use -performBlockAndWait: instead

func (*NSPersistentStoreCoordinator) ManagedObjectIDForURIRepresentation

func (o *NSPersistentStoreCoordinator) ManagedObjectIDForURIRepresentation(url *foundation.NSURL) *NSManagedObjectID

func (*NSPersistentStoreCoordinator) ManagedObjectIDFromUTF8StringLength

func (o *NSPersistentStoreCoordinator) ManagedObjectIDFromUTF8StringLength(utf8string string, len_ uint) *NSManagedObjectID

func (*NSPersistentStoreCoordinator) ManagedObjectModel

func (o *NSPersistentStoreCoordinator) ManagedObjectModel() *NSManagedObjectModel

func (*NSPersistentStoreCoordinator) MetadataForPersistentStore

func (*NSPersistentStoreCoordinator) MigratePersistentStoreToURLOptionsWithTypeError deprecated

func (o *NSPersistentStoreCoordinator) MigratePersistentStoreToURLOptionsWithTypeError(store *NSPersistentStore, uRL *foundation.NSURL, options *foundation.NSDictionary[objc.ID, objc.ID], storeType *foundation.NSString) (*NSPersistentStore, error)

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func (*NSPersistentStoreCoordinator) Name

func (*NSPersistentStoreCoordinator) PerformBlock

func (o *NSPersistentStoreCoordinator) PerformBlock(block func())

func (*NSPersistentStoreCoordinator) PerformBlockAndWait

func (o *NSPersistentStoreCoordinator) PerformBlockAndWait(block func())

func (*NSPersistentStoreCoordinator) PersistentStoreForURL

func (o *NSPersistentStoreCoordinator) PersistentStoreForURL(uRL *foundation.NSURL) *NSPersistentStore

func (*NSPersistentStoreCoordinator) PersistentStores

func (*NSPersistentStoreCoordinator) RemovePersistentStoreError

func (o *NSPersistentStoreCoordinator) RemovePersistentStoreError(store *NSPersistentStore) (bool, error)

func (*NSPersistentStoreCoordinator) ReplacePersistentStoreAtURLDestinationOptionsWithPersistentStoreFromURLSourceOptionsStoreTypeError

func (o *NSPersistentStoreCoordinator) ReplacePersistentStoreAtURLDestinationOptionsWithPersistentStoreFromURLSourceOptionsStoreTypeError(destinationURL *foundation.NSURL, destinationOptions *foundation.NSDictionary[objc.ID, objc.ID], sourceURL *foundation.NSURL, sourceOptions *foundation.NSDictionary[objc.ID, objc.ID], storeType *foundation.NSString) (bool, error)

func (*NSPersistentStoreCoordinator) SetMetadataForPersistentStore

func (o *NSPersistentStoreCoordinator) SetMetadataForPersistentStore(metadata *foundation.NSDictionary[*foundation.NSString, objc.ID], store *NSPersistentStore)

func (*NSPersistentStoreCoordinator) SetName

func (*NSPersistentStoreCoordinator) SetURLForPersistentStore

func (o *NSPersistentStoreCoordinator) SetURLForPersistentStore(url *foundation.NSURL, store *NSPersistentStore) bool

func (*NSPersistentStoreCoordinator) TryLock deprecated

func (o *NSPersistentStoreCoordinator) TryLock() bool

Deprecated: Use -performBlock: instead

func (*NSPersistentStoreCoordinator) URLForPersistentStore

func (o *NSPersistentStoreCoordinator) URLForPersistentStore(store *NSPersistentStore) *foundation.NSURL

func (*NSPersistentStoreCoordinator) Unlock deprecated

func (o *NSPersistentStoreCoordinator) Unlock()

Deprecated: Use -performBlockAndWait: instead

type NSPersistentStoreDescription

type NSPersistentStoreDescription struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentstoredescription

func NSPersistentStoreDescriptionFromID

func NSPersistentStoreDescriptionFromID(id objc.ID) *NSPersistentStoreDescription

func NSPersistentStoreDescriptionPersistentStoreDescriptionWithURL

func NSPersistentStoreDescriptionPersistentStoreDescriptionWithURL(uRL *foundation.NSURL) *NSPersistentStoreDescription

func (*NSPersistentStoreDescription) CloudKitContainerOptions

func (*NSPersistentStoreDescription) Configuration

func (o *NSPersistentStoreDescription) Configuration() *foundation.NSString

func (*NSPersistentStoreDescription) InitWithURL

func (*NSPersistentStoreDescription) IsReadOnly

func (o *NSPersistentStoreDescription) IsReadOnly() bool

func (*NSPersistentStoreDescription) Options

func (*NSPersistentStoreDescription) SetCloudKitContainerOptions

func (o *NSPersistentStoreDescription) SetCloudKitContainerOptions(cloudKitContainerOptions *NSPersistentCloudKitContainerOptions)

func (*NSPersistentStoreDescription) SetConfiguration

func (o *NSPersistentStoreDescription) SetConfiguration(configuration *foundation.NSString)

func (*NSPersistentStoreDescription) SetOptionForKey

func (o *NSPersistentStoreDescription) SetOptionForKey(option *foundation.NSObject, key *foundation.NSString)

func (*NSPersistentStoreDescription) SetReadOnly

func (o *NSPersistentStoreDescription) SetReadOnly(readOnly bool)

func (*NSPersistentStoreDescription) SetShouldAddStoreAsynchronously

func (o *NSPersistentStoreDescription) SetShouldAddStoreAsynchronously(shouldAddStoreAsynchronously bool)

func (*NSPersistentStoreDescription) SetShouldInferMappingModelAutomatically

func (o *NSPersistentStoreDescription) SetShouldInferMappingModelAutomatically(shouldInferMappingModelAutomatically bool)

func (*NSPersistentStoreDescription) SetShouldMigrateStoreAutomatically

func (o *NSPersistentStoreDescription) SetShouldMigrateStoreAutomatically(shouldMigrateStoreAutomatically bool)

func (*NSPersistentStoreDescription) SetTimeout

func (o *NSPersistentStoreDescription) SetTimeout(timeout float64)

func (*NSPersistentStoreDescription) SetType

func (*NSPersistentStoreDescription) SetURL

func (*NSPersistentStoreDescription) SetValueForPragmaNamed

func (o *NSPersistentStoreDescription) SetValueForPragmaNamed(value *foundation.NSObject, name *foundation.NSString)

func (*NSPersistentStoreDescription) ShouldAddStoreAsynchronously

func (o *NSPersistentStoreDescription) ShouldAddStoreAsynchronously() bool

func (*NSPersistentStoreDescription) ShouldInferMappingModelAutomatically

func (o *NSPersistentStoreDescription) ShouldInferMappingModelAutomatically() bool

func (*NSPersistentStoreDescription) ShouldMigrateStoreAutomatically

func (o *NSPersistentStoreDescription) ShouldMigrateStoreAutomatically() bool

func (*NSPersistentStoreDescription) SqlitePragmas

func (*NSPersistentStoreDescription) Timeout

func (*NSPersistentStoreDescription) Type

func (*NSPersistentStoreDescription) URL

type NSPersistentStoreRequest

type NSPersistentStoreRequest struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentstorerequest

func NSPersistentStoreRequestFromID

func NSPersistentStoreRequestFromID(id objc.ID) *NSPersistentStoreRequest

func (*NSPersistentStoreRequest) AffectedStores

func (*NSPersistentStoreRequest) RequestType

func (*NSPersistentStoreRequest) SetAffectedStores

func (o *NSPersistentStoreRequest) SetAffectedStores(affectedStores *foundation.NSArray[*NSPersistentStore])

type NSPersistentStoreRequestType

type NSPersistentStoreRequestType uint64
const (
	NSFetchRequestType       NSPersistentStoreRequestType = 1
	NSSaveRequestType        NSPersistentStoreRequestType = 2
	NSBatchInsertRequestType NSPersistentStoreRequestType = 5
	NSBatchUpdateRequestType NSPersistentStoreRequestType = 6
	NSBatchDeleteRequestType NSPersistentStoreRequestType = 7
)

func (NSPersistentStoreRequestType) String

type NSPersistentStoreResult

type NSPersistentStoreResult struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspersistentstoreresult

func NSPersistentStoreResultFromID

func NSPersistentStoreResultFromID(id objc.ID) *NSPersistentStoreResult

type NSPersistentStoreUbiquitousTransitionType deprecated

type NSPersistentStoreUbiquitousTransitionType uint64

Deprecated: Please see the release notes and Core Data documentation.

const (
	NSPersistentStoreUbiquitousTransitionTypeAccountAdded           NSPersistentStoreUbiquitousTransitionType = 1
	NSPersistentStoreUbiquitousTransitionTypeAccountRemoved         NSPersistentStoreUbiquitousTransitionType = 2
	NSPersistentStoreUbiquitousTransitionTypeContentRemoved         NSPersistentStoreUbiquitousTransitionType = 3
	NSPersistentStoreUbiquitousTransitionTypeInitialImportCompleted NSPersistentStoreUbiquitousTransitionType = 4
)

func (NSPersistentStoreUbiquitousTransitionType) String

type NSPropertyDescription

type NSPropertyDescription struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspropertydescription

func NSPropertyDescriptionFromID

func NSPropertyDescriptionFromID(id objc.ID) *NSPropertyDescription

func (*NSPropertyDescription) Entity

func (*NSPropertyDescription) IsIndexed deprecated

func (o *NSPropertyDescription) IsIndexed() bool

Deprecated: Use NSEntityDescription.indexes instead

func (*NSPropertyDescription) IsIndexedBySpotlight

func (o *NSPropertyDescription) IsIndexedBySpotlight() bool

func (*NSPropertyDescription) IsOptional

func (o *NSPropertyDescription) IsOptional() bool

func (*NSPropertyDescription) IsStoredInExternalRecord deprecated

func (o *NSPropertyDescription) IsStoredInExternalRecord() bool

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func (*NSPropertyDescription) IsTransient

func (o *NSPropertyDescription) IsTransient() bool

func (*NSPropertyDescription) Name

func (*NSPropertyDescription) RenamingIdentifier

func (o *NSPropertyDescription) RenamingIdentifier() *foundation.NSString

func (*NSPropertyDescription) SetIndexed deprecated

func (o *NSPropertyDescription) SetIndexed(indexed bool)

Deprecated: Use NSEntityDescription.indexes instead

func (*NSPropertyDescription) SetIndexedBySpotlight

func (o *NSPropertyDescription) SetIndexedBySpotlight(indexedBySpotlight bool)

func (*NSPropertyDescription) SetName

func (o *NSPropertyDescription) SetName(name *foundation.NSString)

func (*NSPropertyDescription) SetOptional

func (o *NSPropertyDescription) SetOptional(optional bool)

func (*NSPropertyDescription) SetRenamingIdentifier

func (o *NSPropertyDescription) SetRenamingIdentifier(renamingIdentifier *foundation.NSString)

func (*NSPropertyDescription) SetStoredInExternalRecord deprecated

func (o *NSPropertyDescription) SetStoredInExternalRecord(storedInExternalRecord bool)

Deprecated: Spotlight integration is deprecated. Use CoreSpotlight integration instead.

func (*NSPropertyDescription) SetTransient

func (o *NSPropertyDescription) SetTransient(transient bool)

func (*NSPropertyDescription) SetUserInfo

func (o *NSPropertyDescription) SetUserInfo(userInfo *foundation.NSDictionary[objc.ID, objc.ID])

func (*NSPropertyDescription) SetValidationPredicatesWithValidationWarnings

func (o *NSPropertyDescription) SetValidationPredicatesWithValidationWarnings(validationPredicates *foundation.NSArray[*foundation.NSPredicate], validationWarnings *foundation.NSArray[*foundation.NSString])

func (*NSPropertyDescription) SetVersionHashModifier

func (o *NSPropertyDescription) SetVersionHashModifier(versionHashModifier *foundation.NSString)

func (*NSPropertyDescription) UserInfo

func (*NSPropertyDescription) ValidationPredicates

func (o *NSPropertyDescription) ValidationPredicates() *foundation.NSArray[*foundation.NSPredicate]

func (*NSPropertyDescription) ValidationWarnings

func (o *NSPropertyDescription) ValidationWarnings() *foundation.NSArray[objc.ID]

func (*NSPropertyDescription) VersionHash

func (o *NSPropertyDescription) VersionHash() *foundation.NSData

func (*NSPropertyDescription) VersionHashModifier

func (o *NSPropertyDescription) VersionHashModifier() *foundation.NSString

type NSPropertyMapping

type NSPropertyMapping struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nspropertymapping

func NSPropertyMappingFromID

func NSPropertyMappingFromID(id objc.ID) *NSPropertyMapping

func (*NSPropertyMapping) Name

func (*NSPropertyMapping) SetName

func (o *NSPropertyMapping) SetName(name *foundation.NSString)

func (*NSPropertyMapping) SetUserInfo

func (o *NSPropertyMapping) SetUserInfo(userInfo *foundation.NSDictionary[objc.ID, objc.ID])

func (*NSPropertyMapping) SetValueExpression

func (o *NSPropertyMapping) SetValueExpression(valueExpression *foundation.NSExpression)

func (*NSPropertyMapping) UserInfo

func (*NSPropertyMapping) ValueExpression

func (o *NSPropertyMapping) ValueExpression() *foundation.NSExpression

type NSQueryGenerationToken

type NSQueryGenerationToken struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsquerygenerationtoken

func NSQueryGenerationTokenCurrentQueryGenerationToken

func NSQueryGenerationTokenCurrentQueryGenerationToken() *NSQueryGenerationToken

func NSQueryGenerationTokenFromID

func NSQueryGenerationTokenFromID(id objc.ID) *NSQueryGenerationToken

type NSRelationshipDescription

type NSRelationshipDescription struct {
	NSPropertyDescription
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsrelationshipdescription

func NSRelationshipDescriptionFromID

func NSRelationshipDescriptionFromID(id objc.ID) *NSRelationshipDescription

func (*NSRelationshipDescription) DeleteRule

func (o *NSRelationshipDescription) DeleteRule() NSDeleteRule

func (*NSRelationshipDescription) DestinationEntity

func (o *NSRelationshipDescription) DestinationEntity() *NSEntityDescription

func (*NSRelationshipDescription) InverseRelationship

func (o *NSRelationshipDescription) InverseRelationship() *NSRelationshipDescription

func (*NSRelationshipDescription) IsOrdered

func (o *NSRelationshipDescription) IsOrdered() bool

func (*NSRelationshipDescription) IsToMany

func (o *NSRelationshipDescription) IsToMany() bool

func (*NSRelationshipDescription) MaxCount

func (o *NSRelationshipDescription) MaxCount() uint

func (*NSRelationshipDescription) MinCount

func (o *NSRelationshipDescription) MinCount() uint

func (*NSRelationshipDescription) SetDeleteRule

func (o *NSRelationshipDescription) SetDeleteRule(deleteRule NSDeleteRule)

func (*NSRelationshipDescription) SetDestinationEntity

func (o *NSRelationshipDescription) SetDestinationEntity(destinationEntity *NSEntityDescription)

func (*NSRelationshipDescription) SetInverseRelationship

func (o *NSRelationshipDescription) SetInverseRelationship(inverseRelationship *NSRelationshipDescription)

func (*NSRelationshipDescription) SetMaxCount

func (o *NSRelationshipDescription) SetMaxCount(maxCount uint)

func (*NSRelationshipDescription) SetMinCount

func (o *NSRelationshipDescription) SetMinCount(minCount uint)

func (*NSRelationshipDescription) SetOrdered

func (o *NSRelationshipDescription) SetOrdered(ordered bool)

type NSSaveChangesRequest

type NSSaveChangesRequest struct {
	NSPersistentStoreRequest
}

Apple documentation: https://developer.apple.com/documentation/coredata/nssavechangesrequest

func NSSaveChangesRequestFromID

func NSSaveChangesRequestFromID(id objc.ID) *NSSaveChangesRequest

func (*NSSaveChangesRequest) DeletedObjects

func (o *NSSaveChangesRequest) DeletedObjects() *foundation.NSSet[*NSManagedObject]

func (*NSSaveChangesRequest) InitWithInsertedObjectsUpdatedObjectsDeletedObjectsLockedObjects

func (o *NSSaveChangesRequest) InitWithInsertedObjectsUpdatedObjectsDeletedObjectsLockedObjects(insertedObjects *foundation.NSSet[*NSManagedObject], updatedObjects *foundation.NSSet[*NSManagedObject], deletedObjects *foundation.NSSet[*NSManagedObject], lockedObjects *foundation.NSSet[*NSManagedObject]) *NSSaveChangesRequest

func (*NSSaveChangesRequest) InsertedObjects

func (o *NSSaveChangesRequest) InsertedObjects() *foundation.NSSet[*NSManagedObject]

func (*NSSaveChangesRequest) LockedObjects

func (o *NSSaveChangesRequest) LockedObjects() *foundation.NSSet[*NSManagedObject]

func (*NSSaveChangesRequest) UpdatedObjects

func (o *NSSaveChangesRequest) UpdatedObjects() *foundation.NSSet[*NSManagedObject]

type NSSnapshotEventType

type NSSnapshotEventType uint64
const (
	NSSnapshotEventUndoInsertion NSSnapshotEventType = 2
	NSSnapshotEventUndoDeletion  NSSnapshotEventType = 4
	NSSnapshotEventUndoUpdate    NSSnapshotEventType = 8
	NSSnapshotEventRollback      NSSnapshotEventType = 16
	NSSnapshotEventRefresh       NSSnapshotEventType = 32
	NSSnapshotEventMergePolicy   NSSnapshotEventType = 64
)

func (NSSnapshotEventType) String

func (e NSSnapshotEventType) String() string

type NSStagedMigrationManager

type NSStagedMigrationManager struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/coredata/nsstagedmigrationmanager

func NSStagedMigrationManagerFromID

func NSStagedMigrationManagerFromID(id objc.ID) *NSStagedMigrationManager

func (*NSStagedMigrationManager) Container

func (*NSStagedMigrationManager) InitWithMigrationStages

func (*NSStagedMigrationManager) Stages

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL