1# This file is generated by objective.metadata
2#
3# Last update: Wed Sep 19 16:07:23 2012
4
5import objc, sys
6
7if sys.maxsize > 2 ** 32:
8    def sel32or64(a, b): return b
9else:
10    def sel32or64(a, b): return a
11if sys.byteorder == 'little':
12    def littleOrBig(a, b): return a
13else:
14    def littleOrBig(a, b): return b
15
16misc = {
17}
18constants = '''$NSAddedPersistentStoresKey$NSAffectedObjectsErrorKey$NSAffectedStoresErrorKey$NSBinaryExternalRecordType$NSBinaryStoreType$NSCoreDataVersionNumber@d$NSDeletedObjectsKey$NSDetailedErrorsKey$NSEntityNameInPathKey$NSErrorMergePolicy$NSExternalRecordExtensionOption$NSExternalRecordsDirectoryOption$NSExternalRecordsFileFormatOption$NSIgnorePersistentStoreVersioningOption$NSInMemoryStoreType$NSInferMappingModelAutomaticallyOption$NSInsertedObjectsKey$NSInvalidatedAllObjectsKey$NSInvalidatedObjectsKey$NSManagedObjectContextDidSaveNotification$NSManagedObjectContextObjectsDidChangeNotification$NSManagedObjectContextWillSaveNotification$NSMergeByPropertyObjectTrumpMergePolicy$NSMergeByPropertyStoreTrumpMergePolicy$NSMigratePersistentStoresAutomaticallyOption$NSMigrationDestinationObjectKey$NSMigrationEntityMappingKey$NSMigrationEntityPolicyKey$NSMigrationManagerKey$NSMigrationPropertyMappingKey$NSMigrationSourceObjectKey$NSModelPathKey$NSObjectURIKey$NSOverwriteMergePolicy$NSPersistentStoreCoordinatorStoresDidChangeNotification$NSPersistentStoreCoordinatorWillRemoveStoreNotification$NSPersistentStoreDidImportUbiquitousContentChangesNotification$NSPersistentStoreOSCompatibility$NSPersistentStoreSaveConflictsErrorKey$NSPersistentStoreTimeoutOption$NSPersistentStoreUbiquitousContentNameKey$NSPersistentStoreUbiquitousContentURLKey$NSReadOnlyPersistentStoreOption$NSRefreshedObjectsKey$NSRemovedPersistentStoresKey$NSRollbackMergePolicy$NSSQLiteAnalyzeOption$NSSQLiteErrorDomain$NSSQLiteManualVacuumOption$NSSQLitePragmasOption$NSSQLiteStoreType$NSStoreModelVersionHashesKey$NSStoreModelVersionIdentifiersKey$NSStorePathKey$NSStoreTypeKey$NSStoreUUIDInPathKey$NSStoreUUIDKey$NSUUIDChangedPersistentStoresKey$NSUpdatedObjectsKey$NSValidateXMLStoreOption$NSValidationKeyErrorKey$NSValidationObjectErrorKey$NSValidationPredicateErrorKey$NSValidationValueErrorKey$NSXMLExternalRecordType$NSXMLStoreType$'''
19enums = '''$NSAddEntityMappingType@2$NSBinaryDataAttributeType@1000$NSBooleanAttributeType@800$NSCascadeDeleteRule@2$NSConfinementConcurrencyType@0$NSCopyEntityMappingType@4$NSCoreDataError@134060$NSCountResultType@4$NSCustomEntityMappingType@1$NSDateAttributeType@900$NSDecimalAttributeType@400$NSDenyDeleteRule@3$NSDictionaryResultType@2$NSDoubleAttributeType@500$NSEntityMigrationPolicyError@134170$NSErrorMergePolicyType@0$NSExternalRecordImportError@134200$NSFetchRequestExpressionType@50$NSFetchRequestType@1$NSFloatAttributeType@600$NSInferredMappingModelError@134190$NSInteger16AttributeType@100$NSInteger32AttributeType@200$NSInteger64AttributeType@300$NSMainQueueConcurrencyType@2$NSManagedObjectContextLockingError@132000$NSManagedObjectExternalRelationshipError@133010$NSManagedObjectIDResultType@1$NSManagedObjectMergeError@133020$NSManagedObjectReferentialIntegrityError@133000$NSManagedObjectResultType@0$NSManagedObjectValidationError@1550$NSMergeByPropertyObjectTrumpMergePolicyType@2$NSMergeByPropertyStoreTrumpMergePolicyType@1$NSMigrationCancelledError@134120$NSMigrationError@134110$NSMigrationManagerDestinationStoreError@134160$NSMigrationManagerSourceStoreError@134150$NSMigrationMissingMappingModelError@134140$NSMigrationMissingSourceModelError@134130$NSNoActionDeleteRule@0$NSNullifyDeleteRule@1$NSObjectIDAttributeType@2000$NSOverwriteMergePolicyType@3$NSPersistentStoreCoordinatorLockingError@132010$NSPersistentStoreIncompatibleSchemaError@134020$NSPersistentStoreIncompatibleVersionHashError@134100$NSPersistentStoreIncompleteSaveError@134040$NSPersistentStoreInvalidTypeError@134000$NSPersistentStoreOpenError@134080$NSPersistentStoreOperationError@134070$NSPersistentStoreSaveConflictsError@134050$NSPersistentStoreSaveError@134030$NSPersistentStoreTimeoutError@134090$NSPersistentStoreTypeMismatchError@134010$NSPersistentStoreUnsupportedRequestTypeError@134091$NSPrivateQueueConcurrencyType@1$NSRemoveEntityMappingType@3$NSRollbackMergePolicyType@4$NSSQLiteError@134180$NSSaveRequestType@2$NSSnapshotEventMergePolicy@64$NSSnapshotEventRefresh@32$NSSnapshotEventRollback@16$NSSnapshotEventUndoDeletion@4$NSSnapshotEventUndoInsertion@2$NSSnapshotEventUndoUpdate@8$NSStringAttributeType@700$NSTransformEntityMappingType@5$NSTransformableAttributeType@1800$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$'''
20misc.update({'NSCoreDataVersionNumber_iPhoneOS_3_0': 241.0, 'NSCoreDataVersionNumber_iPhoneOS_3_1': 248.0, 'NSCoreDataVersionNumber_iPhoneOS_3_2': 310.2, 'NSCoreDataVersionNumber_iPhoneOS_4_2': 320.15, 'NSCoreDataVersionNumber10_7_2': 358.12, 'NSCoreDataVersionNumber10_7_3': 358.13, 'NSCoreDataVersionNumber_iPhoneOS_5_0': 386.1, 'NSCoreDataVersionNumber_iPhoneOS_5_1': 386.5, 'NSCoreDataVersionNumber10_6_3': 251.0, 'NSCoreDataVersionNumber10_6_2': 250.0, 'NSCoreDataVersionNumber_iPhoneOS_4_1': 320.11, 'NSCoreDataVersionNumber_iPhoneOS_4_0': 320.5, 'NSCoreDataVersionNumber10_4': 46.0, 'NSCoreDataVersionNumber10_5_3': 186.0, 'NSCoreDataVersionNumber_iPhoneOS_4_3': 320.17, 'NSCoreDataVersionNumber10_6': 246.0, 'NSCoreDataVersionNumber10_7': 358.4, 'NSCoreDataVersionNumber10_4_3': 77.0, 'NSCoreDataVersionNumber10_5': 185.0})
21aliases = {'COREDATA_PRIVATE_EXTERN': '__private_extern__'}
22r = objc.registerMetaDataForSelector
23objc._updatingMetadata(True)
24try:
25    r(b'NSAtomicStore', b'load:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
26    r(b'NSAtomicStore', b'save:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
27    r(b'NSAttributeDescription', b'allowsExternalBinaryDataStorage', {'retval': {'type': b'Z'}})
28    r(b'NSAttributeDescription', b'setAllowsExternalBinaryDataStorage:', {'arguments': {2: {'type': b'Z'}}})
29    r(b'NSEntityDescription', b'isAbstract', {'retval': {'type': 'Z'}})
30    r(b'NSEntityDescription', b'isKindOfEntity:', {'retval': {'type': 'Z'}})
31    r(b'NSEntityDescription', b'setAbstract:', {'arguments': {2: {'type': 'Z'}}})
32    r(b'NSEntityMigrationPolicy', b'beginEntityMapping:manager:error:', {'retval': {'type': 'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
33    r(b'NSEntityMigrationPolicy', b'createDestinationInstancesForSourceInstance:entityMapping:manager:error:', {'retval': {'type': 'Z'}, 'arguments': {5: {'type_modifier': b'o'}}})
34    r(b'NSEntityMigrationPolicy', b'createRelationshipsForDestinationInstance:entityMapping:manager:error:', {'retval': {'type': 'Z'}, 'arguments': {5: {'type_modifier': b'o'}}})
35    r(b'NSEntityMigrationPolicy', b'endEntityMapping:manager:error:', {'retval': {'type': 'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
36    r(b'NSEntityMigrationPolicy', b'endInstanceCreationForEntityMapping:manager:error:', {'retval': {'type': 'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
37    r(b'NSEntityMigrationPolicy', b'endRelationshipCreationForEntityMapping:manager:error:', {'retval': {'type': 'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
38    r(b'NSEntityMigrationPolicy', b'performCustomValidationForEntityMapping:manager:error:', {'retval': {'type': 'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
39    r(b'NSFetchRequest', b'includesPendingChanges', {'retval': {'type': 'Z'}})
40    r(b'NSFetchRequest', b'includesPropertyValues', {'retval': {'type': 'Z'}})
41    r(b'NSFetchRequest', b'includesSubentities', {'retval': {'type': 'Z'}})
42    r(b'NSFetchRequest', b'returnsDistinctResults', {'retval': {'type': 'Z'}})
43    r(b'NSFetchRequest', b'returnsObjectsAsFaults', {'retval': {'type': 'Z'}})
44    r(b'NSFetchRequest', b'setIncludesPendingChanges:', {'arguments': {2: {'type': 'Z'}}})
45    r(b'NSFetchRequest', b'setIncludesPropertyValues:', {'arguments': {2: {'type': 'Z'}}})
46    r(b'NSFetchRequest', b'setIncludesSubentities:', {'arguments': {2: {'type': 'Z'}}})
47    r(b'NSFetchRequest', b'setReturnsDistinctResults:', {'arguments': {2: {'type': 'Z'}}})
48    r(b'NSFetchRequest', b'setReturnsObjectsAsFaults:', {'arguments': {2: {'type': 'Z'}}})
49    r(b'NSFetchRequest', b'setShouldRefreshRefetchedObjects:', {'arguments': {2: {'type': b'Z'}}})
50    r(b'NSFetchRequest', b'shouldRefreshRefetchedObjects', {'retval': {'type': b'Z'}})
51    r(b'NSFetchRequestExpression', b'expressionForFetch:context:countOnly:', {'arguments': {4: {'type': 'Z'}}})
52    r(b'NSFetchRequestExpression', b'isCountOnlyRequest', {'retval': {'type': 'Z'}})
53    r(b'NSIncrementalStore', b'executeRequest:withContext:error:', {'arguments': {4: {'type_modifier': b'o'}}})
54    r(b'NSIncrementalStore', b'loadMetadata:', {'retval': {'type': b'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
55    r(b'NSIncrementalStore', b'newValueForRelationship:forObjectWithID:withContext:error:', {'arguments': {5: {'type_modifier': b'o'}}})
56    r(b'NSIncrementalStore', b'newValuesForObjectWithID:withContext:error:', {'arguments': {4: {'type_modifier': b'o'}}})
57    r(b'NSIncrementalStore', b'obtainPermanentIDsForObjects:error:', {'arguments': {3: {'type_modifier': b'o'}}})
58    r(b'NSManagedObject', b'contextShouldIgnoreUnmodeledPropertyChanges', {'retval': {'type': 'Z'}})
59    r(b'NSManagedObject', b'hasChanges', {'retval': {'type': b'Z'}})
60    r(b'NSManagedObject', b'hasFaultForRelationshipNamed:', {'retval': {'type': 'Z'}})
61    r(b'NSManagedObject', b'isDeleted', {'retval': {'type': 'Z'}})
62    r(b'NSManagedObject', b'isFault', {'retval': {'type': 'Z'}})
63    r(b'NSManagedObject', b'isInserted', {'retval': {'type': 'Z'}})
64    r(b'NSManagedObject', b'isUpdated', {'retval': {'type': 'Z'}})
65    r(b'NSManagedObject', b'observationInfo', {'retval': {'type': '^v'}})
66    r(b'NSManagedObject', b'setObservationInfo:', {'arguments': {2: {'type': '^v'}}})
67    r(b'NSManagedObject', b'validateForDelete:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
68    r(b'NSManagedObject', b'validateForInsert:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
69    r(b'NSManagedObject', b'validateForUpdate:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
70    r(b'NSManagedObject', b'validateValue:forKey:error:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'N'}, 4: {'type_modifier': b'o'}}})
71    r(b'NSManagedObjectContext', b'countForFetchRequest:error:', {'arguments': {3: {'type_modifier': b'o'}}})
72    r(b'NSManagedObjectContext', b'executeFetchRequest:error:', {'arguments': {3: {'type_modifier': b'o'}}})
73    r(b'NSManagedObjectContext', b'existingObjectWithID:error:', {'arguments': {3: {'type_modifier': b'o'}}})
74    r(b'NSManagedObjectContext', b'hasChanges', {'retval': {'type': 'Z'}})
75    r(b'NSManagedObjectContext', b'observeValueForKeyPath:ofObject:change:context:', {'arguments': {5: {'type': '^v'}}})
76    r(b'NSManagedObjectContext', b'obtainPermanentIDsForObjects:error:', {'retval': {'type': 'Z'}, 'arguments': {3: {'type_modifier': b'o'}}})
77    r(b'NSManagedObjectContext', b'performBlock:', {'arguments': {2: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}}}}}})
78    r(b'NSManagedObjectContext', b'performBlockAndWait:', {'arguments': {2: {'callable': {'retval': {'type': b'v'}, 'arguments': {0: {'type': b'^v'}}}}}})
79    r(b'NSManagedObjectContext', b'propagatesDeletesAtEndOfEvent', {'retval': {'type': 'Z'}})
80    r(b'NSManagedObjectContext', b'refreshObject:mergeChanges:', {'arguments': {3: {'type': 'Z'}}})
81    r(b'NSManagedObjectContext', b'retainsRegisteredObjects', {'retval': {'type': 'Z'}})
82    r(b'NSManagedObjectContext', b'save:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
83    r(b'NSManagedObjectContext', b'setPropagatesDeletesAtEndOfEvent:', {'arguments': {2: {'type': 'Z'}}})
84    r(b'NSManagedObjectContext', b'setRetainsRegisteredObjects:', {'arguments': {2: {'type': 'Z'}}})
85    r(b'NSManagedObjectContext', b'tryLock', {'retval': {'type': 'Z'}})
86    r(b'NSManagedObjectID', b'isTemporaryID', {'retval': {'type': 'Z'}})
87    r(b'NSManagedObjectModel', b'isConfiguration:compatibleWithStoreMetadata:', {'retval': {'type': 'Z'}})
88    r(b'NSMappingModel', b'inferredMappingModelForSourceModel:destinationModel:error:', {'arguments': {4: {'type_modifier': b'o'}}})
89    r(b'NSMergePolicy', b'resolveConflicts:error:', {'retval': {'type': b'Z'}, 'arguments': {3: {'type_modifier': b'o'}}})
90    r(b'NSMigrationManager', b'migrateStoreFromURL:type:options:withMappingModel:toDestinationURL:destinationType:destinationOptions:error:', {'retval': {'type': 'Z'}, 'arguments': {9: {'type_modifier': b'o'}}})
91    r(b'NSMigrationManager', b'setUsesStoreSpecificMigrationManager:', {'arguments': {2: {'type': b'Z'}}})
92    r(b'NSMigrationManager', b'usesStoreSpecificMigrationManager', {'retval': {'type': b'Z'}})
93    r(b'NSPersistentStore', b'isReadOnly', {'retval': {'type': 'Z'}})
94    r(b'NSPersistentStore', b'loadMetadata', {'retval': {'type': 'Z'}})
95    r(b'NSPersistentStore', b'loadMetadata:', {'retval': {'type': 'Z'}, 'arguments': {2: {'type_modifier': b'o'}}})
96    r(b'NSPersistentStore', b'metadataForPersistentStoreWithURL:error:', {'arguments': {3: {'type_modifier': b'o'}}})
97    r(b'NSPersistentStore', b'migrationManagerClass', {'retval': {'type_modifier': b'o'}})
98    r(b'NSPersistentStore', b'setMetadata:forPersistentStoreWithURL:error:', {'retval': {'type': 'Z'}, 'arguments': {4: {'type_modifier': b'o'}}})
99    r(b'NSPersistentStore', b'setReadOnly:', {'arguments': {2: {'type': 'Z'}}})
100    r(b'NSPersistentStoreCoordinator', b'addPersistentStoreWithType:configuration:URL:options:error:', {'arguments': {6: {'type_modifier': b'o'}}})
101    r(b'NSPersistentStoreCoordinator', b'executeRequest:withContext:error:', {'arguments': {4: {'type_modifier': b'o'}}})
102    r(b'NSPersistentStoreCoordinator', b'importStoreWithIdentifier:fromExternalRecordsDirectory:toURL:options:withType:error:', {'arguments': {7: {'type_modifier': b'o'}}})
103    r(b'NSPersistentStoreCoordinator', b'metadataForPersistentStoreOfType:URL:error:', {'arguments': {4: {'type_modifier': b'o'}}})
104    r(b'NSPersistentStoreCoordinator', b'metadataForPersistentStoreWithURL:error:', {'arguments': {3: {'type_modifier': b'o'}}})
105    r(b'NSPersistentStoreCoordinator', b'migratePersistentStore:toURL:options:withType:error:', {'arguments': {6: {'type_modifier': b'o'}}})
106    r(b'NSPersistentStoreCoordinator', b'removePersistentStore:error:', {'retval': {'type': 'Z'}, 'arguments': {3: {'type_modifier': b'o'}}})
107    r(b'NSPersistentStoreCoordinator', b'setMetadata:forPersistentStoreOfType:URL:error:', {'retval': {'type': 'Z'}, 'arguments': {5: {'type_modifier': b'o'}}})
108    r(b'NSPersistentStoreCoordinator', b'setURL:forPersistentStore:', {'retval': {'type': 'Z'}})
109    r(b'NSPersistentStoreCoordinator', b'tryLock', {'retval': {'type': 'Z'}})
110    r(b'NSPropertyDescription', b'isIndexed', {'retval': {'type': 'Z'}})
111    r(b'NSPropertyDescription', b'isIndexedBySpotlight', {'retval': {'type': 'Z'}})
112    r(b'NSPropertyDescription', b'isOptional', {'retval': {'type': 'Z'}})
113    r(b'NSPropertyDescription', b'isStoredInExternalRecord', {'retval': {'type': 'Z'}})
114    r(b'NSPropertyDescription', b'isTransient', {'retval': {'type': 'Z'}})
115    r(b'NSPropertyDescription', b'setIndexed:', {'arguments': {2: {'type': 'Z'}}})
116    r(b'NSPropertyDescription', b'setIndexedBySpotlight:', {'arguments': {2: {'type': 'Z'}}})
117    r(b'NSPropertyDescription', b'setOptional:', {'arguments': {2: {'type': 'Z'}}})
118    r(b'NSPropertyDescription', b'setStoredInExternalRecord:', {'arguments': {2: {'type': 'Z'}}})
119    r(b'NSPropertyDescription', b'setTransient:', {'arguments': {2: {'type': 'Z'}}})
120    r(b'NSRelationshipDescription', b'isOrdered', {'retval': {'type': b'Z'}})
121    r(b'NSRelationshipDescription', b'isToMany', {'retval': {'type': 'Z'}})
122    r(b'NSRelationshipDescription', b'setOrdered:', {'arguments': {2: {'type': b'Z'}}})
123finally:
124    objc._updatingMetadata(False)
125expressions = {}
126
127# END OF FILE
128