Commits

Ronald Oussoren committed ad942f4

Port to new metadata system

Comments (0)

Files changed (5)

pyobjc-framework-CoreData/BridgeSupport/CoreData.bridgesupport

+<?xml version='1.0'?>
+<!DOCTYPE signatures SYSTEM "file://localhost/System/Library/DTDs/BridgeSupport.dtd">
+<signatures version='1.0'>
+  <depends_on path='/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation' />
+  <depends_on path='/System/Library/Frameworks/Foundation.framework/Foundation' />
+  <enum name='NSDictionaryResultType' value='2' />
+  <constant name='NSPersistentStoreCoordinatorWillRemoveStoreNotification' type='@' />
+  <constant name='NSManagedObjectContextWillSaveNotification' type='@' />
+  <constant name='NSSQLiteAnalyzeOption' type='@' />
+  <constant name='NSSQLiteManualVacuumOption' type='@' />
+  <constant name='NSInferMappingModelAutomaticallyOption' type='@' />
+  <constant name='NSXMLExternalRecordType' type='@' />
+  <constant name='NSBinaryExternalRecordType' type='@' />
+  <constant name='NSExternalRecordsFileFormatOption' type='@' />
+  <constant name='NSExternalRecordsDirectoryOption' type='@' />
+  <constant name='NSExternalRecordExtensionOption' type='@' />
+  <constant name='NSEntityNameInPathKey' type='@' />
+  <constant name='NSStoreUUIDInPathKey' type='@' />
+  <constant name='NSStorePathKey' type='@' />
+  <constant name='NSModelPathKey' type='@' />
+  <constant name='NSObjectURIKey' type='@' />
+  <constant name='NSAddedPersistentStoresKey' type='@' />
+  <constant name='NSAffectedObjectsErrorKey' type='@' />
+  <constant name='NSAffectedStoresErrorKey' type='@' />
+  <constant name='NSBinaryStoreType' type='@' />
+  <constant name='NSCoreDataVersionNumber' type='d' />
+  <constant name='NSDeletedObjectsKey' type='@' />
+  <constant name='NSDetailedErrorsKey' type='@' />
+  <constant name='NSErrorMergePolicy' type='@' />
+  <constant name='NSIgnorePersistentStoreVersioningOption' type='@' />
+  <constant name='NSInMemoryStoreType' type='@' />
+  <constant name='NSInsertedObjectsKey' type='@' />
+  <constant name='NSInvalidatedAllObjectsKey' type='@' />
+  <constant name='NSInvalidatedObjectsKey' type='@' />
+  <constant name='NSManagedObjectContextDidSaveNotification' type='@' />
+  <constant name='NSManagedObjectContextObjectsDidChangeNotification' type='@' />
+  <constant name='NSMergeByPropertyObjectTrumpMergePolicy' type='@' />
+  <constant name='NSMergeByPropertyStoreTrumpMergePolicy' type='@' />
+  <constant name='NSMigratePersistentStoresAutomaticallyOption' type='@' />
+  <constant name='NSMigrationDestinationObjectKey' type='@' />
+  <constant name='NSMigrationEntityMappingKey' type='@' />
+  <constant name='NSMigrationManagerKey' type='@' />
+  <constant name='NSMigrationPropertyMappingKey' type='@' />
+  <constant name='NSMigrationSourceObjectKey' type='@' />
+  <constant name='NSOverwriteMergePolicy' type='@' />
+  <constant name='NSPersistentStoreCoordinatorStoresDidChangeNotification' type='@' />
+  <constant name='NSPersistentStoreOSCompatibility' type='@' />
+  <constant name='NSPersistentStoreTimeoutOption' type='@' />
+  <constant name='NSReadOnlyPersistentStoreOption' type='@' />
+  <constant name='NSRefreshedObjectsKey' type='@' />
+  <constant name='NSRemovedPersistentStoresKey' type='@' />
+  <constant name='NSRollbackMergePolicy' type='@' />
+  <constant name='NSSQLiteErrorDomain' type='@' />
+  <constant name='NSSQLitePragmasOption' type='@' />
+  <constant name='NSSQLiteStoreType' type='@' />
+  <constant name='NSStoreModelVersionHashesKey' type='@' />
+  <constant name='NSStoreModelVersionIdentifiersKey' type='@' />
+  <constant name='NSStoreTypeKey' type='@' />
+  <constant name='NSStoreUUIDKey' type='@' />
+  <constant name='NSUUIDChangedPersistentStoresKey' type='@' />
+  <constant name='NSUpdatedObjectsKey' type='@' />
+  <constant name='NSValidateXMLStoreOption' type='@' />
+  <constant name='NSValidationKeyErrorKey' type='@' />
+  <constant name='NSValidationObjectErrorKey' type='@' />
+  <constant name='NSValidationPredicateErrorKey' type='@' />
+  <constant name='NSValidationValueErrorKey' type='@' />
+  <constant name='NSXMLStoreType' type='@' />
+  <enum name='NSAddEntityMappingType' value='2' />
+  <enum name='NSBinaryDataAttributeType' value='1000' />
+  <enum name='NSBooleanAttributeType' value='800' />
+  <enum name='NSCascadeDeleteRule' value='2' />
+  <enum name='NSCopyEntityMappingType' value='4' />
+  <enum name='NSCoreDataError' value='134060' />
+  <enum name='NSCoreDataVersionNumber10_4' value='46.0' />
+  <enum name='NSCoreDataVersionNumber10_4_3' value='77.0' />
+  <enum name='NSCoreDataVersionNumber10_5' value='185.0' />
+  <enum name='NSCoreDataVersionNumber10_5_3' value='186.0' />
+  <enum name='NSInferredMappingModelError' value='134190' />
+  <enum name='NSExternalRecordImportError' value='134200' />
+  <enum name='NSCustomEntityMappingType' value='1' />
+  <enum name='NSDateAttributeType' value='900' />
+  <enum name='NSDecimalAttributeType' value='400' />
+  <enum name='NSDenyDeleteRule' value='3' />
+  <enum name='NSDoubleAttributeType' value='500' />
+  <enum name='NSEntityMigrationPolicyError' value='134170' />
+  <enum name='NSFetchRequestExpressionType' value='50' />
+  <enum name='NSFloatAttributeType' value='600' />
+  <enum name='NSInteger16AttributeType' value='100' />
+  <enum name='NSInteger32AttributeType' value='200' />
+  <enum name='NSInteger64AttributeType' value='300' />
+  <enum name='NSManagedObjectContextLockingError' value='132000' />
+  <enum name='NSManagedObjectExternalRelationshipError' value='133010' />
+  <enum name='NSManagedObjectIDResultType' value='1' />
+  <enum name='NSManagedObjectMergeError' value='133020' />
+  <enum name='NSManagedObjectReferentialIntegrityError' value='133000' />
+  <enum name='NSManagedObjectResultType' value='0' />
+  <enum name='NSManagedObjectValidationError' value='1550' />
+  <enum name='NSMigrationCancelledError' value='134120' />
+  <enum name='NSMigrationError' value='134110' />
+  <enum name='NSMigrationManagerDestinationStoreError' value='134160' />
+  <enum name='NSMigrationManagerSourceStoreError' value='134150' />
+  <enum name='NSMigrationMissingMappingModelError' value='134140' />
+  <enum name='NSMigrationMissingSourceModelError' value='134130' />
+  <enum name='NSNoActionDeleteRule' value='0' />
+  <enum name='NSNullifyDeleteRule' value='1' />
+  <enum name='NSPersistentStoreCoordinatorLockingError' value='132010' />
+  <enum name='NSPersistentStoreIncompatibleSchemaError' value='134020' />
+  <enum name='NSPersistentStoreIncompatibleVersionHashError' value='134100' />
+  <enum name='NSPersistentStoreIncompleteSaveError' value='134040' />
+  <enum name='NSPersistentStoreInvalidTypeError' value='134000' />
+  <enum name='NSPersistentStoreOpenError' value='134080' />
+  <enum name='NSPersistentStoreOperationError' value='134070' />
+  <enum name='NSPersistentStoreSaveError' value='134030' />
+  <enum name='NSPersistentStoreTimeoutError' value='134090' />
+  <enum name='NSPersistentStoreTypeMismatchError' value='134010' />
+  <enum name='NSRemoveEntityMappingType' value='3' />
+  <enum name='NSSQLiteError' value='134180' />
+  <enum name='NSStringAttributeType' value='700' />
+  <enum name='NSTransformEntityMappingType' value='5' />
+  <enum name='NSTransformableAttributeType' value='1800' />
+  <enum name='NSObjectIDAttributeType' value='2000' />
+  <enum name='NSUndefinedAttributeType' value='0' />
+  <enum name='NSUndefinedEntityMappingType' value='0' />
+  <enum name='NSValidationDateTooLateError' value='1630' />
+  <enum name='NSValidationDateTooSoonError' value='1640' />
+  <enum name='NSValidationInvalidDateError' value='1650' />
+  <enum name='NSValidationMissingMandatoryPropertyError' value='1570' />
+  <enum name='NSValidationMultipleErrorsError' value='1560' />
+  <enum name='NSValidationNumberTooLargeError' value='1610' />
+  <enum name='NSValidationNumberTooSmallError' value='1620' />
+  <enum name='NSValidationRelationshipDeniedDeleteError' value='1600' />
+  <enum name='NSValidationRelationshipExceedsMaximumCountError' value='1590' />
+  <enum name='NSValidationRelationshipLacksMinimumCountError' value='1580' />
+  <enum name='NSValidationStringPatternMatchingError' value='1680' />
+  <enum name='NSValidationStringTooLongError' value='1660' />
+  <enum name='NSValidationStringTooShortError' value='1670' />
+  <enum name='NSSnapshotEventUndoInsertion' value='2' />
+  <enum name='NSSnapshotEventUndoDeletion' value='4' />
+  <enum name='NSSnapshotEventUndoUpdate' value='8' />
+  <enum name='NSSnapshotEventRollback' value='16' />
+  <enum name='NSSnapshotEventRefresh' value='32' />
+  <enum name='NSSnapshotEventMergePolicy' value='64' />
+  <class name='NSAtomicStore'>
+    <method selector='load:'>
+      <retval type='B' />
+      <arg index='0' type_modifier='o' />
+    </method>
+    <method selector='save:'>
+      <retval type='B' />
+      <arg index='0' type_modifier='o' />
+    </method>
+  </class>
+  <class name='NSEntityDescription'>
+    <method selector='isAbstract'>
+      <retval type='B' />
+    </method>
+    <method selector='isKindOfEntity:'>
+      <retval type='B' />
+    </method>
+    <method selector='setAbstract:'>
+      <arg index='0' type='B' />
+    </method>
+  </class>
+  <class name='NSEntityMigrationPolicy'>
+    <method selector='beginEntityMapping:manager:error:'>
+      <retval type='B' />
+      <arg index='2' type_modifier='o' />
+    </method>
+    <method selector='createDestinationInstancesForSourceInstance:entityMapping:manager:error:'>
+      <retval type='B' />
+      <arg index='3' type_modifier='o' />
+    </method>
+    <method selector='createRelationshipsForDestinationInstance:entityMapping:manager:error:'>
+      <retval type='B' />
+      <arg index='3' type_modifier='o' />
+    </method>
+    <method selector='endEntityMapping:manager:error:'>
+      <retval type='B' />
+      <arg index='2' type_modifier='o' />
+    </method>
+    <method selector='endInstanceCreationForEntityMapping:manager:error:'>
+      <retval type='B' />
+      <arg index='2' type_modifier='o' />
+    </method>
+    <method selector='endRelationshipCreationForEntityMapping:manager:error:'>
+      <retval type='B' />
+      <arg index='2' type_modifier='o' />
+    </method>
+    <method selector='performCustomValidationForEntityMapping:manager:error:'>
+      <retval type='B' />
+      <arg index='2' type_modifier='o' />
+    </method>
+  </class>
+  <class name='NSFetchRequest'>
+    <method selector='includesPendingChanges'>
+      <retval type='B' />
+    </method>
+    <method selector='setIncludesPendingChanges:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='returnsDistinctResults'>
+      <retval type='B' />
+    </method>
+    <method selector='setReturnsDistinctResults:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='includesPropertyValues'>
+      <retval type='B' />
+    </method>
+    <method selector='includesSubentities'>
+      <retval type='B' />
+    </method>
+    <method selector='returnsObjectsAsFaults'>
+      <retval type='B' />
+    </method>
+    <method selector='setIncludesPropertyValues:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='setIncludesSubentities:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='setReturnsObjectsAsFaults:'>
+      <arg index='0' type='B' />
+    </method>
+  </class>
+  <class name='NSFetchRequestExpression'>
+    <method class_method='true' selector='expressionForFetch:context:countOnly:'>
+      <arg index='2' type='B' />
+    </method>
+    <method selector='isCountOnlyRequest'>
+      <retval type='B' />
+    </method>
+  </class>
+  <class name='NSManagedObject'>
+    <method class_method='true' selector='contextShouldIgnoreUnmodeledPropertyChanges'>
+      <retval type='B' />
+    </method>
+    <method selector='hasFaultForRelationshipNamed:'>
+      <retval type='B' />
+    </method>
+    <method selector='isDeleted'>
+      <retval type='B' />
+    </method>
+    <method selector='isFault'>
+      <retval type='B' />
+    </method>
+    <method selector='isInserted'>
+      <retval type='B' />
+    </method>
+    <method selector='isUpdated'>
+      <retval type='B' />
+    </method>
+    <method selector='observationInfo'>
+      <retval type='^v' />
+    </method>
+    <method selector='setObservationInfo:'>
+      <arg index='0' type='^v' />
+    </method>
+    <method selector='validateForDelete:'>
+      <retval type='B' />
+      <arg index='0' type_modifier='o' />
+    </method>
+    <method selector='validateForInsert:'>
+      <retval type='B' />
+      <arg index='0' type_modifier='o' />
+    </method>
+    <method selector='validateForUpdate:'>
+      <retval type='B' />
+      <arg index='0' type_modifier='o' />
+    </method>
+    <method selector='validateValue:forKey:error:'>
+      <retval type='B' />
+      <arg index='0' type_modifier='N' />
+      <arg index='2' type_modifier='o' />
+    </method>
+  </class>
+  <class name='NSManagedObjectContext'>
+    <method selector='existingObjectWithID:error:'>
+      <arg index='1' type_modifier='o' />
+    </method>
+    <method selector='countForFetchRequest:error:'>
+      <arg index='1' type_modifier='o' />
+    </method>
+    <method selector='executeFetchRequest:error:'>
+      <arg index='1' type_modifier='o' />
+    </method>
+    <method selector='hasChanges'>
+      <retval type='B' />
+    </method>
+    <method selector='observeValueForKeyPath:ofObject:change:context:'>
+      <arg index='3' type='^v' />
+    </method>
+    <method selector='obtainPermanentIDsForObjects:error:'>
+      <retval type='B' />
+      <arg index='1' type_modifier='o' />
+    </method>
+    <method selector='propagatesDeletesAtEndOfEvent'>
+      <retval type='B' />
+    </method>
+    <method selector='refreshObject:mergeChanges:'>
+      <arg index='1' type='B' />
+    </method>
+    <method selector='retainsRegisteredObjects'>
+      <retval type='B' />
+    </method>
+    <method selector='save:'>
+      <retval type='B' />
+      <arg index='0' type_modifier='o' />
+    </method>
+    <method selector='setPropagatesDeletesAtEndOfEvent:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='setRetainsRegisteredObjects:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='tryLock'>
+      <retval type='B' />
+    </method>
+  </class>
+  <class name='NSManagedObjectID'>
+    <method selector='isTemporaryID'>
+      <retval type='B' />
+    </method>
+  </class>
+  <class name='NSManagedObjectModel'>
+    <method selector='isConfiguration:compatibleWithStoreMetadata:'>
+      <retval type='B' />
+    </method>
+  </class>
+  <class name='NSMigrationManager'>
+    <method selector='migrateStoreFromURL:type:options:withMappingModel:toDestinationURL:destinationType:destinationOptions:error:'>
+      <retval type='B' />
+      <arg index='7' type_modifier='o' />
+    </method>
+  </class>
+  <class name='NSPersistentStore'>
+    <method selector='loadMetadata'>
+      <retval type='B'/>
+    </method>
+    <method selector='loadMetadata:'>
+      <retval type='B'/>
+      <arg index='0' type_modifier='o' />
+    </method>
+    <method selector='isReadOnly'>
+      <retval type='B' />
+    </method>
+    <method class_method='true' selector='metadataForPersistentStoreWithURL:error:'>
+      <arg index='1' type_modifier='o' />
+    </method>
+    <method class_method='true' selector='setMetadata:forPersistentStoreWithURL:error:'>
+      <retval type='B' />
+      <arg index='2' type_modifier='o' />
+    </method>
+    <method selector='setReadOnly:'>
+      <arg index='0' type='B' />
+    </method>
+  </class>
+  <class name='NSPersistentStoreCoordinator'>
+    <method selector='addPersistentStoreWithType:configuration:URL:options:error:'>
+      <arg index='4' type_modifier='o' />
+    </method>
+    <method class_method='true' selector='metadataForPersistentStoreOfType:URL:error:'>
+      <arg index='2' type_modifier='o' />
+    </method>
+    <method class_method='true' selector='metadataForPersistentStoreWithURL:error:'>
+      <arg index='1' type_modifier='o' />
+    </method>
+    <method selector='migratePersistentStore:toURL:options:withType:error:'>
+      <arg index='4' type_modifier='o' />
+    </method>
+    <method selector='removePersistentStore:error:'>
+      <retval type='B' />
+      <arg index='1' type_modifier='o' />
+    </method>
+    <method class_method='true' selector='setMetadata:forPersistentStoreOfType:URL:error:'>
+      <retval type='B' />
+      <arg index='3' type_modifier='o' />
+    </method>
+    <method selector='setURL:forPersistentStore:'>
+      <retval type='B' />
+    </method>
+    <method selector='tryLock'>
+      <retval type='B' />
+    </method>
+    <method selector='importStoreWithIdentifier:fromExternalRecordsDirectory:toURL:options:withType:error:'>
+	    <arg index='5' type_modifier='o' />
+    </method>
+  </class>
+  <class name='NSPropertyDescription'>
+    <method selector='isIndexed'>
+      <retval type='B' />
+    </method>
+    <method selector='isOptional'>
+      <retval type='B' />
+    </method>
+    <method selector='isTransient'>
+      <retval type='B' />
+    </method>
+    <method selector='setIndexed:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='setOptional:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='setTransient:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='isIndexedBySpotlight'>
+      <retval type='B' />
+    </method>
+    <method selector='setIndexedBySpotlight:'>
+      <arg index='0' type='B' />
+    </method>
+    <method selector='isStoredInExternalRecord'>
+      <retval type='B' />
+    </method>
+    <method selector='setStoredInExternalRecord:'>
+      <arg index='0' type='B' />
+    </method>
+  </class>
+  <class name='NSRelationshipDescription'>
+    <method selector='isToMany'>
+      <retval type='B' />
+    </method>
+  </class>
+  <class name='NSMappingModel'>
+    <method class_method='true' selector='inferredMappingModelForSourceModel:destinationModel:error:'>
+      <arg index='2' type_modifier='o' />
+    </method>
+  </class>
+</signatures>

