]> git.saurik.com Git - cycript.git/blame - Bridge.def
Temporarily remove MobileSubstrate extension.
[cycript.git] / Bridge.def
CommitLineData
88c977fa
JF
1C YES true
2C NO false
3C nil null
4
5l objc
6
7F class_addIvar B#*LC*
8F class_addMethod B#:^?*
9F class_addProtocol B#@
10F class_conformsToProtocol B#@
11F class_copyIvarList ^^{objc_ivar=}#^I
12F class_copyMethodList ^^{objc_method=}#^I
13F class_copyPropertyList ^^{objc_property=}#^I
14F class_copyProtocolList ^@#^I
15F class_createInstance @#L
16F class_getClassMethod ^{objc_method=}#:
17F class_getClassVariable ^{objc_ivar=}#*
18F class_getInstanceMethod ^{objc_method=}#:
19F class_getInstanceSize L#
20F class_getInstanceVariable ^{objc_ivar=}#*
21F class_getIvarLayout *#
22F class_getMethodImplementation ^?#:
23F class_getMethodImplementation_stret ^?#:
24F class_getName *#
25F class_getProperty ^{objc_property=}#*
26F class_getSuperclass ##
27F class_getVersion i#
28F class_getWeakIvarLayout *#
29F class_isMetaClass B#
30F class_replaceMethod ^?#:^?*
31F class_respondsToSelector B#:
32F class_setIvarLayout v#*
33F class_setSuperclass ###
34F class_setVersion v#i
35F class_setWeakIvarLayout v#*
36
37F ivar_getName *^{objc_ivar=}
38F ivar_getOffset i^{objc_ivar=}
39F ivar_getTypeEncoding *^{objc_ivar=}
40
41F method_copyArgumentType ^c^{objc_method=}I
42F method_copyReturnType ^c^{objc_method=}
43F method_exchangeImplementations v^{objc_method=}^{objc_method=}
44F method_getArgumentType v^{objc_method=}I^cL
45F method_getImplementation ^?^{objc_method=}
46F method_getName :^{objc_method=}
47F method_getNumberOfArguments I^{objc_method=}
48F method_getReturnType v^{objc_method=}^cL
49F method_getTypeEncoding *^{objc_method=}
50F method_setImplementation ^?^{objc_method=}^?
51
52F objc_allocateClassPair ##*L
53F objc_copyProtocolList ^@^I
54F objc_duplicateClass ##*L
55F objc_getClass #*
56F objc_getClassList i^#i
57F objc_getFutureClass #*
58F objc_getMetaClass @*
59F objc_getProtocol @*
60F objc_getRequiredClass @*
61F objc_lookUpClass @*
62F objc_registerClassPair v#
63F objc_setFutureClass v#*
64
65F object_copy @@L
66F object_dispose @@
67F object_getClass #@
68F object_getClassName *@
69F object_getIndexedIvars ^v@
70F object_getInstanceVariable ^{objc_ivar=}@*^^v
71F object_getIvar @@^{objc_ivar=}
72F object_setClass #@#
73F object_setInstanceVariable ^{objc_ivar=}@*^v
74F object_setIvar v@^{objc_ivar=}@
75
76F property_getAttributes *^{objc_property=}
77F property_getName *^{objc_property=}
78
79F protocol_conformsToProtocol B@@
80F protocol_copyMethodDescriptionList ^{objc_method_description=:*}@BB^I
81F protocol_copyPropertyList ^{objc_property=}@^I
82F protocol_copyProtocolList ^@@^I
83F protocol_getMethodDescription {objc_method_description=:*}@:BB
84F protocol_getName *@
85F protocol_getProperty ^{objc_property=}@*BB
86F protocol_isEqual B@@
87
88F sel_getName *:
89F sel_getUid :*
90F sel_isEqual B::
91F sel_registerName :*
92
93f UIKit
94
95F UIApplicationUseLegacyEvents vB
96
97F UIAccessibilityPostNotification vI@
98F UIApplicationMain ii^^c@@
99F UIGraphicsEndImageContext v
100F UIGraphicsGetCurrentContext @
101F UIGraphicsGetImageFromCurrentImageContext @
102F UIGraphicsPopContext v
103F UIGraphicsPushContext v@
104F UIImageJPEGRepresentation @@
105F UIImagePNGRepresentation @@
106F UIImageWriteToSavedPhotosAlbum v@@:^v
107
108F UIKeyboardDisableAutomaticAppearance v
109F UIKeyboardEnableAutomaticAppearance v
110F UIKeyboardInputModeUsesKBStar B@
111
112F _UIImageWithName @@
113
114F UIUnformattedPhoneNumberFromString @@
115
116V UIApp @
117
118V kUIButtonBarButtonAction @
119V kUIButtonBarButtonInfo @
120V kUIButtonBarButtonInfoOffset @
121V kUIButtonBarButtonSelectedInfo @
122V kUIButtonBarButtonSizeToFit @
123V kUIButtonBarButtonStyle @
124V kUIButtonBarButtonTag @
125V kUIButtonBarButtonTarget @
126V kUIButtonBarButtonTitle @
127V kUIButtonBarButtonTitleVerticalHeight @
128V kUIButtonBarButtonTitleWidth @
129V kUIButtonBarButtonType @
130
131V UIKeyboardAnimationCurveUserInfoKey @
132V UIKeyboardAnimationDurationUserInfoKey @
133V UIKeyboardBoundsUserInfoKey @
134V UIKeyboardCenterBeginUserInfoKey @
135V UIKeyboardCenterEndUserInfoKey @
136V UIKeyboardRequiresInternationalKey @
137
138V UIKeyboardCandidateCorrectionDidChangeNotification @
139V UIKeyboardCurrentInputModeDidChangeNotification @
140V UIKeyboardDefaultsDidChangeNotification @
141V UIKeyboardDidHideNotification @
142V UIKeyboardDidShowNotification @
143V UIKeyboardEmptyDelegateNotification @
144V UIKeyboardWillHideNotification @
145V UIKeyboardWillShowNotification @
146
147V UIWebViewDidReceiveMessageNotification @
148V UIWebViewDidClearMessagesNotification @
149V UIWebViewGrowsAndShrinksToFitHeight f
150V UIWebViewGrowsAndShrinksToFitWidth f
151V UIWebViewScalesToFitScale f
152
153f AddressBook
154
155F ABAddressBookAddRecord B@@^@
156F ABAddressBookCopyArrayOfAllGroups @@
157F ABAddressBookCopyArrayOfAllPeople @@
158F ABAddressBookCopyLocalizedLabel @@
159F ABAddressBookCreate @
160F ABAddressBookGetGroupCount l@
161F ABAddressBookGetPersonCount l@
162F ABAddressBookHasUnsavedChanges B@
163F ABAddressBookRegisterExternalChangeCallback v@^?^v
164F ABAddressBookRemoveRecord B@@^@
165F ABAddressBookRevert v@
166F ABAddressBookSave B@^@
167F ABAddressBookUnregisterExternalChangeCallback v@^?^v
168
169V ABAddressBookErrorDomain @
170C kABOperationNotPermittedByStoreError 0
171
172F ABMultiValueCopyArrayOfAllValues @@
173F ABMultiValueCopyLabelAtIndex @@l
174F ABMultiValueCopyValueAtIndex @@l
175F ABMultiValueGetCount l@
176F ABMultiValueGetFirstIndexOfValue l@@
177F ABMultiValueGetIdentifierAtIndex i@l
178F ABMultiValueGetIndexForIdentifier l@i
179F ABMultiValueGetPropertyType S@
180
181C kABMultiValueInvalidIdentifier -1
182
183F ABMultiValueAddValueAndLabel @@@^i
184F ABMultiValueCreateMutable @S
185F ABMultiValueCreateMutableCopy @@
186F ABMultiValueInsertValueAndLabelAtIndex B@@@l^i
187F ABMultiValueRemoveValueAndLabelAtIndex B@l
188F ABMultiValueReplaceLabelAtIndex B@@l
189F ABMultiValueReplaceValueAtIndex B@@l
190
191F ABRecordCopyCompositeName @@
192F ABRecordCopyValue @@i
193F ABRecordGetRecordID i@
194F ABRecordGetRecordType I@
195F ABRecordRemoveValue B@i^@
196F ABRecordSetValue B@i@^@
197
198C kABPersonType 0
199C kABGroupType 1
200
201# this was (1<<8)
202C kABMultiValueMask 0x100
203
204C kABInvalidPropertyType 0x0
205C kABStringPropertyType 0x1
206C kABIntegerPropertyType 0x2
207C kABRealPropertyType 0x3
208C kABDateTimePropertyType 0x4
209C kABDictionaryPropertyType 0x5
210C kABMultiStringPropertyType 0x101
211C kABMultiIntegerPropertyType 0x102
212C kABMultiRealPropertyType 0x103
213C kABMultiDateTimePropertyType 0x104
214C kABMultiDictionaryPropertyType 0x105
215
216C kABRecordInvalidID -1
217C kABPropertyInvalidID -1
218
219F ABAddressBookGetGroupWithRecordID @@i
220F ABGroupAddMember B@@^@
221F ABGroupCopyArrayOfAllMembers @@
222F ABGroupCopyArrayOfAllMembersWithSortOrdering @@I
223F ABGroupCreate @
224F ABGroupRemoveMember B@@^@
225
226V kABGroupNameProperty i
227
228F ABAddressBookCopyPeopleWithName @@@
229F ABAddressBookGetPersonWithRecordID @@i
230F ABPersonComparePeopleByName i@@I
231F ABPersonCopyImageData @@
232F ABPersonCopyLocalizedPropertyName @i
233F ABPersonCreate @
234F ABPersonGetCompositeNameFormat I
235F ABPersonGetSortOrdering I
236F ABPersonGetTypeOfProperty SI
237F ABPersonHasImageData B@
238F ABPersonRemoveImageData B@^@
239F ABPersonSetImageData B@@^@
240
241C kABPersonSortByFirstName 0
242C kABPersonSortByLastName 1
243
244C kABPersonCompositeNameFormatFirstNameFirst 0
245C kABPersonCompositeNameFormatLastNameFirst 1
246
247V kABPersonFirstNameProperty i
248V kABPersonLastNameProperty i
249V kABPersonMiddleNameProperty i
250V kABPersonPrefixProperty i
251V kABPersonSuffixProperty i
252V kABPersonNicknameProperty i
253V kABPersonFirstNamePhoneticProperty i
254V kABPersonLastNamePhoneticProperty i
255V kABPersonMiddleNamePhoneticProperty i
256V kABPersonOrganizationProperty i
257V kABPersonJobTitleProperty i
258V kABPersonDepartmentProperty i
259V kABPersonEmailProperty i
260V kABPersonBirthdayProperty i
261V kABPersonNoteProperty i
262V kABPersonCreationDateProperty i
263V kABPersonModificationDateProperty i
264
265V kABPersonAddressProperty i
266V kABPersonAddressStreetKey @
267V kABPersonAddressCityKey @
268V kABPersonAddressStateKey @
269V kABPersonAddressZIPKey @
270V kABPersonAddressCountryKey @
271V kABPersonAddressCountryCodeKey @
272
273V kABPersonDateProperty i
274V kABPersonAnniversaryLabel @
275
276V kABPersonKindProperty i
277V kABPersonKindPerson @
278V kABPersonKindOrganization @
279
280V kABPersonPhoneProperty i
281V kABPersonPhoneMobileLabel @
282V kABPersonPhoneIPhoneLabel @
283V kABPersonPhoneMainLabel @
284V kABPersonPhoneHomeFAXLabel @
285V kABPersonPhoneWorkFAXLabel @
286V kABPersonPhonePagerLabel @
287
288V kABPersonInstantMessageProperty i
289V kABPersonInstantMessageServiceKey @
290V kABPersonInstantMessageServiceYahoo @
291V kABPersonInstantMessageServiceJabber @
292V kABPersonInstantMessageServiceMSN @
293V kABPersonInstantMessageServiceICQ @
294V kABPersonInstantMessageServiceAIM @
295V kABPersonInstantMessageUsernameKey @
296
297V kABPersonURLProperty i
298V kABPersonHomePageLabel @
299
300V kABPersonRelatedNamesProperty i
301V kABPersonMotherLabel @
302V kABPersonFatherLabel @
303V kABPersonParentLabel @
304V kABPersonSisterLabel @
305V kABPersonBrotherLabel @
306V kABPersonChildLabel @
307V kABPersonFriendLabel @
308V kABPersonSpouseLabel @
309V kABPersonPartnerLabel @
310V kABPersonManagerLabel @
311V kABPersonAssistantLabel @
312
313V kABWorkLabel @
314V kABHomeLabel @
315V kABOtherLabel @
316
317f CoreLocation
318
319V kCLLocationAccuracyBest d
320V kCLLocationAccuracyNearestTenMeters d
321V kCLLocationAccuracyHundredMeters d
322V kCLLocationAccuracyKilometer d
323V kCLLocationAccuracyThreeKilometers d
324
325V kCLDistanceFilterNone d
326V kCLHeadingFilterNone d
327
328C kCLErrorLocationUnknown 0
329C kCLErrorDenied 1
330C kCLErrorNetwork 2
331C kCLErrorHeadingFailure 3
332
333V kCLErrorDomain @
334
335f CoreData
336
337C NSUndefinedAttributeType 0
338C NSInteger16AttributeType 100
339C NSInteger32AttributeType 200
340C NSInteger64AttributeType 300
341C NSDecimalAttributeType 400
342C NSDoubleAttributeType 500
343C NSFloatAttributeType 600
344C NSStringAttributeType 700
345C NSBooleanAttributeType 800
346C NSDateAttributeType 900
347C NSBinaryDataAttributeType 1000
348C NSTransformableAttributeType 1800
349C NSObjectIDAttributeType 2000
350
351C NSUndefinedEntityMappingType 0x00
352C NSCustomEntityMappingType 0x01
353C NSAddEntityMappingType 0x02
354C NSRemoveEntityMappingType 0x03
355C NSCopyEntityMappingType 0x04
356C NSTransformEntityMappingType 0x05
357
358V NSMigrationManagerKey @
359V NSMigrationSourceObjectKey @
360V NSMigrationDestinationObjectKey @
361V NSMigrationEntityMappingKey @
362V NSMigrationPropertyMappingKey @
363V NSMigrationPropertyMappingKey @
364
365C NSManagedObjectResultType 0x00
366C NSManagedObjectIDResultType 0x01
367C NSDictionaryResultType 0x02
368
369C NSFetchRequestExpressionType 50
370
371C NSSnapshotEventUndoInsertion 1<<1
372C NSSnapshotEventUndoDeletion 1<<2
373C NSSnapshotEventUndoUpdate 1<<3
374C NSSnapshotEventRollback 1<<4
375C NSSnapshotEventRefresh 1<<5
376C NSSnapshotEventMergePolicy 1<<6
377
378V NSInsertedObjectsKey @
379V NSUpdatedObjectsKey @
380V NSDeletedObjectsKey @
381V NSRefreshedObjectsKey @
382V NSInvalidatedObjectsKey @
383V NSInvalidatedAllObjectsKey @
384
385V NSErrorMergePolicy @
386V NSMergeByPropertyStoreTrumpMergePolicy @
387V NSMergeByPropertyObjectTrumpMergePolicy @
388V NSOverwriteMergePolicy @
389V NSRollbackMergePolicy @
390
391V NSSQLiteStoreType @
392V NSBinaryStoreType @
393V NSInMemoryStoreType @
394
395V NSStoreTypeKey @
396V NSStoreUUIDKey @
397
398V NSAddedPersistentStoresKey @
399V NSRemovedPersistentStoresKey @
400V NSUUIDChangedPersistentStoresKey @
401
402V NSReadOnlyPersistentStoreOption @
403V NSPersistentStoreTimeoutOption @
404V NSSQLitePragmasOption @
405V NSSQLiteAnalyzeOption @
406V NSSQLiteManualVacuumOption @
407
408V NSIgnorePersistentStoreVersioningOption @
409V NSMigratePersistentStoresAutomaticallyOption @
410V NSInferMappingModelAutomaticallyOption @
411
412V NSStoreModelVersionHashesKey @
413V NSStoreModelVersionIdentifiersKey @
414V NSPersistentStoreOSCompatibility @
415
416C NSNoActionDeleteRule 0
417C NSNullifyDeleteRule 1
418C NSCascadeDeleteRule 2
419C NSDenyDeleteRule 3
420
421C NSFetchedResultsChangeInsert 1
422C NSFetchedResultsChangeDelete 2
423C NSFetchedResultsChangeMove 3
424C NSFetchedResultsChangeUpdate 4
425
426V NSDetailedErrorsKey @
427V NSValidationObjectErrorKey @
428V NSValidationKeyErrorKey @
429V NSValidationPredicateErrorKey @
430V NSValidationValueErrorKey @
431V NSAffectedStoresErrorKey @
432V NSAffectedObjectsErrorKey @
433
434V NSSQLiteErrorDomain @
435
436C NSManagedObjectValidationError 1550
437C NSValidationMultipleErrorsError 1560
438C NSValidationMissingMandatoryPropertyError 1570
439C NSValidationRelationshipLacksMinimumCountError 1580
440C NSValidationRelationshipExceedsMaximumCountError 1590
441C NSValidationRelationshipDeniedDeleteError 1600
442C NSValidationNumberTooLargeError 1610
443C NSValidationNumberTooSmallError 1620
444C NSValidationDateTooLateError 1630
445C NSValidationDateTooSoonError 1640
446C NSValidationInvalidDateError 1650
447C NSValidationStringTooLongError 1660
448C NSValidationStringTooShortError 1670
449C NSValidationStringPatternMatchingError 1680
450
451C NSManagedObjectContextLockingError 132000
452C NSPersistentStoreCoordinatorLockingError 132010
453C NSManagedObjectReferentialIntegrityError 133000
454C NSManagedObjectExternalRelationshipError 133010
455C NSManagedObjectMergeError 133020
456
457C NSPersistentStoreInvalidTypeError 134000
458C NSPersistentStoreTypeMismatchError 134010
459C NSPersistentStoreIncompatibleSchemaError 134020
460C NSPersistentStoreSaveError 134030
461C NSPersistentStoreIncompleteSaveError 134040
462C NSPersistentStoreOperationError 134070
463C NSPersistentStoreOpenError 134080
464C NSPersistentStoreTimeoutError 134090
465C NSPersistentStoreIncompatibleVersionHashError 134100
466
467C NSMigrationError 134110
468C NSMigrationCancelledError 134120
469C NSMigrationMissingSourceModelError 134130
470C NSMigrationMissingMappingModelError 134140
471C NSMigrationManagerSourceStoreError 134150
472C NSMigrationManagerDestinationStoreError 134160
473C NSEntityMigrationPolicyError 134170
474C NSInferredMappingModelError 134190
475C NSExternalRecordImportError 134200
476
477C NSCoreDataError 134060
478C NSSQLiteError 134180
479
480V NSCoreDataVersionNumber d
481
482C NSCoreDataVersionNumber10_4 46.0
483C NSCoreDataVersionNumber10_4_3 77.0
484C NSCoreDataVersionNumber10_5 185.0
485C NSCoreDataVersionNumber10_5_3 186.0
486
487f MapKit
488
489C MKMapTypeStandard 0
490C MKMapTypeSatellite 1
491C MKMapTypeHybrid 2
492
493V MKErrorDomain @
494
495C MKErrorUnknown 1
496C MKErrorServerFailure 2
497C MKErrorLoadingThrottled 3
498C MKErrorPlacemarkNotFound 4
499
500C MKPinAnnotationColorRed 0
501C MKPinAnnotationColorGreen 1
502C MKPinAnnotationColorPurple 2
503
504# MKCoordinateRegionMake
505# MKCoordinateRegionMakeWithDistance
506# MKCoordinateSpanMake