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