]> git.saurik.com Git - cycript.git/blame_incremental - Bridge.def
Started work on array comprehensions, implemented multi-line string literals (not...
[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 UIGetScreenImage @
354
355F UIApplicationUseLegacyEvents vB
356
357F UIKeyboardDisableAutomaticAppearance v
358F UIKeyboardEnableAutomaticAppearance v
359F UIKeyboardInputModeUsesKBStar B@
360
361F _UIImageWithName @@
362
363F UIFormattedPhoneNumberFromString @@
364F UIUnformattedPhoneNumberFromString @@
365
366V UIApp @
367
368V kUIButtonBarButtonAction @
369V kUIButtonBarButtonInfo @
370V kUIButtonBarButtonInfoOffset @
371V kUIButtonBarButtonSelectedInfo @
372V kUIButtonBarButtonSizeToFit @
373V kUIButtonBarButtonStyle @
374V kUIButtonBarButtonTag @
375V kUIButtonBarButtonTarget @
376V kUIButtonBarButtonTitle @
377V kUIButtonBarButtonTitleVerticalHeight @
378V kUIButtonBarButtonTitleWidth @
379V kUIButtonBarButtonType @
380
381V UIKeyboardAnimationCurveUserInfoKey @
382V UIKeyboardAnimationDurationUserInfoKey @
383V UIKeyboardBoundsUserInfoKey @
384V UIKeyboardCenterBeginUserInfoKey @
385V UIKeyboardCenterEndUserInfoKey @
386V UIKeyboardRequiresInternationalKey @
387
388V UIKeyboardCandidateCorrectionDidChangeNotification @
389V UIKeyboardCurrentInputModeDidChangeNotification @
390V UIKeyboardDefaultsDidChangeNotification @
391V UIKeyboardDidHideNotification @
392V UIKeyboardDidShowNotification @
393V UIKeyboardEmptyDelegateNotification @
394V UIKeyboardWillHideNotification @
395V UIKeyboardWillShowNotification @
396
397V UIWebViewDidReceiveMessageNotification @
398V UIWebViewDidClearMessagesNotification @
399V UIWebViewGrowsAndShrinksToFitHeight f
400V UIWebViewGrowsAndShrinksToFitWidth f
401V UIWebViewScalesToFitScale f
402
403f AddressBook
404
405F ABAddressBookAddRecord B@@^@
406F ABAddressBookCopyArrayOfAllGroups @@
407F ABAddressBookCopyArrayOfAllPeople @@
408F ABAddressBookCopyLocalizedLabel @@
409F ABAddressBookCreate @
410F ABAddressBookGetGroupCount l@
411F ABAddressBookGetPersonCount l@
412F ABAddressBookHasUnsavedChanges B@
413F ABAddressBookRegisterExternalChangeCallback v@^?^v
414F ABAddressBookRemoveRecord B@@^@
415F ABAddressBookRevert v@
416F ABAddressBookSave B@^@
417F ABAddressBookUnregisterExternalChangeCallback v@^?^v
418
419V ABAddressBookErrorDomain @
420C kABOperationNotPermittedByStoreError 0
421
422F ABMultiValueCopyArrayOfAllValues @@
423F ABMultiValueCopyLabelAtIndex @@l
424F ABMultiValueCopyValueAtIndex @@l
425F ABMultiValueGetCount l@
426F ABMultiValueGetFirstIndexOfValue l@@
427F ABMultiValueGetIdentifierAtIndex i@l
428F ABMultiValueGetIndexForIdentifier l@i
429F ABMultiValueGetPropertyType S@
430
431C kABMultiValueInvalidIdentifier -1
432
433F ABMultiValueAddValueAndLabel @@@^i
434F ABMultiValueCreateMutable @S
435F ABMultiValueCreateMutableCopy @@
436F ABMultiValueInsertValueAndLabelAtIndex B@@@l^i
437F ABMultiValueRemoveValueAndLabelAtIndex B@l
438F ABMultiValueReplaceLabelAtIndex B@@l
439F ABMultiValueReplaceValueAtIndex B@@l
440
441F ABRecordCopyCompositeName @@
442F ABRecordCopyValue @@i
443F ABRecordGetRecordID i@
444F ABRecordGetRecordType I@
445F ABRecordRemoveValue B@i^@
446F ABRecordSetValue B@i@^@
447
448C kABPersonType 0
449C kABGroupType 1
450
451# this was (1<<8)
452C kABMultiValueMask 0x100
453
454C kABInvalidPropertyType 0x0
455C kABStringPropertyType 0x1
456C kABIntegerPropertyType 0x2
457C kABRealPropertyType 0x3
458C kABDateTimePropertyType 0x4
459C kABDictionaryPropertyType 0x5
460C kABMultiStringPropertyType 0x101
461C kABMultiIntegerPropertyType 0x102
462C kABMultiRealPropertyType 0x103
463C kABMultiDateTimePropertyType 0x104
464C kABMultiDictionaryPropertyType 0x105
465
466C kABRecordInvalidID -1
467C kABPropertyInvalidID -1
468
469F ABAddressBookGetGroupWithRecordID @@i
470F ABGroupAddMember B@@^@
471F ABGroupCopyArrayOfAllMembers @@
472F ABGroupCopyArrayOfAllMembersWithSortOrdering @@I
473F ABGroupCreate @
474F ABGroupRemoveMember B@@^@
475
476V kABGroupNameProperty i
477
478F ABAddressBookCopyPeopleWithName @@@
479F ABAddressBookGetPersonWithRecordID @@i
480F ABPersonComparePeopleByName i@@I
481F ABPersonCopyImageData @@
482F ABPersonCopyLocalizedPropertyName @i
483F ABPersonCreate @
484F ABPersonGetCompositeNameFormat I
485F ABPersonGetSortOrdering I
486F ABPersonGetTypeOfProperty SI
487F ABPersonHasImageData B@
488F ABPersonRemoveImageData B@^@
489F ABPersonSetImageData B@@^@
490
491C kABPersonSortByFirstName 0
492C kABPersonSortByLastName 1
493
494C kABPersonCompositeNameFormatFirstNameFirst 0
495C kABPersonCompositeNameFormatLastNameFirst 1
496
497V kABPersonFirstNameProperty i
498V kABPersonLastNameProperty i
499V kABPersonMiddleNameProperty i
500V kABPersonPrefixProperty i
501V kABPersonSuffixProperty i
502V kABPersonNicknameProperty i
503V kABPersonFirstNamePhoneticProperty i
504V kABPersonLastNamePhoneticProperty i
505V kABPersonMiddleNamePhoneticProperty i
506V kABPersonOrganizationProperty i
507V kABPersonJobTitleProperty i
508V kABPersonDepartmentProperty i
509V kABPersonEmailProperty i
510V kABPersonBirthdayProperty i
511V kABPersonNoteProperty i
512V kABPersonCreationDateProperty i
513V kABPersonModificationDateProperty i
514
515V kABPersonAddressProperty i
516V kABPersonAddressStreetKey @
517V kABPersonAddressCityKey @
518V kABPersonAddressStateKey @
519V kABPersonAddressZIPKey @
520V kABPersonAddressCountryKey @
521V kABPersonAddressCountryCodeKey @
522
523V kABPersonDateProperty i
524V kABPersonAnniversaryLabel @
525
526V kABPersonKindProperty i
527V kABPersonKindPerson @
528V kABPersonKindOrganization @
529
530V kABPersonPhoneProperty i
531V kABPersonPhoneMobileLabel @
532V kABPersonPhoneIPhoneLabel @
533V kABPersonPhoneMainLabel @
534V kABPersonPhoneHomeFAXLabel @
535V kABPersonPhoneWorkFAXLabel @
536V kABPersonPhonePagerLabel @
537
538V kABPersonInstantMessageProperty i
539V kABPersonInstantMessageServiceKey @
540V kABPersonInstantMessageServiceYahoo @
541V kABPersonInstantMessageServiceJabber @
542V kABPersonInstantMessageServiceMSN @
543V kABPersonInstantMessageServiceICQ @
544V kABPersonInstantMessageServiceAIM @
545V kABPersonInstantMessageUsernameKey @
546
547V kABPersonURLProperty i
548V kABPersonHomePageLabel @
549
550V kABPersonRelatedNamesProperty i
551V kABPersonMotherLabel @
552V kABPersonFatherLabel @
553V kABPersonParentLabel @
554V kABPersonSisterLabel @
555V kABPersonBrotherLabel @
556V kABPersonChildLabel @
557V kABPersonFriendLabel @
558V kABPersonSpouseLabel @
559V kABPersonPartnerLabel @
560V kABPersonManagerLabel @
561V kABPersonAssistantLabel @
562
563V kABWorkLabel @
564V kABHomeLabel @
565V kABOtherLabel @
566
567f CoreAnimation
568
569S 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}
570
571F CACurrentMediaTime {CFTimeInterval}
572
573F CATransform3DIsIdentity B{CATransform3D}
574F CATransform3DEqualToTransform B{CATransform3D}{CATransform3D}
575F CATransform3DMakeTranslation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
576F CATransform3DMakeScale {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
577F CATransform3DMakeRotation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
578F CATransform3DTranslate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
579F CATransform3DScale {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
580F CATransform3DRotate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
581F CATransform3DConcat {CATransform3D}{CATransform3D}{CATransform3D}
582F CATransform3DInvert {CATransform3D}{CATransform3D}
583F CATransform3DMakeAffineTransform {CATransform3D}{CGAffineTransform}
584F CATransform3DIsAffine B{CATransform3D}
585F CATransform3DGetAffineTransform {CGAffineTransform}{CATransform3D}
586
587f CoreData
588
589C NSUndefinedAttributeType 0
590C NSInteger16AttributeType 100
591C NSInteger32AttributeType 200
592C NSInteger64AttributeType 300
593C NSDecimalAttributeType 400
594C NSDoubleAttributeType 500
595C NSFloatAttributeType 600
596C NSStringAttributeType 700
597C NSBooleanAttributeType 800
598C NSDateAttributeType 900
599C NSBinaryDataAttributeType 1000
600C NSTransformableAttributeType 1800
601C NSObjectIDAttributeType 2000
602
603C NSUndefinedEntityMappingType 0x00
604C NSCustomEntityMappingType 0x01
605C NSAddEntityMappingType 0x02
606C NSRemoveEntityMappingType 0x03
607C NSCopyEntityMappingType 0x04
608C NSTransformEntityMappingType 0x05
609
610V NSMigrationManagerKey @
611V NSMigrationSourceObjectKey @
612V NSMigrationDestinationObjectKey @
613V NSMigrationEntityMappingKey @
614V NSMigrationPropertyMappingKey @
615V NSMigrationPropertyMappingKey @
616
617C NSManagedObjectResultType 0x00
618C NSManagedObjectIDResultType 0x01
619C NSDictionaryResultType 0x02
620
621C NSFetchRequestExpressionType 50
622
623C NSSnapshotEventUndoInsertion 1<<1
624C NSSnapshotEventUndoDeletion 1<<2
625C NSSnapshotEventUndoUpdate 1<<3
626C NSSnapshotEventRollback 1<<4
627C NSSnapshotEventRefresh 1<<5
628C NSSnapshotEventMergePolicy 1<<6
629
630V NSInsertedObjectsKey @
631V NSUpdatedObjectsKey @
632V NSDeletedObjectsKey @
633V NSRefreshedObjectsKey @
634V NSInvalidatedObjectsKey @
635V NSInvalidatedAllObjectsKey @
636
637V NSErrorMergePolicy @
638V NSMergeByPropertyStoreTrumpMergePolicy @
639V NSMergeByPropertyObjectTrumpMergePolicy @
640V NSOverwriteMergePolicy @
641V NSRollbackMergePolicy @
642
643V NSSQLiteStoreType @
644V NSBinaryStoreType @
645V NSInMemoryStoreType @
646
647V NSStoreTypeKey @
648V NSStoreUUIDKey @
649
650V NSAddedPersistentStoresKey @
651V NSRemovedPersistentStoresKey @
652V NSUUIDChangedPersistentStoresKey @
653
654V NSReadOnlyPersistentStoreOption @
655V NSPersistentStoreTimeoutOption @
656V NSSQLitePragmasOption @
657V NSSQLiteAnalyzeOption @
658V NSSQLiteManualVacuumOption @
659
660V NSIgnorePersistentStoreVersioningOption @
661V NSMigratePersistentStoresAutomaticallyOption @
662V NSInferMappingModelAutomaticallyOption @
663
664V NSStoreModelVersionHashesKey @
665V NSStoreModelVersionIdentifiersKey @
666V NSPersistentStoreOSCompatibility @
667
668C NSNoActionDeleteRule 0
669C NSNullifyDeleteRule 1
670C NSCascadeDeleteRule 2
671C NSDenyDeleteRule 3
672
673C NSFetchedResultsChangeInsert 1
674C NSFetchedResultsChangeDelete 2
675C NSFetchedResultsChangeMove 3
676C NSFetchedResultsChangeUpdate 4
677
678V NSDetailedErrorsKey @
679V NSValidationObjectErrorKey @
680V NSValidationKeyErrorKey @
681V NSValidationPredicateErrorKey @
682V NSValidationValueErrorKey @
683V NSAffectedStoresErrorKey @
684V NSAffectedObjectsErrorKey @
685
686V NSSQLiteErrorDomain @
687
688C NSManagedObjectValidationError 1550
689C NSValidationMultipleErrorsError 1560
690C NSValidationMissingMandatoryPropertyError 1570
691C NSValidationRelationshipLacksMinimumCountError 1580
692C NSValidationRelationshipExceedsMaximumCountError 1590
693C NSValidationRelationshipDeniedDeleteError 1600
694C NSValidationNumberTooLargeError 1610
695C NSValidationNumberTooSmallError 1620
696C NSValidationDateTooLateError 1630
697C NSValidationDateTooSoonError 1640
698C NSValidationInvalidDateError 1650
699C NSValidationStringTooLongError 1660
700C NSValidationStringTooShortError 1670
701C NSValidationStringPatternMatchingError 1680
702
703C NSManagedObjectContextLockingError 132000
704C NSPersistentStoreCoordinatorLockingError 132010
705C NSManagedObjectReferentialIntegrityError 133000
706C NSManagedObjectExternalRelationshipError 133010
707C NSManagedObjectMergeError 133020
708
709C NSPersistentStoreInvalidTypeError 134000
710C NSPersistentStoreTypeMismatchError 134010
711C NSPersistentStoreIncompatibleSchemaError 134020
712C NSPersistentStoreSaveError 134030
713C NSPersistentStoreIncompleteSaveError 134040
714C NSPersistentStoreOperationError 134070
715C NSPersistentStoreOpenError 134080
716C NSPersistentStoreTimeoutError 134090
717C NSPersistentStoreIncompatibleVersionHashError 134100
718
719C NSMigrationError 134110
720C NSMigrationCancelledError 134120
721C NSMigrationMissingSourceModelError 134130
722C NSMigrationMissingMappingModelError 134140
723C NSMigrationManagerSourceStoreError 134150
724C NSMigrationManagerDestinationStoreError 134160
725C NSEntityMigrationPolicyError 134170
726C NSInferredMappingModelError 134190
727C NSExternalRecordImportError 134200
728
729C NSCoreDataError 134060
730C NSSQLiteError 134180
731
732V NSCoreDataVersionNumber d
733
734C NSCoreDataVersionNumber10_4 46.0
735C NSCoreDataVersionNumber10_4_3 77.0
736C NSCoreDataVersionNumber10_5 185.0
737C NSCoreDataVersionNumber10_5_3 186.0
738
739f CoreFoundation
740
741# Base Utilities
742
743F CFRangeMake {CFRange}{CFIndex}{CFIndex}
744
745# CFComparatorFunction
746
747T CFIndex l
748T CFOptionFlags {UInt32}
749S CFRange "location"{CFIndex}"length"{CFIndex}
750
751E CFComparisonResult
752C kCFCompareLessThan -1
753C kCFCompareEqualTo 0
754C kCFCompareGreaterThan 1
755# CFComparisonResult CFComparisonResult
756
757C kCFNotFound -1
758
759V kCFCoreFoundationVersionNumber d
760
761C kCFCoreFoundationVersionNumber10_0 196.40
762C kCFCoreFoundationVersionNumber10_0_3 196.50
763C kCFCoreFoundationVersionNumber10_1 226.00
764C kCFCoreFoundationVersionNumber10_1_1 226.00
765C kCFCoreFoundationVersionNumber10_1_2 227.20
766C kCFCoreFoundationVersionNumber10_1_3 227.20
767C kCFCoreFoundationVersionNumber10_1_4 227.30
768C kCFCoreFoundationVersionNumber10_2 263.00
769C kCFCoreFoundationVersionNumber10_2_1 263.10
770C kCFCoreFoundationVersionNumber10_2_2 263.10
771C kCFCoreFoundationVersionNumber10_2_3 263.30
772C kCFCoreFoundationVersionNumber10_2_4 263.30
773C kCFCoreFoundationVersionNumber10_2_5 263.50
774C kCFCoreFoundationVersionNumber10_2_6 263.50
775C kCFCoreFoundationVersionNumber10_2_7 263.50
776C kCFCoreFoundationVersionNumber10_2_8 263.50
777C kCFCoreFoundationVersionNumber10_3 299.00
778C kCFCoreFoundationVersionNumber10_3_1 299.00
779C kCFCoreFoundationVersionNumber10_3_2 299.00
780C kCFCoreFoundationVersionNumber10_3_3 299.30
781C kCFCoreFoundationVersionNumber10_3_4 299.31
782C kCFCoreFoundationVersionNumber10_3_5 299.31
783C kCFCoreFoundationVersionNumber10_3_6 299.32
784C kCFCoreFoundationVersionNumber10_3_7 299.33
785C kCFCoreFoundationVersionNumber10_3_8 299.33
786C kCFCoreFoundationVersionNumber10_3_9 299.35
787C kCFCoreFoundationVersionNumber10_4 368.00
788C kCFCoreFoundationVersionNumber10_4_1 368.10
789C kCFCoreFoundationVersionNumber10_4_2 368.11
790C kCFCoreFoundationVersionNumber10_4_3 368.18
791C kCFCoreFoundationVersionNumber10_4_4_Intel 368.26
792C kCFCoreFoundationVersionNumber10_4_4_PowerPC 368.25
793C kCFCoreFoundationVersionNumber10_4_5_Intel 368.26
794C kCFCoreFoundationVersionNumber10_4_5_PowerPC 368.25
795C kCFCoreFoundationVersionNumber10_4_6_Intel 368.26
796C kCFCoreFoundationVersionNumber10_4_6_PowerPC 368.25
797C kCFCoreFoundationVersionNumber10_4_7 368.27
798C kCFCoreFoundationVersionNumber10_4_8 368.27
799C kCFCoreFoundationVersionNumber10_4_9 368.28
800C kCFCoreFoundationVersionNumber10_4_10 368.28
801C kCFCoreFoundationVersionNumber10_4_11 368.31
802C kCFCoreFoundationVersionNumber10_5 476.00
803C kCFCoreFoundationVersionNumber10_5_1 476.00
804C kCFCoreFoundationVersionNumber10_5_2 476.10
805C kCFCoreFoundationVersionNumber10_5_3 476.13
806C kCFCoreFoundationVersionNumber10_5_4 476.14
807C kCFCoreFoundationVersionNumber10_5_5 476.15
808C kCFCoreFoundationVersionNumber10_5_6 476.17
809
810# CFAllocator
811
812F CFAllocatorCreate {CFAllocatorRef}{CFAllocatorRef}{CFAllocatorContext}
813
814F CFAllocatorAllocate ^v{CFAllocatorRef}{CFIndex}{CFOptionFlags}
815F CFAllocatorDeallocate v{CFAllocatorRef}^v
816F CFAllocatorGetPreferredSizeForSize {CFIndex}{CFAllocatorRef}{CFIndex}{CFOptionFlags}
817F CFAllocatorReallocate ^v{CFAllocatorRef}^v{CFIndex}{CFOptionFlags}
818
819F CFAllocatorGetDefault {CFAllocatorRef}
820f CFAllocatorSetDefault v{CFAllocatorRef}
821
822F CFAllocatorGetContext v{CFAllocatorRef}^{CFAllocatorContext}
823
824F CFAllocatorGetTypeID {CFTypeID}
825
826# CFAllocatorAllocateCallBack
827# CFAllocatorCopyDescriptionCallBack
828# CFAllocatorDeallocateCallBack
829# CFAllocatorPreferredSizeCallBack
830# CFAllocatorReallocateCallBack
831# CFAllocatorReleaseCallBack
832# CFAllocatorRetainCallBack
833
834S CFAllocatorContext "version"{CFIndex}"info"^v"retain"{CFAllocatorRetainCallBack}"release"{CFAllocatorReleaseCallBack}"copyDescription"{CFAllocatorCopyDescriptionCallBack}"allocate"{CFAllocatorAllocateCallBack}"reallocate"{CFAllocatorReallocateCallBack}"deallocate"{CFAllocatorDeallocateCallBack}"preferredSize"{CFAllocatorPreferredSizeCallBack}
835# CFAllocatorContext CFAllocatorContext
836
837T CFAllocatorRef ^r{__CFAllocator}
838
839V kCFAllocatorDefault {CFAllocatorRef}
840V kCFAllocatorSystemDefault {CFAllocatorRef}
841V kCFAllocatorMalloc {CFAllocatorRef}
842V kCFAllocatorMallocZone {CFAllocatorRef}
843V kCFAllocatorNull {CFAllocatorRef}
844V kCFAllocatorUseContext {CFAllocatorRef}
845
846# CFType
847
848F CFGetAllocator {CFAllocatorRef}{CFTypeRef}
849F CFGetRetainCount {CFIndex}{CFTypeRef}
850F CFMakeCollectable {CFTypeRef}{CFTypeRef}
851F CFRelease v{CFTypeRef}
852F CFRetain {CFTypeRef}{CFTypeRef}
853
854F CFEqual
855
856F CFHash {CFHashCode}{CFTypeRef}
857
858F CFGetTypeID {CFTypeID}{CFTypeRef}
859F CFShow v{CFTypeRef}
860
861T CFHashCode L
862T CFTypeID L
863# technically ^v
864T CFTypeRef @
865
866# Private
867
868F CFShowStr v@
869
870f CoreGraphics
871
872T CGFloat f
873
874# CFByteOrderUtils
875
876E __CFByteOrder
877C CFByteOrderUnknown 0
878C CFByteOrderLittleEndian 1
879C CFByteOrderBigEndian 2
880T CFByteOrder __CFByteOrder
881
882# CGAffineTransform
883
884F CGAffineTransformMake {CGAffineTransform}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
885F CGAffineTransformMakeRotation {CGAffineTransform}{CGFloat}
886F CGAffineTransformMakeScale {CGAffineTransform}{CGFloat}{CGFloat}
887F CGAffineTransformMakeTranslation {CGAffineTransform}{CGFloat}{CGFloat}
888
889F CGAffineTransformTranslate {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
890F CGAffineTransformScale {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
891F CGAffineTransformRotate {CGAffineTransform}{CGAffineTransform}{CGFloat}
892F CGAffineTransformInvert {CGAffineTransform}{CGAffineTransform}
893F CGAffineTransformConcat {CGAffineTransform}{CGAffineTransform}{CGAffineTransform}
894
895F CGPointApplyAffineTransform {CGPoint}{CGPoint}{CGAffineTransform}
896F CGSizeApplyAffineTransform {CGSize}{CGSize}{CGAffineTransform}
897F CGRectApplyAffineTransform {CGRect}{CGRect}{CGAffineTransform}
898
899F CGAffineTransformIsIdentity B{CGAffineTransform}
900F CGAffineTransformEqualToTransform B{CGAffineTransform}{CGAffineTransform}
901
902S CGAffineTransform "a"{CGFloat}"b"{CGFloat}"c"{CGFloat}"d"{CGFloat}"tx"{CGFloat}"ty"{CGFloat}
903
904V CGAffineTransformIdentity {CGAffineTransform}
905
906# CGContext
907
908T CGContextRef ^{CGContext}
909
910E CGBlendMode
911C kCGBlendModeNormal 0
912C kCGBlendModeMultiply 1
913C kCGBlendModeScreen 2
914C kCGBlendModeOverlay 3
915C kCGBlendModeDarken 4
916C kCGBlendModeLighten 5
917C kCGBlendModeColorDodge 6
918C kCGBlendModeColorBurn 7
919C kCGBlendModeSoftLight 8
920C kCGBlendModeHardLight 9
921C kCGBlendModeDifference 10
922C kCGBlendModeExclusion 11
923C kCGBlendModeHue 12
924C kCGBlendModeSaturation 13
925C kCGBlendModeColor 14
926C kCGBlendModeLuminosity 15
927C kCGBlendModeClear 16
928C kCGBlendModeCopy 17
929C kCGBlendModeSourceIn 18
930C kCGBlendModeSourceOut 19
931C kCGBlendModeSourceAtop 20
932C kCGBlendModeDestinationOver 21
933C kCGBlendModeDestinationIn 22
934C kCGBlendModeDestinationOut 23
935C kCGBlendModeDestinationAtop 24
936C kCGBlendModeXOR 25
937C kCGBlendModePlusDarker 26
938C kCGBlendModePlusLighter 27
939
940E CGInterpolationQuality
941C kCGInterpolationDefault 0
942C kCGInterpolationNone 1
943C kCGInterpolationLow 2
944C kCGInterpolationHigh 3
945
946E CGLineCap
947C kCGLineCapButt 0
948C kCGLineCapRound 1
949C kCGLineCapSquare 2
950
951E CGLineJoin
952C kCGLineJoinMiter 0
953C kCGLineJoinRound 1
954C kCGLineJoinBevel 2
955
956E CGTextDrawingMode
957C kCGTextFill 0
958C kCGTextStroke 1
959C kCGTextFillStroke 2
960C kCGTextInvisible 3
961C kCGTextFillClip 4
962C kCGTextStrokeClip 5
963C kCGTextFillStrokeClip 6
964C kCGTextClip 7
965
966E CGTextEncoding
967C kCGEncodingFontSpecific 0
968C kCGEncodingMacRoman 1
969
970f CoreLocation
971
972T CLLocationDegrees d
973
974S CLLocationCoordinate2D "latitude"{CLLocationDegrees}"longitude"{CLLocationDegrees}
975
976T CLLocationAccuracy d
977
978V kCLLocationAccuracyBest d
979V kCLLocationAccuracyNearestTenMeters d
980V kCLLocationAccuracyHundredMeters d
981V kCLLocationAccuracyKilometer d
982V kCLLocationAccuracyThreeKilometers d
983
984T CLLocationSpeed d
985T CLLocationDirection d
986
987V kCLDistanceFilterNone d
988V kCLHeadingFilterNone d
989
990C kCLErrorLocationUnknown 0
991C kCLErrorDenied 1
992C kCLErrorNetwork 2
993C kCLErrorHeadingFailure 3
994
995V kCLErrorDomain @
996
997f Foundation
998
999T NSAppleEventManagerSuspensionID ^r{__NSAppleEventManagerSuspension}
1000
1001E _NSByteOrder
1002C NS_UnknownByteOrder CFByteOrderUnknown
1003C NS_LittleEndian CFByteOrderLittleEndian
1004C NS_BigEndian CFByteOrderBigEndian
1005
1006# NSComparator
1007
1008C NSOrderedAscending -1
1009C NSOrderedSame 0
1010C NSOrderedDescending 1
1011T NSComparisonResult {NSInteger}
1012
1013# NSDecimal
1014
1015T NSEnumerationOptions {NSUInteger}
1016# NSHashEnumerator
1017T NSHashTable {_NSHashTable}
1018# NSHashTableCallBacks
1019
1020T NSHashTableOptions {NSUInteger}
1021T NSInteger l
1022
1023# NSMapEnumerator
1024
1025T NSMapTable {_NSMapTable}
1026# NSMapTableKeyCallBacks
1027
1028T NSMapTableOptions {NSUInteger}
1029# NSMapTableValueCallBacks
1030
1031T NSPoint {_NSPoint}
1032T NSPointArray ^{NSPoint}
1033T NSPointPointer ^{NSPoint}
1034
1035S _NSRange "location"{NSUInteger}"length"{NSUInteger}
1036T NSRange {_NSRange}
1037T NSRangePointer ^{NSRange}
1038
1039S _NSRect "origin"{NSPoint}"size"{NSSize}
1040T NSRectArray ^{NSRect}
1041
1042C NSMinXEdge 0
1043C NSMinYEdge 1
1044C NSMaxXEdge 2
1045C NSMaxYEdge 3
1046
1047T NSRectPointer ^{NSRect}
1048
1049C NSApplicationDirectory 1
1050C NSDemoApplicationDirectory 2
1051C NSDeveloperApplicationDirectory 3
1052C NSAdminApplicationDirectory 4
1053C NSLibraryDirectory 5
1054C NSDeveloperDirectory 6
1055C NSUserDirectory 7
1056C NSDocumentationDirectory 8
1057C NSDocumentDirectory 9
1058C NSCoreServiceDirectory 10
1059C NSAutosavedInformationDirectory 11
1060C NSDesktopDirectory 12
1061C NSCachesDirectory 13
1062C NSApplicationSupportDirectory 14
1063C NSDownloadsDirectory 15
1064C NSInputMethodsDirectory 16
1065C NSMoviesDirectory 17
1066C NSMusicDirectory 18
1067C NSPicturesDirectory 19
1068C NSPrinterDescriptionDirectory 20
1069C NSSharedPublicDirectory 21
1070C NSPreferencePanesDirectory 22
1071C NSItemReplacementDirectory 99
1072C NSAllApplicationsDirectory 100
1073C NSAllLibrariesDirectory 101
1074T NSSearchPathDirectory {NSUInteger}
1075
1076C NSUserDomainMask 1
1077C NSLocalDomainMask 2
1078C NSNetworkDomainMask 4
1079C NSSystemDomainMask 8
1080C NSAllDomainsMask 0x0ffff
1081T NSSearchPathDomainMask {NSUInteger}
1082
1083S _NSSize "width"{CGFloat}"height"{CGFloat}
1084T NSSize {_NSSize}
1085
1086T NSSizePointer ^{NSSize}
1087T NSSocketNativeHandle i
1088T NSStringEncoding {NSUInteger}
1089S NSSwappedDouble "v"Q
1090S NSSwappedFloat "v"L
1091T NSTimeInterval d
1092# NSUncaughtExceptionHandler
1093T NSUInteger L
1094T NSZone {_NSZone}
1095
1096f MapKit
1097
1098C MKMapTypeStandard 0
1099C MKMapTypeSatellite 1
1100C MKMapTypeHybrid 2
1101
1102V MKErrorDomain @
1103
1104C MKErrorUnknown 1
1105C MKErrorServerFailure 2
1106C MKErrorLoadingThrottled 3
1107C MKErrorPlacemarkNotFound 4
1108
1109C MKPinAnnotationColorRed 0
1110C MKPinAnnotationColorGreen 1
1111C MKPinAnnotationColorPurple 2
1112
1113# MKCoordinateRegionMake
1114F MKCoordinateRegionMakeWithDistance {MKCoordinateRegion}{CLLocationCoordinate2D}{CLLocationDistance}{CLLocationDistance}
1115# MKCoordinateSpanMake
1116
1117C RTLD_LAZY 0x1
1118C RTLD_NOW 0x2
1119C RTLD_LOCAL 0x4
1120C RTLD_GLOBAL 0x8
1121
1122C RTLD_NOLOAD 0x10
1123C RTLD_NODELETE 0x80
1124C RTLD_FIRST 0x100
1125
1126C RTLD_NEXT -1
1127C RTLD_DEFAULT -2
1128C RTLD_SELF -3
1129
1130S dl_info "dli_fname"*"dli_fbase"v^"dli_sname"*"dli_saddr"^v
1131T Dl_info {dl_info}
1132
1133F dladdr i^rv^{dl_info}
1134F dlclose i^v
1135F dlerror *
1136F dlopen ^v*i
1137F dlsym ^v^v*
1138F dlopen_preflight B*