pyobjc-framework-CoreData/Lib/CoreData/PyObjC.bridgesupport

-<?xml version='1.0'?>
-<!DOCTYPE signatures SYSTEM "file://localhost/System/Library/DTDs/BridgeSupport.dtd">
-<signatures version='1.0'>
-  <depends_on path='/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation' />
-  <depends_on path='/System/Library/Frameworks/Foundation.framework/Foundation' />
-  <enum name='NSDictionaryResultType' value='2' />
-  <constant name='NSPersistentStoreCoordinatorWillRemoveStoreNotification' type='@' />
-  <constant name='NSManagedObjectContextWillSaveNotification' type='@' />
-  <constant name='NSSQLiteAnalyzeOption' type='@' />
-  <constant name='NSSQLiteManualVacuumOption' type='@' />
-  <constant name='NSInferMappingModelAutomaticallyOption' type='@' />
-  <constant name='NSXMLExternalRecordType' type='@' />
-  <constant name='NSBinaryExternalRecordType' type='@' />
-  <constant name='NSExternalRecordsFileFormatOption' type='@' />
-  <constant name='NSExternalRecordsDirectoryOption' type='@' />
-  <constant name='NSExternalRecordExtensionOption' type='@' />
-  <constant name='NSEntityNameInPathKey' type='@' />
-  <constant name='NSStoreUUIDInPathKey' type='@' />
-  <constant name='NSStorePathKey' type='@' />
-  <constant name='NSModelPathKey' type='@' />
-  <constant name='NSObjectURIKey' type='@' />
-  <constant name='NSAddedPersistentStoresKey' type='@' />
-  <constant name='NSAffectedObjectsErrorKey' type='@' />
-  <constant name='NSAffectedStoresErrorKey' type='@' />
-  <constant name='NSBinaryStoreType' type='@' />
-  <constant name='NSCoreDataVersionNumber' type='d' />
-  <constant name='NSDeletedObjectsKey' type='@' />
-  <constant name='NSDetailedErrorsKey' type='@' />
-  <constant name='NSErrorMergePolicy' type='@' />
-  <constant name='NSIgnorePersistentStoreVersioningOption' type='@' />
-  <constant name='NSInMemoryStoreType' type='@' />
-  <constant name='NSInsertedObjectsKey' type='@' />
-  <constant name='NSInvalidatedAllObjectsKey' type='@' />
-  <constant name='NSInvalidatedObjectsKey' type='@' />
-  <constant name='NSManagedObjectContextDidSaveNotification' type='@' />
-  <constant name='NSManagedObjectContextObjectsDidChangeNotification' type='@' />
-  <constant name='NSMergeByPropertyObjectTrumpMergePolicy' type='@' />
-  <constant name='NSMergeByPropertyStoreTrumpMergePolicy' type='@' />
-  <constant name='NSMigratePersistentStoresAutomaticallyOption' type='@' />
-  <constant name='NSMigrationDestinationObjectKey' type='@' />
-  <constant name='NSMigrationEntityMappingKey' type='@' />
-  <constant name='NSMigrationManagerKey' type='@' />
-  <constant name='NSMigrationPropertyMappingKey' type='@' />
-  <constant name='NSMigrationSourceObjectKey' type='@' />
-  <constant name='NSOverwriteMergePolicy' type='@' />
-  <constant name='NSPersistentStoreCoordinatorStoresDidChangeNotification' type='@' />
-  <constant name='NSPersistentStoreOSCompatibility' type='@' />
-  <constant name='NSPersistentStoreTimeoutOption' type='@' />
-  <constant name='NSReadOnlyPersistentStoreOption' type='@' />
-  <constant name='NSRefreshedObjectsKey' type='@' />
-  <constant name='NSRemovedPersistentStoresKey' type='@' />
-  <constant name='NSRollbackMergePolicy' type='@' />
-  <constant name='NSSQLiteErrorDomain' type='@' />
-  <constant name='NSSQLitePragmasOption' type='@' />
-  <constant name='NSSQLiteStoreType' type='@' />
-  <constant name='NSStoreModelVersionHashesKey' type='@' />
-  <constant name='NSStoreModelVersionIdentifiersKey' type='@' />
-  <constant name='NSStoreTypeKey' type='@' />
-  <constant name='NSStoreUUIDKey' type='@' />
-  <constant name='NSUUIDChangedPersistentStoresKey' type='@' />
-  <constant name='NSUpdatedObjectsKey' type='@' />
-  <constant name='NSValidateXMLStoreOption' type='@' />
-  <constant name='NSValidationKeyErrorKey' type='@' />
-  <constant name='NSValidationObjectErrorKey' type='@' />
-  <constant name='NSValidationPredicateErrorKey' type='@' />
-  <constant name='NSValidationValueErrorKey' type='@' />
-  <constant name='NSXMLStoreType' type='@' />
-  <enum name='NSAddEntityMappingType' value='2' />
-  <enum name='NSBinaryDataAttributeType' value='1000' />
-  <enum name='NSBooleanAttributeType' value='800' />
-  <enum name='NSCascadeDeleteRule' value='2' />
-  <enum name='NSCopyEntityMappingType' value='4' />
-  <enum name='NSCoreDataError' value='134060' />
-  <enum name='NSCoreDataVersionNumber10_4' value='46.0' />
-  <enum name='NSCoreDataVersionNumber10_4_3' value='77.0' />
-  <enum name='NSCoreDataVersionNumber10_5' value='185.0' />
-  <enum name='NSCoreDataVersionNumber10_5_3' value='186.0' />
-  <enum name='NSInferredMappingModelError' value='134190' />
-  <enum name='NSExternalRecordImportError' value='134200' />
-  <enum name='NSCustomEntityMappingType' value='1' />
-  <enum name='NSDateAttributeType' value='900' />
-  <enum name='NSDecimalAttributeType' value='400' />
-  <enum name='NSDenyDeleteRule' value='3' />
-  <enum name='NSDoubleAttributeType' value='500' />
-  <enum name='NSEntityMigrationPolicyError' value='134170' />
-  <enum name='NSFetchRequestExpressionType' value='50' />
-  <enum name='NSFloatAttributeType' value='600' />
-  <enum name='NSInteger16AttributeType' value='100' />
-  <enum name='NSInteger32AttributeType' value='200' />
-  <enum name='NSInteger64AttributeType' value='300' />
-  <enum name='NSManagedObjectContextLockingError' value='132000' />
-  <enum name='NSManagedObjectExternalRelationshipError' value='133010' />
-  <enum name='NSManagedObjectIDResultType' value='1' />
-  <enum name='NSManagedObjectMergeError' value='133020' />
-  <enum name='NSManagedObjectReferentialIntegrityError' value='133000' />
-  <enum name='NSManagedObjectResultType' value='0' />
-  <enum name='NSManagedObjectValidationError' value='1550' />
-  <enum name='NSMigrationCancelledError' value='134120' />
-  <enum name='NSMigrationError' value='134110' />
-  <enum name='NSMigrationManagerDestinationStoreError' value='134160' />
-  <enum name='NSMigrationManagerSourceStoreError' value='134150' />
-  <enum name='NSMigrationMissingMappingModelError' value='134140' />
-  <enum name='NSMigrationMissingSourceModelError' value='134130' />
-  <enum name='NSNoActionDeleteRule' value='0' />
-  <enum name='NSNullifyDeleteRule' value='1' />
-  <enum name='NSPersistentStoreCoordinatorLockingError' value='132010' />
-  <enum name='NSPersistentStoreIncompatibleSchemaError' value='134020' />
-  <enum name='NSPersistentStoreIncompatibleVersionHashError' value='134100' />
-  <enum name='NSPersistentStoreIncompleteSaveError' value='134040' />
-  <enum name='NSPersistentStoreInvalidTypeError' value='134000' />
-  <enum name='NSPersistentStoreOpenError' value='134080' />
-  <enum name='NSPersistentStoreOperationError' value='134070' />
-  <enum name='NSPersistentStoreSaveError' value='134030' />
-  <enum name='NSPersistentStoreTimeoutError' value='134090' />
-  <enum name='NSPersistentStoreTypeMismatchError' value='134010' />
-  <enum name='NSRemoveEntityMappingType' value='3' />
-  <enum name='NSSQLiteError' value='134180' />
-  <enum name='NSStringAttributeType' value='700' />
-  <enum name='NSTransformEntityMappingType' value='5' />
-  <enum name='NSTransformableAttributeType' value='1800' />
-  <enum name='NSObjectIDAttributeType' value='2000' />
-  <enum name='NSUndefinedAttributeType' value='0' />
-  <enum name='NSUndefinedEntityMappingType' value='0' />
-  <enum name='NSValidationDateTooLateError' value='1630' />
-  <enum name='NSValidationDateTooSoonError' value='1640' />
-  <enum name='NSValidationInvalidDateError' value='1650' />
-  <enum name='NSValidationMissingMandatoryPropertyError' value='1570' />
-  <enum name='NSValidationMultipleErrorsError' value='1560' />
-  <enum name='NSValidationNumberTooLargeError' value='1610' />
-  <enum name='NSValidationNumberTooSmallError' value='1620' />
-  <enum name='NSValidationRelationshipDeniedDeleteError' value='1600' />
-  <enum name='NSValidationRelationshipExceedsMaximumCountError' value='1590' />
-  <enum name='NSValidationRelationshipLacksMinimumCountError' value='1580' />
-  <enum name='NSValidationStringPatternMatchingError' value='1680' />
-  <enum name='NSValidationStringTooLongError' value='1660' />
-  <enum name='NSValidationStringTooShortError' value='1670' />
-  <enum name='NSSnapshotEventUndoInsertion' value='2' />
-  <enum name='NSSnapshotEventUndoDeletion' value='4' />
-  <enum name='NSSnapshotEventUndoUpdate' value='8' />
-  <enum name='NSSnapshotEventRollback' value='16' />
-  <enum name='NSSnapshotEventRefresh' value='32' />
-  <enum name='NSSnapshotEventMergePolicy' value='64' />
-  <class name='NSAtomicStore'>
-    <method selector='load:'>
-      <retval type='B' />
-      <arg index='0' type_modifier='o' />
-    </method>
-    <method selector='save:'>
-      <retval type='B' />
-      <arg index='0' type_modifier='o' />
-    </method>
-  </class>
-  <class name='NSEntityDescription'>
-    <method selector='isAbstract'>
-      <retval type='B' />
-    </method>
-    <method selector='isKindOfEntity:'>
-      <retval type='B' />
-    </method>
-    <method selector='setAbstract:'>
-      <arg index='0' type='B' />
-    </method>
-  </class>
-  <class name='NSEntityMigrationPolicy'>
-    <method selector='beginEntityMapping:manager:error:'>
-      <retval type='B' />
-      <arg index='2' type_modifier='o' />
-    </method>
-    <method selector='createDestinationInstancesForSourceInstance:entityMapping:manager:error:'>
-      <retval type='B' />
-      <arg index='3' type_modifier='o' />
-    </method>
-    <method selector='createRelationshipsForDestinationInstance:entityMapping:manager:error:'>
-      <retval type='B' />
-      <arg index='3' type_modifier='o' />
-    </method>
-    <method selector='endEntityMapping:manager:error:'>
-      <retval type='B' />
-      <arg index='2' type_modifier='o' />
-    </method>
-    <method selector='endInstanceCreationForEntityMapping:manager:error:'>
-      <retval type='B' />
-      <arg index='2' type_modifier='o' />
-    </method>
-    <method selector='endRelationshipCreationForEntityMapping:manager:error:'>
-      <retval type='B' />
-      <arg index='2' type_modifier='o' />
-    </method>
-    <method selector='performCustomValidationForEntityMapping:manager:error:'>
-      <retval type='B' />
-      <arg index='2' type_modifier='o' />
-    </method>
-  </class>
-  <class name='NSFetchRequest'>
-    <method selector='includesPendingChanges'>
-      <retval type='B' />
-    </method>
-    <method selector='setIncludesPendingChanges:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='returnsDistinctResults'>
-      <retval type='B' />
-    </method>
-    <method selector='setReturnsDistinctResults:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='includesPropertyValues'>
-      <retval type='B' />
-    </method>
-    <method selector='includesSubentities'>
-      <retval type='B' />
-    </method>
-    <method selector='returnsObjectsAsFaults'>
-      <retval type='B' />
-    </method>
-    <method selector='setIncludesPropertyValues:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='setIncludesSubentities:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='setReturnsObjectsAsFaults:'>
-      <arg index='0' type='B' />
-    </method>
-  </class>
-  <class name='NSFetchRequestExpression'>
-    <method class_method='true' selector='expressionForFetch:context:countOnly:'>
-      <arg index='2' type='B' />
-    </method>
-    <method selector='isCountOnlyRequest'>
-      <retval type='B' />
-    </method>
-  </class>
-  <class name='NSManagedObject'>
-    <method class_method='true' selector='contextShouldIgnoreUnmodeledPropertyChanges'>
-      <retval type='B' />
-    </method>
-    <method selector='hasFaultForRelationshipNamed:'>
-      <retval type='B' />
-    </method>
-    <method selector='isDeleted'>
-      <retval type='B' />
-    </method>
-    <method selector='isFault'>
-      <retval type='B' />
-    </method>
-    <method selector='isInserted'>
-      <retval type='B' />
-    </method>
-    <method selector='isUpdated'>
-      <retval type='B' />
-    </method>
-    <method selector='observationInfo'>
-      <retval type='^v' />
-    </method>
-    <method selector='setObservationInfo:'>
-      <arg index='0' type='^v' />
-    </method>
-    <method selector='validateForDelete:'>
-      <retval type='B' />
-      <arg index='0' type_modifier='o' />
-    </method>
-    <method selector='validateForInsert:'>
-      <retval type='B' />
-      <arg index='0' type_modifier='o' />
-    </method>
-    <method selector='validateForUpdate:'>
-      <retval type='B' />
-      <arg index='0' type_modifier='o' />
-    </method>
-    <method selector='validateValue:forKey:error:'>
-      <retval type='B' />
-      <arg index='0' type_modifier='N' />
-      <arg index='2' type_modifier='o' />
-    </method>
-  </class>
-  <class name='NSManagedObjectContext'>
-    <method selector='existingObjectWithID:error:'>
-      <arg index='1' type_modifier='o' />
-    </method>
-    <method selector='countForFetchRequest:error:'>
-      <arg index='1' type_modifier='o' />
-    </method>
-    <method selector='executeFetchRequest:error:'>
-      <arg index='1' type_modifier='o' />
-    </method>
-    <method selector='hasChanges'>
-      <retval type='B' />
-    </method>
-    <method selector='observeValueForKeyPath:ofObject:change:context:'>
-      <arg index='3' type='^v' />
-    </method>
-    <method selector='obtainPermanentIDsForObjects:error:'>
-      <retval type='B' />
-      <arg index='1' type_modifier='o' />
-    </method>
-    <method selector='propagatesDeletesAtEndOfEvent'>
-      <retval type='B' />
-    </method>
-    <method selector='refreshObject:mergeChanges:'>
-      <arg index='1' type='B' />
-    </method>
-    <method selector='retainsRegisteredObjects'>
-      <retval type='B' />
-    </method>
-    <method selector='save:'>
-      <retval type='B' />
-      <arg index='0' type_modifier='o' />
-    </method>
-    <method selector='setPropagatesDeletesAtEndOfEvent:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='setRetainsRegisteredObjects:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='tryLock'>
-      <retval type='B' />
-    </method>
-  </class>
-  <class name='NSManagedObjectID'>
-    <method selector='isTemporaryID'>
-      <retval type='B' />
-    </method>
-  </class>
-  <class name='NSManagedObjectModel'>
-    <method selector='isConfiguration:compatibleWithStoreMetadata:'>
-      <retval type='B' />
-    </method>
-  </class>
-  <class name='NSMigrationManager'>
-    <method selector='migrateStoreFromURL:type:options:withMappingModel:toDestinationURL:destinationType:destinationOptions:error:'>
-      <retval type='B' />
-      <arg index='7' type_modifier='o' />
-    </method>
-  </class>
-  <class name='NSPersistentStore'>
-    <method selector='loadMetadata'>
-      <retval type='B'/>
-    </method>
-    <method selector='loadMetadata:'>
-      <retval type='B'/>
-      <arg index='0' type_modifier='o' />
-    </method>
-    <method selector='isReadOnly'>
-      <retval type='B' />
-    </method>
-    <method class_method='true' selector='metadataForPersistentStoreWithURL:error:'>
-      <arg index='1' type_modifier='o' />
-    </method>
-    <method class_method='true' selector='setMetadata:forPersistentStoreWithURL:error:'>
-      <retval type='B' />
-      <arg index='2' type_modifier='o' />
-    </method>
-    <method selector='setReadOnly:'>
-      <arg index='0' type='B' />
-    </method>
-  </class>
-  <class name='NSPersistentStoreCoordinator'>
-    <method selector='addPersistentStoreWithType:configuration:URL:options:error:'>
-      <arg index='4' type_modifier='o' />
-    </method>
-    <method class_method='true' selector='metadataForPersistentStoreOfType:URL:error:'>
-      <arg index='2' type_modifier='o' />
-    </method>
-    <method class_method='true' selector='metadataForPersistentStoreWithURL:error:'>
-      <arg index='1' type_modifier='o' />
-    </method>
-    <method selector='migratePersistentStore:toURL:options:withType:error:'>
-      <arg index='4' type_modifier='o' />
-    </method>
-    <method selector='removePersistentStore:error:'>
-      <retval type='B' />
-      <arg index='1' type_modifier='o' />
-    </method>
-    <method class_method='true' selector='setMetadata:forPersistentStoreOfType:URL:error:'>
-      <retval type='B' />
-      <arg index='3' type_modifier='o' />
-    </method>
-    <method selector='setURL:forPersistentStore:'>
-      <retval type='B' />
-    </method>
-    <method selector='tryLock'>
-      <retval type='B' />
-    </method>
-    <method selector='importStoreWithIdentifier:fromExternalRecordsDirectory:toURL:options:withType:error:'>
-	    <arg index='5' type_modifier='o' />
-    </method>
-  </class>
-  <class name='NSPropertyDescription'>
-    <method selector='isIndexed'>
-      <retval type='B' />
-    </method>
-    <method selector='isOptional'>
-      <retval type='B' />
-    </method>
-    <method selector='isTransient'>
-      <retval type='B' />
-    </method>
-    <method selector='setIndexed:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='setOptional:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='setTransient:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='isIndexedBySpotlight'>
-      <retval type='B' />
-    </method>
-    <method selector='setIndexedBySpotlight:'>
-      <arg index='0' type='B' />
-    </method>
-    <method selector='isStoredInExternalRecord'>
-      <retval type='B' />
-    </method>
-    <method selector='setStoredInExternalRecord:'>
-      <arg index='0' type='B' />
-    </method>
-  </class>
-  <class name='NSRelationshipDescription'>
-    <method selector='isToMany'>
-      <retval type='B' />
-    </method>
-  </class>
-  <class name='NSMappingModel'>
-    <method class_method='true' selector='inferredMappingModelForSourceModel:destinationModel:error:'>
-      <arg index='2' type_modifier='o' />
-    </method>
-  </class>
-</signatures>

