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