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