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