pyobjc-framework-CoreData/Lib/CoreData/__init__.py

 documentation for details on how to use these functions and classes. 
 '''
 
-import objc as _objc
-from Foundation import *
+import sys
+import objc
+import Foundation
 
-__bundle__ = _objc.initFrameworkWrapper("CoreData",
-    frameworkIdentifier="com.apple.CoreData",
-    frameworkPath=_objc.pathForFramework(
-        "/System/Library/Frameworks/CoreData.framework"),
-    globals=globals())
+from CoreData import _metadata
+import CoreData._convenience
 
-import CoreData._convenience
+sys.modules['CoreData'] = objc.ObjCLazyModule(
+    "CoreData", "com.apple.CoreData",
+    objc.pathForFramework("/System/Library/Frameworks/CoreData.framework"),
+    _metadata.__dict__, None, {
+        '__doc__': __doc__,
+        '__path__': __path__,
+        'objc': objc
+    }, (Foundation,))
+

pyobjc-framework-CoreData/Lib/CoreData/_metadata.py

+# Generated file, don't edit
+# Source: BridgeSupport/CoreData.bridgesupport
+# Last update: Mon Jul 18 19:22:14 2011
+
+import objc, sys
+
+if sys.maxint > 2 ** 32:
+    def sel32or64(a, b): return b
+else:
+    def sel32or64(a, b): return a
+if sys.byteorder == 'little':
+    def littleOrBig(a, b): return a
+else:
+    def littleOrBig(a, b): return b
+
+misc = {
+}
+constants = '''$NSPersistentStoreCoordinatorWillRemoveStoreNotification$NSManagedObjectContextWillSaveNotification$NSSQLiteAnalyzeOption$NSSQLiteManualVacuumOption$NSInferMappingModelAutomaticallyOption$NSXMLExternalRecordType$NSBinaryExternalRecordType$NSExternalRecordsFileFormatOption$NSExternalRecordsDirectoryOption$NSExternalRecordExtensionOption$NSEntityNameInPathKey$NSStoreUUIDInPathKey$NSStorePathKey$NSModelPathKey$NSObjectURIKey$NSAddedPersistentStoresKey$NSAffectedObjectsErrorKey$NSAffectedStoresErrorKey$NSBinaryStoreType$NSCoreDataVersionNumber@d$NSDeletedObjectsKey$NSDetailedErrorsKey$NSErrorMergePolicy$NSIgnorePersistentStoreVersioningOption$NSInMemoryStoreType$NSInsertedObjectsKey$NSInvalidatedAllObjectsKey$NSInvalidatedObjectsKey$NSManagedObjectContextDidSaveNotification$NSManagedObjectContextObjectsDidChangeNotification$NSMergeByPropertyObjectTrumpMergePolicy$NSMergeByPropertyStoreTrumpMergePolicy$NSMigratePersistentStoresAutomaticallyOption$NSMigrationDestinationObjectKey$NSMigrationEntityMappingKey$NSMigrationManagerKey$NSMigrationPropertyMappingKey$NSMigrationSourceObjectKey$NSOverwriteMergePolicy$NSPersistentStoreCoordinatorStoresDidChangeNotification$NSPersistentStoreOSCompatibility$NSPersistentStoreTimeoutOption$NSReadOnlyPersistentStoreOption$NSRefreshedObjectsKey$NSRemovedPersistentStoresKey$NSRollbackMergePolicy$NSSQLiteErrorDomain$NSSQLitePragmasOption$NSSQLiteStoreType$NSStoreModelVersionHashesKey$NSStoreModelVersionIdentifiersKey$NSStoreTypeKey$NSStoreUUIDKey$NSUUIDChangedPersistentStoresKey$NSUpdatedObjectsKey$NSValidateXMLStoreOption$NSValidationKeyErrorKey$NSValidationObjectErrorKey$NSValidationPredicateErrorKey$NSValidationValueErrorKey$NSXMLStoreType$'''
+enums = '''$NSDictionaryResultType@2$NSAddEntityMappingType@2$NSBinaryDataAttributeType@1000$NSBooleanAttributeType@800$NSCascadeDeleteRule@2$NSCopyEntityMappingType@4$NSCoreDataError@134060$NSCoreDataVersionNumber10_4@46.0$NSCoreDataVersionNumber10_4_3@77.0$NSCoreDataVersionNumber10_5@185.0$NSCoreDataVersionNumber10_5_3@186.0$NSInferredMappingModelError@134190$NSExternalRecordImportError@134200$NSCustomEntityMappingType@1$NSDateAttributeType@900$NSDecimalAttributeType@400$NSDenyDeleteRule@3$NSDoubleAttributeType@500$NSEntityMigrationPolicyError@134170$NSFetchRequestExpressionType@50$NSFloatAttributeType@600$NSInteger16AttributeType@100$NSInteger32AttributeType@200$NSInteger64AttributeType@300$NSManagedObjectContextLockingError@132000$NSManagedObjectExternalRelationshipError@133010$NSManagedObjectIDResultType@1$NSManagedObjectMergeError@133020$NSManagedObjectReferentialIntegrityError@133000$NSManagedObjectResultType@0$NSManagedObjectValidationError@1550$NSMigrationCancelledError@134120$NSMigrationError@134110$NSMigrationManagerDestinationStoreError@134160$NSMigrationManagerSourceStoreError@134150$NSMigrationMissingMappingModelError@134140$NSMigrationMissingSourceModelError@134130$NSNoActionDeleteRule@0$NSNullifyDeleteRule@1$NSPersistentStoreCoordinatorLockingError@132010$NSPersistentStoreIncompatibleSchemaError@134020$NSPersistentStoreIncompatibleVersionHashError@134100$NSPersistentStoreIncompleteSaveError@134040$NSPersistentStoreInvalidTypeError@134000$NSPersistentStoreOpenError@134080$NSPersistentStoreOperationError@134070$NSPersistentStoreSaveError@134030$NSPersistentStoreTimeoutError@134090$NSPersistentStoreTypeMismatchError@134010$NSRemoveEntityMappingType@3$NSSQLiteError@134180$NSStringAttributeType@700$NSTransformEntityMappingType@5$NSTransformableAttributeType@1800$NSObjectIDAttributeType@2000$NSUndefinedAttributeType@0$NSUndefinedEntityMappingType@0$NSValidationDateTooLateError@1630$NSValidationDateTooSoonError@1640$NSValidationInvalidDateError@1650$NSValidationMissingMandatoryPropertyError@1570$NSValidationMultipleErrorsError@1560$NSValidationNumberTooLargeError@1610$NSValidationNumberTooSmallError@1620$NSValidationRelationshipDeniedDeleteError@1600$NSValidationRelationshipExceedsMaximumCountError@1590$NSValidationRelationshipLacksMinimumCountError@1580$NSValidationStringPatternMatchingError@1680$NSValidationStringTooLongError@1660$NSValidationStringTooShortError@1670$NSSnapshotEventUndoInsertion@2$NSSnapshotEventUndoDeletion@4$NSSnapshotEventUndoUpdate@8$NSSnapshotEventRollback@16$NSSnapshotEventRefresh@32$NSSnapshotEventMergePolicy@64$'''
+misc.update({})
+functions = {}
+cftypes = []
+r = objc.registerMetaDataForSelector
+objc._updatingMetadata(True)
+try:
+    pass
+    r('NSAtomicStore', b'load:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
+    r('NSAtomicStore', b'save:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
+    r('NSEntityDescription', b'isAbstract', {'retval': {'type': b'Z'}})
+    r('NSEntityDescription', b'isKindOfEntity:', {'retval': {'type': b'Z'}})
+    r('NSEntityDescription', b'setAbstract:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSEntityMigrationPolicy', b'beginEntityMapping:manager:error:', {'retval': {'type': b'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
+    r('NSEntityMigrationPolicy', b'createDestinationInstancesForSourceInstance:entityMapping:manager:error:', {'retval': {'type': b'Z'}, 'arguments': {5: {'type_modifier': b'o'}}})
+    r('NSEntityMigrationPolicy', b'createRelationshipsForDestinationInstance:entityMapping:manager:error:', {'retval': {'type': b'Z'}, 'arguments': {5: {'type_modifier': b'o'}}})
+    r('NSEntityMigrationPolicy', b'endEntityMapping:manager:error:', {'retval': {'type': b'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
+    r('NSEntityMigrationPolicy', b'endInstanceCreationForEntityMapping:manager:error:', {'retval': {'type': b'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
+    r('NSEntityMigrationPolicy', b'endRelationshipCreationForEntityMapping:manager:error:', {'retval': {'type': b'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
+    r('NSEntityMigrationPolicy', b'performCustomValidationForEntityMapping:manager:error:', {'retval': {'type': b'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
+    r('NSFetchRequest', b'includesPendingChanges', {'retval': {'type': b'Z'}})
+    r('NSFetchRequest', b'setIncludesPendingChanges:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSFetchRequest', b'returnsDistinctResults', {'retval': {'type': b'Z'}})
+    r('NSFetchRequest', b'setReturnsDistinctResults:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSFetchRequest', b'includesPropertyValues', {'retval': {'type': b'Z'}})
+    r('NSFetchRequest', b'includesSubentities', {'retval': {'type': b'Z'}})
+    r('NSFetchRequest', b'returnsObjectsAsFaults', {'retval': {'type': b'Z'}})
+    r('NSFetchRequest', b'setIncludesPropertyValues:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSFetchRequest', b'setIncludesSubentities:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSFetchRequest', b'setReturnsObjectsAsFaults:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSFetchRequestExpression', b'expressionForFetch:context:countOnly:', {'arguments': {4: {'type': b'Z'}}})
+    r('NSFetchRequestExpression', b'isCountOnlyRequest', {'retval': {'type': b'Z'}})
+    r('NSManagedObject', b'contextShouldIgnoreUnmodeledPropertyChanges', {'retval': {'type': b'Z'}})
+    r('NSManagedObject', b'hasFaultForRelationshipNamed:', {'retval': {'type': b'Z'}})
+    r('NSManagedObject', b'isDeleted', {'retval': {'type': b'Z'}})
+    r('NSManagedObject', b'isFault', {'retval': {'type': b'Z'}})
+    r('NSManagedObject', b'isInserted', {'retval': {'type': b'Z'}})
+    r('NSManagedObject', b'isUpdated', {'retval': {'type': b'Z'}})
+    r('NSManagedObject', b'observationInfo', {'retval': {'type': b'^v'}})
+    r('NSManagedObject', b'setObservationInfo:', {'arguments': {2: {'type': b'^v'}}})
+    r('NSManagedObject', b'validateForDelete:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
+    r('NSManagedObject', b'validateForInsert:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
+    r('NSManagedObject', b'validateForUpdate:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
+    r('NSManagedObject', b'validateValue:forKey:error:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'N'}, 4: {'type_modifier': b'o'}}})
+    r('NSManagedObjectContext', b'existingObjectWithID:error:', {'arguments': {3: {'type_modifier': b'o'}}})
+    r('NSManagedObjectContext', b'countForFetchRequest:error:', {'arguments': {3: {'type_modifier': b'o'}}})
+    r('NSManagedObjectContext', b'executeFetchRequest:error:', {'arguments': {3: {'type_modifier': b'o'}}})
+    r('NSManagedObjectContext', b'hasChanges', {'retval': {'type': b'Z'}})
+    r('NSManagedObjectContext', b'observeValueForKeyPath:ofObject:change:context:', {'arguments': {5: {'type': b'^v'}}})
+    r('NSManagedObjectContext', b'obtainPermanentIDsForObjects:error:', {'retval': {'type': b'Z'}, 'arguments': {3: {'type_modifier': b'o'}}})
+    r('NSManagedObjectContext', b'propagatesDeletesAtEndOfEvent', {'retval': {'type': b'Z'}})
+    r('NSManagedObjectContext', b'refreshObject:mergeChanges:', {'arguments': {3: {'type': b'Z'}}})
+    r('NSManagedObjectContext', b'retainsRegisteredObjects', {'retval': {'type': b'Z'}})
+    r('NSManagedObjectContext', b'save:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
+    r('NSManagedObjectContext', b'setPropagatesDeletesAtEndOfEvent:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSManagedObjectContext', b'setRetainsRegisteredObjects:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSManagedObjectContext', b'tryLock', {'retval': {'type': b'Z'}})
+    r('NSManagedObjectID', b'isTemporaryID', {'retval': {'type': b'Z'}})
+    r('NSManagedObjectModel', b'isConfiguration:compatibleWithStoreMetadata:', {'retval': {'type': b'Z'}})
+    r('NSMigrationManager', b'migrateStoreFromURL:type:options:withMappingModel:toDestinationURL:destinationType:destinationOptions:error:', {'retval': {'type': b'Z'}, 'arguments': {9: {'type_modifier': b'o'}}})
+    r('NSPersistentStore', b'loadMetadata', {'retval': {'type': b'Z'}})
+    r('NSPersistentStore', b'loadMetadata:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
+    r('NSPersistentStore', b'isReadOnly', {'retval': {'type': b'Z'}})
+    r('NSPersistentStore', b'metadataForPersistentStoreWithURL:error:', {'arguments': {3: {'type_modifier': b'o'}}})
+    r('NSPersistentStore', b'setMetadata:forPersistentStoreWithURL:error:', {'retval': {'type': b'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
+    r('NSPersistentStore', b'setReadOnly:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSPersistentStoreCoordinator', b'addPersistentStoreWithType:configuration:URL:options:error:', {'arguments': {6: {'type_modifier': b'o'}}})
+    r('NSPersistentStoreCoordinator', b'metadataForPersistentStoreOfType:URL:error:', {'arguments': {4: {'type_modifier': b'o'}}})
+    r('NSPersistentStoreCoordinator', b'metadataForPersistentStoreWithURL:error:', {'arguments': {3: {'type_modifier': b'o'}}})
+    r('NSPersistentStoreCoordinator', b'migratePersistentStore:toURL:options:withType:error:', {'arguments': {6: {'type_modifier': b'o'}}})
+    r('NSPersistentStoreCoordinator', b'removePersistentStore:error:', {'retval': {'type': b'Z'}, 'arguments': {3: {'type_modifier': b'o'}}})
+    r('NSPersistentStoreCoordinator', b'setMetadata:forPersistentStoreOfType:URL:error:', {'retval': {'type': b'Z'}, 'arguments': {5: {'type_modifier': b'o'}}})
+    r('NSPersistentStoreCoordinator', b'setURL:forPersistentStore:', {'retval': {'type': b'Z'}})
+    r('NSPersistentStoreCoordinator', b'tryLock', {'retval': {'type': b'Z'}})
+    r('NSPersistentStoreCoordinator', b'importStoreWithIdentifier:fromExternalRecordsDirectory:toURL:options:withType:error:', {'arguments': {7: {'type_modifier': b'o'}}})
+    r('NSPropertyDescription', b'isIndexed', {'retval': {'type': b'Z'}})
+    r('NSPropertyDescription', b'isOptional', {'retval': {'type': b'Z'}})
+    r('NSPropertyDescription', b'isTransient', {'retval': {'type': b'Z'}})
+    r('NSPropertyDescription', b'setIndexed:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSPropertyDescription', b'setOptional:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSPropertyDescription', b'setTransient:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSPropertyDescription', b'isIndexedBySpotlight', {'retval': {'type': b'Z'}})
+    r('NSPropertyDescription', b'setIndexedBySpotlight:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSPropertyDescription', b'isStoredInExternalRecord', {'retval': {'type': b'Z'}})
+    r('NSPropertyDescription', b'setStoredInExternalRecord:', {'arguments': {2: {'type': b'Z'}}})
+    r('NSRelationshipDescription', b'isToMany', {'retval': {'type': b'Z'}})
+    r('NSMappingModel', b'inferredMappingModelForSourceModel:destinationModel:error:', {'arguments': {4: {'type_modifier': b'o'}}})
+finally:
+    objc._updatingMetadata(False)

pyobjc-framework-CoreData/PyObjCTest/test_nsmanagedobject.py

 
 class TestNSManagedObject (TestCase):
     def testMethods(self):
-        o = NSManagedObject.alloc().init()
+        descr = NSEntityDescription.alloc().init()
+        descr.setName_(u'Name')
+        o = NSManagedObject.alloc().initWithEntity_insertIntoManagedObjectContext_(descr, None)
+
         self.assertResultIsBOOL(o.isInserted)
         self.assertResultIsBOOL(o.isUpdated)
         self.assertResultIsBOOL(o.isDeleted)