]> git.saurik.com Git - cycript.git/blame_incremental - Bridge.def
Solve a corner case of dealloc hooking on JS derived class objects using MobileSubstrate.
[cycript.git] / Bridge.def
... / ...
CommitLineData
1C YES true
2C NO false
3C nil null
4
5: applicationDidFinishLaunching: v12@0:4@8
6
7
8S CGPoint "x"f"y"f
9S CGRect "origin"{CGPoint}"size"{CGSize}
10S CGSize "width"f"height"f
11
12l c
13
14S nlist_64 "_un"(?="n_strx"I)"n_type"C"n_sect"C"n_desc"S"n_value"Q
15
16F malloc ^vL
17F free v^v
18
19l objc
20
21F class_addIvar B#*LC*
22F class_addMethod B#:^?*
23F class_addProtocol B#@
24F class_conformsToProtocol B#@
25F class_copyIvarList ^^{objc_ivar=}#^I
26F class_copyMethodList ^^{objc_method=}#^I
27F class_copyPropertyList ^^{objc_property=}#^I
28F class_copyProtocolList ^@#^I
29F class_createInstance @#L
30F class_getClassMethod ^{objc_method=}#:
31F class_getClassVariable ^{objc_ivar=}#*
32F class_getInstanceMethod ^{objc_method=}#:
33F class_getInstanceSize L#
34F class_getInstanceVariable ^{objc_ivar=}#*
35F class_getIvarLayout *#
36F class_getMethodImplementation ^?#:
37F class_getMethodImplementation_stret ^?#:
38F class_getName *#
39F class_getProperty ^{objc_property=}#*
40F class_getSuperclass ##
41F class_getVersion i#
42F class_getWeakIvarLayout *#
43F class_isMetaClass B#
44F class_replaceMethod ^?#:^?*
45F class_respondsToSelector B#:
46F class_setIvarLayout v#*
47F class_setSuperclass ###
48F class_setVersion v#i
49F class_setWeakIvarLayout v#*
50
51F ivar_getName *^{objc_ivar=}
52F ivar_getOffset i^{objc_ivar=}
53F ivar_getTypeEncoding *^{objc_ivar=}
54
55F method_copyArgumentType ^c^{objc_method=}I
56F method_copyReturnType ^c^{objc_method=}
57F method_exchangeImplementations v^{objc_method=}^{objc_method=}
58F method_getArgumentType v^{objc_method=}I^cL
59F method_getImplementation ^?^{objc_method=}
60F method_getName :^{objc_method=}
61F method_getNumberOfArguments I^{objc_method=}
62F method_getReturnType v^{objc_method=}^cL
63F method_getTypeEncoding *^{objc_method=}
64F method_setImplementation ^?^{objc_method=}^?
65
66# this should return # or ^v ?
67F objc_allocateClassPair ##*L
68F objc_copyProtocolList ^@^I
69F objc_duplicateClass ##*L
70F objc_getClass #*
71F objc_getClassList i^#i
72F objc_getFutureClass #*
73F objc_getMetaClass @*
74F objc_getProtocol @*
75F objc_getRequiredClass @*
76F objc_lookUpClass @*
77F objc_registerClassPair v#
78F objc_setFutureClass v#*
79
80F object_copy @@L
81F object_dispose @@
82F object_getClass #@
83F object_getClassName *@
84F object_getIndexedIvars ^v@
85F object_getInstanceVariable ^{objc_ivar=}@*^^v
86F object_getIvar @@^{objc_ivar=}
87F object_setClass #@#
88F object_setInstanceVariable ^{objc_ivar=}@*^v
89F object_setIvar v@^{objc_ivar=}@
90
91F property_getAttributes *^{objc_property=}
92F property_getName *^{objc_property=}
93
94F protocol_conformsToProtocol B@@
95F protocol_copyMethodDescriptionList ^{objc_method_description=:*}@BB^I
96F protocol_copyPropertyList ^{objc_property=}@^I
97F protocol_copyProtocolList ^@@^I
98F protocol_getMethodDescription {objc_method_description=:*}@:BB
99F protocol_getName *@
100F protocol_getProperty ^{objc_property=}@*BB
101F protocol_isEqual B@@
102
103F sel_getName *:
104F sel_getUid :*
105F sel_isEqual B::
106F sel_registerName :*
107
108f UIKit
109
110C UIBarStyleDefault 0
111C UIBarStyleBlack 1
112C UIBarStyleBlackOpaque 2
113C UIBarStyleBlackTranslucent 3
114T UIBarStyle i
115
116C UIDataDetectorTypePhoneNumber (1<<0)
117C UIDataDetectorTypeLink (1<<1)
118C UIDataDetectorTypeNone 0
119C UIDataDetectorTypeAll -1
120T UIDataDetectorTypes {NSUInteger}
121
122S UIEdgeInsets "top"{CGFloat}"left"{CGFloat}"bottom"{CGFloat}"right"{CGFloat}
123
124# UINavigationBar
125
126# UINavigationController
127
128V UINavigationControllerHideShowBarDuration f
129
130# UINavigationControllerDelegate
131
132: navigationController:willShowViewController:animated: v20@0:4@8@12B16
133: navigationController:didShowViewController:animated: v20@0:4@8@12B16
134
135# UIScrollView
136
137C UIScrollViewIndicatorStyleDefault 0
138C UIScrollViewIndicatorStyleBlack 1
139C UIScrollViewIndicatorStyleWhite 2
140
141V UIScrollViewDecelerationRateNormal f
142V UIScrollViewDecelerationRateFast f
143
144# UIScrollViewDelegate
145
146: scrollViewDidScroll: v12@0:4@8
147: scrollViewWillBeginDragging: v12@0:4@8
148: scrollViewDidEndDragging:willDecelerate: v16@0:4@8B12
149: scrollViewShouldScrollToTop: B12@0:4@8
150: scrollViewDidScrollToTop: v12@0:4@8
151: scrollViewWillBeginDecelerating: v12@0:4@8
152: scrollViewDidEndDecelerating: v12@0:4@8
153
154: viewForZoomingInScrollView: @12@0:4@8
155: scrollViewDidEndZooming:withView:atScale: v20@0:4@8@12f16
156
157: scrollViewDidEndScrollingAnimation: v12@0:4@8
158
159# UITabBar
160
161# UITabBarDelegate
162
163: tabBar:willBeginCustomizingItems: v16@0:4@8@12
164: tabBar:didBeginCustomizingItems: v16@0:4@8@12
165: tabBar:willBeginCustomizingItems:changed: v20@0:4@8@12B16
166: tabBar:didBeginCustomizingItems:changed: v20@0:4@8@12B16
167: tabBar:didSelectItem: v16@0:4@8@12
168
169# UITableView
170
171C UITableViewStylePlain 0
172C UITableViewStyleGrouped 1
173
174C UITableViewScrollPositionNone 0
175C UITableViewScrollPositionTop 1
176C UITableViewScrollPositionMiddle 2
177C UITableViewScrollPositionBottom 3
178
179C UITableViewRowAnimationFade 0
180C UITableViewRowAnimationRight 1
181C UITableViewRowAnimationLeft 2
182C UITableViewRowAnimationTop 3
183C UITableViewRowAnimationTop 4
184C UITableViewRowAnimationNone 5
185
186V UITableViewIndexSearch @
187
188# UITableViewCell
189
190C UITableViewCellStyleDefault 0
191C UITableViewCellStyleValue1 1
192C UITableViewCellStyleValue2 2
193C UITableViewCellStyleSubtitle 3
194
195C UITableViewCellStateDefaultMask 0
196C UITableViewCellStateEditingMask (1<<0)
197C UITableViewCellStateShowingDeleteConfirmationMask (1<<1)
198
199C UITableViewCellSelectionStyleNone 0
200C UITableViewCellSelectionStyleBlue 1
201C UITableViewCellSelectionStyleGray 2
202
203C UITableViewCellEditingStyleNone 0
204C UITableViewCellEditingStyleDelete 1
205C UITableViewCellEditingStyleInsert 2
206
207C UITableViewCellAccessoryNone 0
208C UITableViewCellAccessoryDisclosureIndicator 1
209C UITableViewCellAccessoryDetailDisclosureButton 2
210C UITableViewCellAccessoryCheckmark 3
211
212C UITableViewCellSeparatorStyleNone 0
213C UITableViewCellSeparatorStyleSingleLine 1
214
215# UITableViewController
216
217# UITableViewDataSource
218
219: tableView:numberOfRowsInSection: i16@0:4@8i12
220: numberOfSectionsInTableView: i12@0:4@8
221: tableView:cellForRowAtIndexPath: @16@0:4@8@12
222: sectionIndexTitlesForTableView: @12@0:4@8
223: tableView:sectionForSectionIndexTitle:atIndex: i20@0:4@8@12i16
224: tableView:titleForHeaderInSection: @16@0:4@8i12
225: tableView:titleForFooterInSection: @16@0:4@8i12
226
227: tableView:commitEditingStyle:forRowAtIndexPath: v20@0:4@8i12@16
228: tableView:canEditRowAtIndexPath: B16@0:4@8@12
229
230: tableView:canMoveRowAtIndexPath: B16@0:4@8@12
231: tableView:moveRowAtIndexPath:toIndexPath: v20@0:4@8@12@16
232
233# UIToolbar
234
235# UIView
236
237C UIViewAnimationCurveEaseInOut 0
238C UIViewAnimationCurveEaseIn 1
239C UIViewAnimationCurveEaseOut 2
240C UIViewAnimationCurveLinear 3
241
242C UIViewContentModeScaleToFill 0
243C UIViewContentModeScaleAspectFit 1
244C UIViewContentModeScaleAspectFill 2
245C UIViewContentModeRedraw 3
246C UIViewContentModeCenter 4
247C UIViewContentModeTop 5
248C UIViewContentModeBottom 6
249C UIViewContentModeLeft 7
250C UIViewContentModeRight 8
251C UIViewContentModeTopLeft 9
252C UIViewContentModeTopRight 10
253C UIViewContentModeBottomLeft 11
254C UIViewContentModeBottomRight 12
255
256C UIViewAutoresizingNone 0
257C UIViewAutoresizingFlexibleLeftMargin (1<<0)
258C UIViewAutoresizingFlexibleWidth (1<<1)
259C UIViewAutoresizingFlexibleRightMargin (1<<2)
260C UIViewAutoresizingFlexibleTopMargin (1<<3)
261C UIViewAutoresizingFlexibleHeight (1<<4)
262C UIViewAutoresizingFlexibleBottomMargin (1<<5)
263
264C UIViewAnimationTransitionNone 0
265C UIViewAnimationTransitionFlipFromLeft 1
266C UIViewAnimationTransitionFlipFromRight 2
267C UIViewAnimationTransitionCurlUp 3
268C UIViewAnimationTransitionCurlDown 4
269
270# UIViewController
271
272C UIModalTransitionStyleCoverVertical 0
273C UIModalTransitionStyleFlipHorizontal 1
274C UIModalTransitionStyleCrossDissolve 2
275
276# UIWebView
277
278C UIWebViewNavigationTypeLinkClicked 0
279C UIWebViewNavigationTypeFormSubmitted 1
280C UIWebViewNavigationTypeBackForward 2
281C UIWebViewNavigationTypeReload 3
282C UIWebViewNavigationTypeFormResubmitted 4
283C UIWebViewNavigationTypeOther 5
284
285# UIWebViewDelegate
286
287: webView:shouldStartLoadWithRequest:navigationType: B20@0:4@8@12I16
288: webViewDidStartLoad: v12@0:4@8
289: webViewDidFinishLoad: v12@0:4@8
290: webView:didFailLoadWithError: v16@0:4@8@12
291
292# UIWindow
293
294V UIWindowLevelNormal f
295V UIWindowLevelAlert f
296V UIWindowLevelStatusBar f
297
298V UIKeyboardCenterBeginUserInfoKey @
299V UIKeyboardCenterEndUserInfoKey @
300V UIKeyboardBoundsUserInfoKey @
301V UIKeyboardAnimationCurveUserInfoKey @
302V UIKeyboardAnimationDurationUserInfoKey @
303
304# Functions
305
306F UIApplicationMain ii^^c@@
307
308F UIImageJPEGRepresentation @@
309F UIImagePNGRepresentation @@
310F UIImageWriteToSavedPhotosAlbum v@@:^v
311
312F UISaveVideoAtPathToSavedPhotosAlbum v@@:^v
313F UIVideoAtPathIsCompatibleWithSavedPhotosAlbum B@
314
315F UIGraphicsGetCurrentContext @
316F UIGraphicsPushContext v@
317F UIGraphicsPopContext v
318F UIGraphicsBeginImageContext v{CGSize}
319F UIGraphicsGetImageFromCurrentImageContext @
320F UIGraphicsEndImageContext v
321F UIRectClip v{CGRect}
322F UIRectFill v{CGRect}
323F UIRectFillUsingBlendMode v{CGRect}{CGBlendMode}
324F UIRectFrame v{CGRect}
325F UIRectFrameUsingBlendMode v{CGRect}{CGBlendMode}
326
327F CGPointFromString {CGPoint}@
328F CGRectFromString {CGRect}@
329F CGSizeFromString {CGSize}@
330F CGAffineTransformFromString {CGAffineTransform}@
331F UIEdgeInsetsFromString {UIEdgeInsets=ffff}@
332F NSStringFromCGPoint @{CGPoint}
333F NSStringFromCGRect @{CGRect}
334F NSStringFromCGSize @{CGSize}
335F NSStringFromCGAffineTransform @{CGAffineTransform}
336F NSStringFromUIEdgeInsets @{UIEdgeInsets=ffff}
337
338F UIEdgeInsetsMake {UIEdgeInsets=ffff}ffff
339F UIEdgeInsetsEqualToEdgeInsets B{UIEdgeInsets=ffff}{UIEdgeInsets=ffff}
340F UIEdgeInsetsInsetRect {CGRect}{CGRect}{UIEdgeInsets=ffff}
341
342# XXX: UIInterfaceOrientationIsPortrait
343# XXX: UIInterfaceOrientationIsLandscape
344
345# XXX: UIDeviceOrientationIsValidInterfaceOrientation
346# XXX: UIDeviceOrientationIsPortrait
347# XXX: UIDeviceOrientationIsLandscape
348
349F UIAccessibilityPostNotification vI@
350
351# Miscellaneous
352
353F UIApplicationUseLegacyEvents vB
354
355F UIKeyboardDisableAutomaticAppearance v
356F UIKeyboardEnableAutomaticAppearance v
357F UIKeyboardInputModeUsesKBStar B@
358
359F _UIImageWithName @@
360
361F UIFormattedPhoneNumberFromString @@
362F UIUnformattedPhoneNumberFromString @@
363
364V UIApp @
365
366V kUIButtonBarButtonAction @
367V kUIButtonBarButtonInfo @
368V kUIButtonBarButtonInfoOffset @
369V kUIButtonBarButtonSelectedInfo @
370V kUIButtonBarButtonSizeToFit @
371V kUIButtonBarButtonStyle @
372V kUIButtonBarButtonTag @
373V kUIButtonBarButtonTarget @
374V kUIButtonBarButtonTitle @
375V kUIButtonBarButtonTitleVerticalHeight @
376V kUIButtonBarButtonTitleWidth @
377V kUIButtonBarButtonType @
378
379V UIKeyboardAnimationCurveUserInfoKey @
380V UIKeyboardAnimationDurationUserInfoKey @
381V UIKeyboardBoundsUserInfoKey @
382V UIKeyboardCenterBeginUserInfoKey @
383V UIKeyboardCenterEndUserInfoKey @
384V UIKeyboardRequiresInternationalKey @
385
386V UIKeyboardCandidateCorrectionDidChangeNotification @
387V UIKeyboardCurrentInputModeDidChangeNotification @
388V UIKeyboardDefaultsDidChangeNotification @
389V UIKeyboardDidHideNotification @
390V UIKeyboardDidShowNotification @
391V UIKeyboardEmptyDelegateNotification @
392V UIKeyboardWillHideNotification @
393V UIKeyboardWillShowNotification @
394
395V UIWebViewDidReceiveMessageNotification @
396V UIWebViewDidClearMessagesNotification @
397V UIWebViewGrowsAndShrinksToFitHeight f
398V UIWebViewGrowsAndShrinksToFitWidth f
399V UIWebViewScalesToFitScale f
400
401f AddressBook
402
403F ABAddressBookAddRecord B@@^@
404F ABAddressBookCopyArrayOfAllGroups @@
405F ABAddressBookCopyArrayOfAllPeople @@
406F ABAddressBookCopyLocalizedLabel @@
407F ABAddressBookCreate @
408F ABAddressBookGetGroupCount l@
409F ABAddressBookGetPersonCount l@
410F ABAddressBookHasUnsavedChanges B@
411F ABAddressBookRegisterExternalChangeCallback v@^?^v
412F ABAddressBookRemoveRecord B@@^@
413F ABAddressBookRevert v@
414F ABAddressBookSave B@^@
415F ABAddressBookUnregisterExternalChangeCallback v@^?^v
416
417V ABAddressBookErrorDomain @
418C kABOperationNotPermittedByStoreError 0
419
420F ABMultiValueCopyArrayOfAllValues @@
421F ABMultiValueCopyLabelAtIndex @@l
422F ABMultiValueCopyValueAtIndex @@l
423F ABMultiValueGetCount l@
424F ABMultiValueGetFirstIndexOfValue l@@
425F ABMultiValueGetIdentifierAtIndex i@l
426F ABMultiValueGetIndexForIdentifier l@i
427F ABMultiValueGetPropertyType S@
428
429C kABMultiValueInvalidIdentifier -1
430
431F ABMultiValueAddValueAndLabel @@@^i
432F ABMultiValueCreateMutable @S
433F ABMultiValueCreateMutableCopy @@
434F ABMultiValueInsertValueAndLabelAtIndex B@@@l^i
435F ABMultiValueRemoveValueAndLabelAtIndex B@l
436F ABMultiValueReplaceLabelAtIndex B@@l
437F ABMultiValueReplaceValueAtIndex B@@l
438
439F ABRecordCopyCompositeName @@
440F ABRecordCopyValue @@i
441F ABRecordGetRecordID i@
442F ABRecordGetRecordType I@
443F ABRecordRemoveValue B@i^@
444F ABRecordSetValue B@i@^@
445
446C kABPersonType 0
447C kABGroupType 1
448
449# this was (1<<8)
450C kABMultiValueMask 0x100
451
452C kABInvalidPropertyType 0x0
453C kABStringPropertyType 0x1
454C kABIntegerPropertyType 0x2
455C kABRealPropertyType 0x3
456C kABDateTimePropertyType 0x4
457C kABDictionaryPropertyType 0x5
458C kABMultiStringPropertyType 0x101
459C kABMultiIntegerPropertyType 0x102
460C kABMultiRealPropertyType 0x103
461C kABMultiDateTimePropertyType 0x104
462C kABMultiDictionaryPropertyType 0x105
463
464C kABRecordInvalidID -1
465C kABPropertyInvalidID -1
466
467F ABAddressBookGetGroupWithRecordID @@i
468F ABGroupAddMember B@@^@
469F ABGroupCopyArrayOfAllMembers @@
470F ABGroupCopyArrayOfAllMembersWithSortOrdering @@I
471F ABGroupCreate @
472F ABGroupRemoveMember B@@^@
473
474V kABGroupNameProperty i
475
476F ABAddressBookCopyPeopleWithName @@@
477F ABAddressBookGetPersonWithRecordID @@i
478F ABPersonComparePeopleByName i@@I
479F ABPersonCopyImageData @@
480F ABPersonCopyLocalizedPropertyName @i
481F ABPersonCreate @
482F ABPersonGetCompositeNameFormat I
483F ABPersonGetSortOrdering I
484F ABPersonGetTypeOfProperty SI
485F ABPersonHasImageData B@
486F ABPersonRemoveImageData B@^@
487F ABPersonSetImageData B@@^@
488
489C kABPersonSortByFirstName 0
490C kABPersonSortByLastName 1
491
492C kABPersonCompositeNameFormatFirstNameFirst 0
493C kABPersonCompositeNameFormatLastNameFirst 1
494
495V kABPersonFirstNameProperty i
496V kABPersonLastNameProperty i
497V kABPersonMiddleNameProperty i
498V kABPersonPrefixProperty i
499V kABPersonSuffixProperty i
500V kABPersonNicknameProperty i
501V kABPersonFirstNamePhoneticProperty i
502V kABPersonLastNamePhoneticProperty i
503V kABPersonMiddleNamePhoneticProperty i
504V kABPersonOrganizationProperty i
505V kABPersonJobTitleProperty i
506V kABPersonDepartmentProperty i
507V kABPersonEmailProperty i
508V kABPersonBirthdayProperty i
509V kABPersonNoteProperty i
510V kABPersonCreationDateProperty i
511V kABPersonModificationDateProperty i
512
513V kABPersonAddressProperty i
514V kABPersonAddressStreetKey @
515V kABPersonAddressCityKey @
516V kABPersonAddressStateKey @
517V kABPersonAddressZIPKey @
518V kABPersonAddressCountryKey @
519V kABPersonAddressCountryCodeKey @
520
521V kABPersonDateProperty i
522V kABPersonAnniversaryLabel @
523
524V kABPersonKindProperty i
525V kABPersonKindPerson @
526V kABPersonKindOrganization @
527
528V kABPersonPhoneProperty i
529V kABPersonPhoneMobileLabel @
530V kABPersonPhoneIPhoneLabel @
531V kABPersonPhoneMainLabel @
532V kABPersonPhoneHomeFAXLabel @
533V kABPersonPhoneWorkFAXLabel @
534V kABPersonPhonePagerLabel @
535
536V kABPersonInstantMessageProperty i
537V kABPersonInstantMessageServiceKey @
538V kABPersonInstantMessageServiceYahoo @
539V kABPersonInstantMessageServiceJabber @
540V kABPersonInstantMessageServiceMSN @
541V kABPersonInstantMessageServiceICQ @
542V kABPersonInstantMessageServiceAIM @
543V kABPersonInstantMessageUsernameKey @
544
545V kABPersonURLProperty i
546V kABPersonHomePageLabel @
547
548V kABPersonRelatedNamesProperty i
549V kABPersonMotherLabel @
550V kABPersonFatherLabel @
551V kABPersonParentLabel @
552V kABPersonSisterLabel @
553V kABPersonBrotherLabel @
554V kABPersonChildLabel @
555V kABPersonFriendLabel @
556V kABPersonSpouseLabel @
557V kABPersonPartnerLabel @
558V kABPersonManagerLabel @
559V kABPersonAssistantLabel @
560
561V kABWorkLabel @
562V kABHomeLabel @
563V kABOtherLabel @
564
565f CoreAnimation
566
567S CATransform3D "m11"{CGFloat}"m12"{CGFloat}"m13"{CGFloat}"m14"{CGFloat}"m21"{CGFloat}"m22"{CGFloat}"m23"{CGFloat}"m24"{CGFloat}"m31"{CGFloat}"m32"{CGFloat}"m33"{CGFloat}"m34"{CGFloat}"m41"{CGFloat}"m42"{CGFloat}"m43"{CGFloat}"m44"{CGFloat}
568
569F CACurrentMediaTime {CFTimeInterval}
570
571F CATransform3DIsIdentity B{CATransform3D}
572F CATransform3DEqualToTransform B{CATransform3D}{CATransform3D}
573F CATransform3DMakeTranslation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
574F CATransform3DMakeScale {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
575F CATransform3DMakeRotation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
576F CATransform3DTranslate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
577F CATransform3DScale {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
578F CATransform3DRotate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
579F CATransform3DConcat {CATransform3D}{CATransform3D}{CATransform3D}
580F CATransform3DInvert {CATransform3D}{CATransform3D}
581F CATransform3DMakeAffineTransform {CATransform3D}{CGAffineTransform}
582F CATransform3DIsAffine B{CATransform3D}
583F CATransform3DGetAffineTransform {CGAffineTransform}{CATransform3D}
584
585f CoreData
586
587C NSUndefinedAttributeType 0
588C NSInteger16AttributeType 100
589C NSInteger32AttributeType 200
590C NSInteger64AttributeType 300
591C NSDecimalAttributeType 400
592C NSDoubleAttributeType 500
593C NSFloatAttributeType 600
594C NSStringAttributeType 700
595C NSBooleanAttributeType 800
596C NSDateAttributeType 900
597C NSBinaryDataAttributeType 1000
598C NSTransformableAttributeType 1800
599C NSObjectIDAttributeType 2000
600
601C NSUndefinedEntityMappingType 0x00
602C NSCustomEntityMappingType 0x01
603C NSAddEntityMappingType 0x02
604C NSRemoveEntityMappingType 0x03
605C NSCopyEntityMappingType 0x04
606C NSTransformEntityMappingType 0x05
607
608V NSMigrationManagerKey @
609V NSMigrationSourceObjectKey @
610V NSMigrationDestinationObjectKey @
611V NSMigrationEntityMappingKey @
612V NSMigrationPropertyMappingKey @
613V NSMigrationPropertyMappingKey @
614
615C NSManagedObjectResultType 0x00
616C NSManagedObjectIDResultType 0x01
617C NSDictionaryResultType 0x02
618
619C NSFetchRequestExpressionType 50
620
621C NSSnapshotEventUndoInsertion 1<<1
622C NSSnapshotEventUndoDeletion 1<<2
623C NSSnapshotEventUndoUpdate 1<<3
624C NSSnapshotEventRollback 1<<4
625C NSSnapshotEventRefresh 1<<5
626C NSSnapshotEventMergePolicy 1<<6
627
628V NSInsertedObjectsKey @
629V NSUpdatedObjectsKey @
630V NSDeletedObjectsKey @
631V NSRefreshedObjectsKey @
632V NSInvalidatedObjectsKey @
633V NSInvalidatedAllObjectsKey @
634
635V NSErrorMergePolicy @
636V NSMergeByPropertyStoreTrumpMergePolicy @
637V NSMergeByPropertyObjectTrumpMergePolicy @
638V NSOverwriteMergePolicy @
639V NSRollbackMergePolicy @
640
641V NSSQLiteStoreType @
642V NSBinaryStoreType @
643V NSInMemoryStoreType @
644
645V NSStoreTypeKey @
646V NSStoreUUIDKey @
647
648V NSAddedPersistentStoresKey @
649V NSRemovedPersistentStoresKey @
650V NSUUIDChangedPersistentStoresKey @
651
652V NSReadOnlyPersistentStoreOption @
653V NSPersistentStoreTimeoutOption @
654V NSSQLitePragmasOption @
655V NSSQLiteAnalyzeOption @
656V NSSQLiteManualVacuumOption @
657
658V NSIgnorePersistentStoreVersioningOption @
659V NSMigratePersistentStoresAutomaticallyOption @
660V NSInferMappingModelAutomaticallyOption @
661
662V NSStoreModelVersionHashesKey @
663V NSStoreModelVersionIdentifiersKey @
664V NSPersistentStoreOSCompatibility @
665
666C NSNoActionDeleteRule 0
667C NSNullifyDeleteRule 1
668C NSCascadeDeleteRule 2
669C NSDenyDeleteRule 3
670
671C NSFetchedResultsChangeInsert 1
672C NSFetchedResultsChangeDelete 2
673C NSFetchedResultsChangeMove 3
674C NSFetchedResultsChangeUpdate 4
675
676V NSDetailedErrorsKey @
677V NSValidationObjectErrorKey @
678V NSValidationKeyErrorKey @
679V NSValidationPredicateErrorKey @
680V NSValidationValueErrorKey @
681V NSAffectedStoresErrorKey @
682V NSAffectedObjectsErrorKey @
683
684V NSSQLiteErrorDomain @
685
686C NSManagedObjectValidationError 1550
687C NSValidationMultipleErrorsError 1560
688C NSValidationMissingMandatoryPropertyError 1570
689C NSValidationRelationshipLacksMinimumCountError 1580
690C NSValidationRelationshipExceedsMaximumCountError 1590
691C NSValidationRelationshipDeniedDeleteError 1600
692C NSValidationNumberTooLargeError 1610
693C NSValidationNumberTooSmallError 1620
694C NSValidationDateTooLateError 1630
695C NSValidationDateTooSoonError 1640
696C NSValidationInvalidDateError 1650
697C NSValidationStringTooLongError 1660
698C NSValidationStringTooShortError 1670
699C NSValidationStringPatternMatchingError 1680
700
701C NSManagedObjectContextLockingError 132000
702C NSPersistentStoreCoordinatorLockingError 132010
703C NSManagedObjectReferentialIntegrityError 133000
704C NSManagedObjectExternalRelationshipError 133010
705C NSManagedObjectMergeError 133020
706
707C NSPersistentStoreInvalidTypeError 134000
708C NSPersistentStoreTypeMismatchError 134010
709C NSPersistentStoreIncompatibleSchemaError 134020
710C NSPersistentStoreSaveError 134030
711C NSPersistentStoreIncompleteSaveError 134040
712C NSPersistentStoreOperationError 134070
713C NSPersistentStoreOpenError 134080
714C NSPersistentStoreTimeoutError 134090
715C NSPersistentStoreIncompatibleVersionHashError 134100
716
717C NSMigrationError 134110
718C NSMigrationCancelledError 134120
719C NSMigrationMissingSourceModelError 134130
720C NSMigrationMissingMappingModelError 134140
721C NSMigrationManagerSourceStoreError 134150
722C NSMigrationManagerDestinationStoreError 134160
723C NSEntityMigrationPolicyError 134170
724C NSInferredMappingModelError 134190
725C NSExternalRecordImportError 134200
726
727C NSCoreDataError 134060
728C NSSQLiteError 134180
729
730V NSCoreDataVersionNumber d
731
732C NSCoreDataVersionNumber10_4 46.0
733C NSCoreDataVersionNumber10_4_3 77.0
734C NSCoreDataVersionNumber10_5 185.0
735C NSCoreDataVersionNumber10_5_3 186.0
736
737f CoreFoundation
738
739# XXX: incomplete by any stretch of the imagination
740
741F CFShow v@
742F CFShowStr v@
743
744f CoreGraphics
745
746T CGFloat f
747
748# CFByteOrderUtils
749
750E __CFByteOrder
751C CFByteOrderUnknown 0
752C CFByteOrderLittleEndian 1
753C CFByteOrderBigEndian 2
754T CFByteOrder __CFByteOrder
755
756# CGAffineTransform
757
758F CGAffineTransformMake {CGAffineTransform}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
759F CGAffineTransformMakeRotation {CGAffineTransform}{CGFloat}
760F CGAffineTransformMakeScale {CGAffineTransform}{CGFloat}{CGFloat}
761F CGAffineTransformMakeTranslation {CGAffineTransform}{CGFloat}{CGFloat}
762
763F CGAffineTransformTranslate {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
764F CGAffineTransformScale {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
765F CGAffineTransformRotate {CGAffineTransform}{CGAffineTransform}{CGFloat}
766F CGAffineTransformInvert {CGAffineTransform}{CGAffineTransform}
767F CGAffineTransformConcat {CGAffineTransform}{CGAffineTransform}{CGAffineTransform}
768
769F CGPointApplyAffineTransform {CGPoint}{CGPoint}{CGAffineTransform}
770F CGSizeApplyAffineTransform {CGSize}{CGSize}{CGAffineTransform}
771F CGRectApplyAffineTransform {CGRect}{CGRect}{CGAffineTransform}
772
773F CGAffineTransformIsIdentity B{CGAffineTransform}
774F CGAffineTransformEqualToTransform B{CGAffineTransform}{CGAffineTransform}
775
776S CGAffineTransform "a"{CGFloat}"b"{CGFloat}"c"{CGFloat}"d"{CGFloat}"tx"{CGFloat}"ty"{CGFloat}
777
778V CGAffineTransformIdentity {CGAffineTransform}
779
780# CGContext
781
782T CGContextRef ^{CGContext}
783
784E CGBlendMode
785C kCGBlendModeNormal 0
786C kCGBlendModeMultiply 1
787C kCGBlendModeScreen 2
788C kCGBlendModeOverlay 3
789C kCGBlendModeDarken 4
790C kCGBlendModeLighten 5
791C kCGBlendModeColorDodge 6
792C kCGBlendModeColorBurn 7
793C kCGBlendModeSoftLight 8
794C kCGBlendModeHardLight 9
795C kCGBlendModeDifference 10
796C kCGBlendModeExclusion 11
797C kCGBlendModeHue 12
798C kCGBlendModeSaturation 13
799C kCGBlendModeColor 14
800C kCGBlendModeLuminosity 15
801C kCGBlendModeClear 16
802C kCGBlendModeCopy 17
803C kCGBlendModeSourceIn 18
804C kCGBlendModeSourceOut 19
805C kCGBlendModeSourceAtop 20
806C kCGBlendModeDestinationOver 21
807C kCGBlendModeDestinationIn 22
808C kCGBlendModeDestinationOut 23
809C kCGBlendModeDestinationAtop 24
810C kCGBlendModeXOR 25
811C kCGBlendModePlusDarker 26
812C kCGBlendModePlusLighter 27
813
814E CGInterpolationQuality
815C kCGInterpolationDefault 0
816C kCGInterpolationNone 1
817C kCGInterpolationLow 2
818C kCGInterpolationHigh 3
819
820E CGLineCap
821C kCGLineCapButt 0
822C kCGLineCapRound 1
823C kCGLineCapSquare 2
824
825E CGLineJoin
826C kCGLineJoinMiter 0
827C kCGLineJoinRound 1
828C kCGLineJoinBevel 2
829
830E CGTextDrawingMode
831C kCGTextFill 0
832C kCGTextStroke 1
833C kCGTextFillStroke 2
834C kCGTextInvisible 3
835C kCGTextFillClip 4
836C kCGTextStrokeClip 5
837C kCGTextFillStrokeClip 6
838C kCGTextClip 7
839
840E CGTextEncoding
841C kCGEncodingFontSpecific 0
842C kCGEncodingMacRoman 1
843
844f CoreLocation
845
846T CLLocationDegrees d
847
848S CLLocationCoordinate2D "latitude"{CLLocationDegrees}"longitude"{CLLocationDegrees}
849
850T CLLocationAccuracy d
851
852V kCLLocationAccuracyBest d
853V kCLLocationAccuracyNearestTenMeters d
854V kCLLocationAccuracyHundredMeters d
855V kCLLocationAccuracyKilometer d
856V kCLLocationAccuracyThreeKilometers d
857
858T CLLocationSpeed d
859T CLLocationDirection d
860
861V kCLDistanceFilterNone d
862V kCLHeadingFilterNone d
863
864C kCLErrorLocationUnknown 0
865C kCLErrorDenied 1
866C kCLErrorNetwork 2
867C kCLErrorHeadingFailure 3
868
869V kCLErrorDomain @
870
871f Foundation
872
873T NSAppleEventManagerSuspensionID ^r{__NSAppleEventManagerSuspension}
874
875E _NSByteOrder
876C NS_UnknownByteOrder CFByteOrderUnknown
877C NS_LittleEndian CFByteOrderLittleEndian
878C NS_BigEndian CFByteOrderBigEndian
879
880# NSComparator
881
882C NSOrderedAscending -1
883C NSOrderedSame 0
884C NSOrderedDescending 1
885T NSComparisonResult {NSInteger}
886
887# NSDecimal
888
889T NSEnumerationOptions {NSUInteger}
890# NSHashEnumerator
891T NSHashTable {_NSHashTable}
892# NSHashTableCallBacks
893
894T NSHashTableOptions {NSUInteger}
895T NSInteger l
896
897# NSMapEnumerator
898
899T NSMapTable {_NSMapTable}
900# NSMapTableKeyCallBacks
901
902T NSMapTableOptions {NSUInteger}
903# NSMapTableValueCallBacks
904
905T NSPoint {_NSPoint}
906T NSPointArray ^{NSPoint}
907T NSPointPointer ^{NSPoint}
908
909S _NSRange "location"{NSUInteger}"length"{NSUInteger}
910T NSRange {_NSRange}
911T NSRangePointer ^{NSRange}
912
913S _NSRect "origin"{NSPoint}"size"{NSSize}
914T NSRectArray ^{NSRect}
915
916C NSMinXEdge 0
917C NSMinYEdge 1
918C NSMaxXEdge 2
919C NSMaxYEdge 3
920
921T NSRectPointer ^{NSRect}
922
923C NSApplicationDirectory 1
924C NSDemoApplicationDirectory 2
925C NSDeveloperApplicationDirectory 3
926C NSAdminApplicationDirectory 4
927C NSLibraryDirectory 5
928C NSDeveloperDirectory 6
929C NSUserDirectory 7
930C NSDocumentationDirectory 8
931C NSDocumentDirectory 9
932C NSCoreServiceDirectory 10
933C NSAutosavedInformationDirectory 11
934C NSDesktopDirectory 12
935C NSCachesDirectory 13
936C NSApplicationSupportDirectory 14
937C NSDownloadsDirectory 15
938C NSInputMethodsDirectory 16
939C NSMoviesDirectory 17
940C NSMusicDirectory 18
941C NSPicturesDirectory 19
942C NSPrinterDescriptionDirectory 20
943C NSSharedPublicDirectory 21
944C NSPreferencePanesDirectory 22
945C NSItemReplacementDirectory 99
946C NSAllApplicationsDirectory 100
947C NSAllLibrariesDirectory 101
948T NSSearchPathDirectory {NSUInteger}
949
950C NSUserDomainMask 1
951C NSLocalDomainMask 2
952C NSNetworkDomainMask 4
953C NSSystemDomainMask 8
954C NSAllDomainsMask 0x0ffff
955T NSSearchPathDomainMask {NSUInteger}
956
957S _NSSize "width"{CGFloat}"height"{CGFloat}
958T NSSize {_NSSize}
959
960T NSSizePointer ^{NSSize}
961T NSSocketNativeHandle i
962T NSStringEncoding {NSUInteger}
963S NSSwappedDouble "v"Q
964S NSSwappedFloat "v"L
965T NSTimeInterval d
966# NSUncaughtExceptionHandler
967T NSUInteger L
968T NSZone {_NSZone}
969
970f MapKit
971
972C MKMapTypeStandard 0
973C MKMapTypeSatellite 1
974C MKMapTypeHybrid 2
975
976V MKErrorDomain @
977
978C MKErrorUnknown 1
979C MKErrorServerFailure 2
980C MKErrorLoadingThrottled 3
981C MKErrorPlacemarkNotFound 4
982
983C MKPinAnnotationColorRed 0
984C MKPinAnnotationColorGreen 1
985C MKPinAnnotationColorPurple 2
986
987# MKCoordinateRegionMake
988F MKCoordinateRegionMakeWithDistance {MKCoordinateRegion}{CLLocationCoordinate2D}{CLLocationDistance}{CLLocationDistance}
989# MKCoordinateSpanMake
990
991C RTLD_LAZY 0x1
992C RTLD_NOW 0x2
993C RTLD_LOCAL 0x4
994C RTLD_GLOBAL 0x8
995
996C RTLD_NOLOAD 0x10
997C RTLD_NODELETE 0x80
998C RTLD_FIRST 0x100
999
1000C RTLD_NEXT -1
1001C RTLD_DEFAULT -2
1002C RTLD_SELF -3
1003
1004S dl_info "dli_fname"*"dli_fbase"v^"dli_sname"*"dli_saddr"^v
1005T Dl_info {dl_info}
1006
1007F dladdr i^rv^{dl_info}
1008F dlclose i^v
1009F dlerror *
1010F dlopen ^v*i
1011F dlsym ^v^v*
1012F dlopen_preflight B*