]> git.saurik.com Git - cycript.git/blame - Bridge.def
Implemented @property access, made Pointer.toCYON printf %p, added UIWindow bridge...
[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
4afefdd9
JF
281# UIWindow
282
283V UIWindowLevelNormal f
284V UIWindowLevelAlert f
285V UIWindowLevelStatusBar f
286
287V UIKeyboardCenterBeginUserInfoKey @
288V UIKeyboardCenterEndUserInfoKey @
289V UIKeyboardBoundsUserInfoKey @
290V UIKeyboardAnimationCurveUserInfoKey @
291V UIKeyboardAnimationDurationUserInfoKey @
292
9e20b0b7 293# Functions
88c977fa 294
88c977fa 295F UIApplicationMain ii^^c@@
9e20b0b7 296
88c977fa
JF
297F UIImageJPEGRepresentation @@
298F UIImagePNGRepresentation @@
299F UIImageWriteToSavedPhotosAlbum v@@:^v
300
9e20b0b7
JF
301F UISaveVideoAtPathToSavedPhotosAlbum v@@:^v
302F UIVideoAtPathIsCompatibleWithSavedPhotosAlbum B@
303
304F UIGraphicsGetCurrentContext @
305F UIGraphicsPushContext v@
306F UIGraphicsPopContext v
307F UIGraphicsBeginImageContext v{CGSize=ff}
308F UIGraphicsGetImageFromCurrentImageContext @
309F UIGraphicsEndImageContext v
310F UIRectClip v{CGRect={CGPoint=ff}{CGSize=ff}}
311F UIRectFill v{CGRect={CGPoint=ff}{CGSize=ff}}
312F UIRectFillUsingBlendMode v{CGRect={CGPoint=ff}{CGSize=ff}}i
313F UIRectFrame v{CGRect={CGPoint=ff}{CGSize=ff}}
314F UIRectFrameUsingBlendMode v{CGRect={CGPoint=ff}{CGSize=ff}}i
315
316F CGPointFromString {CGPoint=ff}@
317F CGRectFromString {CGRect={CGPoint=ff}{CGSize=ff}}@
318F CGSizeFromString {CGSize=ff}@
319F CGAffineTransformFromString {CGAffineTransform=ffffff}@
320F UIEdgeInsetsFromString {UIEdgeInsets=ffff}@
321F NSStringFromCGPoint @{CGPoint=ff}
322F NSStringFromCGRect @{CGRect={CGPoint=ff}{CGSize=ff}}
323F NSStringFromCGSize @{CGSize=ff}
324F NSStringFromCGAffineTransform @{CGAffineTransform=ffffff}
325F NSStringFromUIEdgeInsets @{UIEdgeInsets=ffff}
326
327F UIEdgeInsetsMake {UIEdgeInsets=ffff}ffff
328F UIEdgeInsetsEqualToEdgeInsets B{UIEdgeInsets=ffff}{UIEdgeInsets=ffff}
329F UIEdgeInsetsInsetRect {CGRect={CGPoint=ff}{CGSize=ff}}{CGRect={CGPoint=ff}{CGSize=ff}}{UIEdgeInsets=ffff}
330
331# XXX: UIInterfaceOrientationIsPortrait
332# XXX: UIInterfaceOrientationIsLandscape
333
334# XXX: UIDeviceOrientationIsValidInterfaceOrientation
335# XXX: UIDeviceOrientationIsPortrait
336# XXX: UIDeviceOrientationIsLandscape
337
338F UIAccessibilityPostNotification vI@
339
340# Miscellaneous
341
342F UIApplicationUseLegacyEvents vB
343
88c977fa
JF
344F UIKeyboardDisableAutomaticAppearance v
345F UIKeyboardEnableAutomaticAppearance v
346F UIKeyboardInputModeUsesKBStar B@
347
348F _UIImageWithName @@
349
1dbba6cc 350F UIFormattedPhoneNumberFromString @@
88c977fa
JF
351F UIUnformattedPhoneNumberFromString @@
352
353V UIApp @
354
355V kUIButtonBarButtonAction @
356V kUIButtonBarButtonInfo @
357V kUIButtonBarButtonInfoOffset @
358V kUIButtonBarButtonSelectedInfo @
359V kUIButtonBarButtonSizeToFit @
360V kUIButtonBarButtonStyle @
361V kUIButtonBarButtonTag @
362V kUIButtonBarButtonTarget @
363V kUIButtonBarButtonTitle @
364V kUIButtonBarButtonTitleVerticalHeight @
365V kUIButtonBarButtonTitleWidth @
366V kUIButtonBarButtonType @
367
368V UIKeyboardAnimationCurveUserInfoKey @
369V UIKeyboardAnimationDurationUserInfoKey @
370V UIKeyboardBoundsUserInfoKey @
371V UIKeyboardCenterBeginUserInfoKey @
372V UIKeyboardCenterEndUserInfoKey @
373V UIKeyboardRequiresInternationalKey @
374
375V UIKeyboardCandidateCorrectionDidChangeNotification @
376V UIKeyboardCurrentInputModeDidChangeNotification @
377V UIKeyboardDefaultsDidChangeNotification @
378V UIKeyboardDidHideNotification @
379V UIKeyboardDidShowNotification @
380V UIKeyboardEmptyDelegateNotification @
381V UIKeyboardWillHideNotification @
382V UIKeyboardWillShowNotification @
383
384V UIWebViewDidReceiveMessageNotification @
385V UIWebViewDidClearMessagesNotification @
386V UIWebViewGrowsAndShrinksToFitHeight f
387V UIWebViewGrowsAndShrinksToFitWidth f
388V UIWebViewScalesToFitScale f
389
390f AddressBook
391
392F ABAddressBookAddRecord B@@^@
393F ABAddressBookCopyArrayOfAllGroups @@
394F ABAddressBookCopyArrayOfAllPeople @@
395F ABAddressBookCopyLocalizedLabel @@
396F ABAddressBookCreate @
397F ABAddressBookGetGroupCount l@
398F ABAddressBookGetPersonCount l@
399F ABAddressBookHasUnsavedChanges B@
400F ABAddressBookRegisterExternalChangeCallback v@^?^v
401F ABAddressBookRemoveRecord B@@^@
402F ABAddressBookRevert v@
403F ABAddressBookSave B@^@
404F ABAddressBookUnregisterExternalChangeCallback v@^?^v
405
406V ABAddressBookErrorDomain @
407C kABOperationNotPermittedByStoreError 0
408
409F ABMultiValueCopyArrayOfAllValues @@
410F ABMultiValueCopyLabelAtIndex @@l
411F ABMultiValueCopyValueAtIndex @@l
412F ABMultiValueGetCount l@
413F ABMultiValueGetFirstIndexOfValue l@@
414F ABMultiValueGetIdentifierAtIndex i@l
415F ABMultiValueGetIndexForIdentifier l@i
416F ABMultiValueGetPropertyType S@
417
418C kABMultiValueInvalidIdentifier -1
419
420F ABMultiValueAddValueAndLabel @@@^i
421F ABMultiValueCreateMutable @S
422F ABMultiValueCreateMutableCopy @@
423F ABMultiValueInsertValueAndLabelAtIndex B@@@l^i
424F ABMultiValueRemoveValueAndLabelAtIndex B@l
425F ABMultiValueReplaceLabelAtIndex B@@l
426F ABMultiValueReplaceValueAtIndex B@@l
427
428F ABRecordCopyCompositeName @@
429F ABRecordCopyValue @@i
430F ABRecordGetRecordID i@
431F ABRecordGetRecordType I@
432F ABRecordRemoveValue B@i^@
433F ABRecordSetValue B@i@^@
434
435C kABPersonType 0
436C kABGroupType 1
437
438# this was (1<<8)
439C kABMultiValueMask 0x100
440
441C kABInvalidPropertyType 0x0
442C kABStringPropertyType 0x1
443C kABIntegerPropertyType 0x2
444C kABRealPropertyType 0x3
445C kABDateTimePropertyType 0x4
446C kABDictionaryPropertyType 0x5
447C kABMultiStringPropertyType 0x101
448C kABMultiIntegerPropertyType 0x102
449C kABMultiRealPropertyType 0x103
450C kABMultiDateTimePropertyType 0x104
451C kABMultiDictionaryPropertyType 0x105
452
453C kABRecordInvalidID -1
454C kABPropertyInvalidID -1
455
456F ABAddressBookGetGroupWithRecordID @@i
457F ABGroupAddMember B@@^@
458F ABGroupCopyArrayOfAllMembers @@
459F ABGroupCopyArrayOfAllMembersWithSortOrdering @@I
460F ABGroupCreate @
461F ABGroupRemoveMember B@@^@
462
463V kABGroupNameProperty i
464
465F ABAddressBookCopyPeopleWithName @@@
466F ABAddressBookGetPersonWithRecordID @@i
467F ABPersonComparePeopleByName i@@I
468F ABPersonCopyImageData @@
469F ABPersonCopyLocalizedPropertyName @i
470F ABPersonCreate @
471F ABPersonGetCompositeNameFormat I
472F ABPersonGetSortOrdering I
473F ABPersonGetTypeOfProperty SI
474F ABPersonHasImageData B@
475F ABPersonRemoveImageData B@^@
476F ABPersonSetImageData B@@^@
477
478C kABPersonSortByFirstName 0
479C kABPersonSortByLastName 1
480
481C kABPersonCompositeNameFormatFirstNameFirst 0
482C kABPersonCompositeNameFormatLastNameFirst 1
483
484V kABPersonFirstNameProperty i
485V kABPersonLastNameProperty i
486V kABPersonMiddleNameProperty i
487V kABPersonPrefixProperty i
488V kABPersonSuffixProperty i
489V kABPersonNicknameProperty i
490V kABPersonFirstNamePhoneticProperty i
491V kABPersonLastNamePhoneticProperty i
492V kABPersonMiddleNamePhoneticProperty i
493V kABPersonOrganizationProperty i
494V kABPersonJobTitleProperty i
495V kABPersonDepartmentProperty i
496V kABPersonEmailProperty i
497V kABPersonBirthdayProperty i
498V kABPersonNoteProperty i
499V kABPersonCreationDateProperty i
500V kABPersonModificationDateProperty i
501
502V kABPersonAddressProperty i
503V kABPersonAddressStreetKey @
504V kABPersonAddressCityKey @
505V kABPersonAddressStateKey @
506V kABPersonAddressZIPKey @
507V kABPersonAddressCountryKey @
508V kABPersonAddressCountryCodeKey @
509
510V kABPersonDateProperty i
511V kABPersonAnniversaryLabel @
512
513V kABPersonKindProperty i
514V kABPersonKindPerson @
515V kABPersonKindOrganization @
516
517V kABPersonPhoneProperty i
518V kABPersonPhoneMobileLabel @
519V kABPersonPhoneIPhoneLabel @
520V kABPersonPhoneMainLabel @
521V kABPersonPhoneHomeFAXLabel @
522V kABPersonPhoneWorkFAXLabel @
523V kABPersonPhonePagerLabel @
524
525V kABPersonInstantMessageProperty i
526V kABPersonInstantMessageServiceKey @
527V kABPersonInstantMessageServiceYahoo @
528V kABPersonInstantMessageServiceJabber @
529V kABPersonInstantMessageServiceMSN @
530V kABPersonInstantMessageServiceICQ @
531V kABPersonInstantMessageServiceAIM @
532V kABPersonInstantMessageUsernameKey @
533
534V kABPersonURLProperty i
535V kABPersonHomePageLabel @
536
537V kABPersonRelatedNamesProperty i
538V kABPersonMotherLabel @
539V kABPersonFatherLabel @
540V kABPersonParentLabel @
541V kABPersonSisterLabel @
542V kABPersonBrotherLabel @
543V kABPersonChildLabel @
544V kABPersonFriendLabel @
545V kABPersonSpouseLabel @
546V kABPersonPartnerLabel @
547V kABPersonManagerLabel @
548V kABPersonAssistantLabel @
549
550V kABWorkLabel @
551V kABHomeLabel @
552V kABOtherLabel @
553
88c977fa
JF
554f CoreData
555
556C NSUndefinedAttributeType 0
557C NSInteger16AttributeType 100
558C NSInteger32AttributeType 200
559C NSInteger64AttributeType 300
560C NSDecimalAttributeType 400
561C NSDoubleAttributeType 500
562C NSFloatAttributeType 600
563C NSStringAttributeType 700
564C NSBooleanAttributeType 800
565C NSDateAttributeType 900
566C NSBinaryDataAttributeType 1000
567C NSTransformableAttributeType 1800
568C NSObjectIDAttributeType 2000
569
570C NSUndefinedEntityMappingType 0x00
571C NSCustomEntityMappingType 0x01
572C NSAddEntityMappingType 0x02
573C NSRemoveEntityMappingType 0x03
574C NSCopyEntityMappingType 0x04
575C NSTransformEntityMappingType 0x05
576
577V NSMigrationManagerKey @
578V NSMigrationSourceObjectKey @
579V NSMigrationDestinationObjectKey @
580V NSMigrationEntityMappingKey @
581V NSMigrationPropertyMappingKey @
582V NSMigrationPropertyMappingKey @
583
584C NSManagedObjectResultType 0x00
585C NSManagedObjectIDResultType 0x01
586C NSDictionaryResultType 0x02
587
588C NSFetchRequestExpressionType 50
589
590C NSSnapshotEventUndoInsertion 1<<1
591C NSSnapshotEventUndoDeletion 1<<2
592C NSSnapshotEventUndoUpdate 1<<3
593C NSSnapshotEventRollback 1<<4
594C NSSnapshotEventRefresh 1<<5
595C NSSnapshotEventMergePolicy 1<<6
596
597V NSInsertedObjectsKey @
598V NSUpdatedObjectsKey @
599V NSDeletedObjectsKey @
600V NSRefreshedObjectsKey @
601V NSInvalidatedObjectsKey @
602V NSInvalidatedAllObjectsKey @
603
604V NSErrorMergePolicy @
605V NSMergeByPropertyStoreTrumpMergePolicy @
606V NSMergeByPropertyObjectTrumpMergePolicy @
607V NSOverwriteMergePolicy @
608V NSRollbackMergePolicy @
609
610V NSSQLiteStoreType @
611V NSBinaryStoreType @
612V NSInMemoryStoreType @
613
614V NSStoreTypeKey @
615V NSStoreUUIDKey @
616
617V NSAddedPersistentStoresKey @
618V NSRemovedPersistentStoresKey @
619V NSUUIDChangedPersistentStoresKey @
620
621V NSReadOnlyPersistentStoreOption @
622V NSPersistentStoreTimeoutOption @
623V NSSQLitePragmasOption @
624V NSSQLiteAnalyzeOption @
625V NSSQLiteManualVacuumOption @
626
627V NSIgnorePersistentStoreVersioningOption @
628V NSMigratePersistentStoresAutomaticallyOption @
629V NSInferMappingModelAutomaticallyOption @
630
631V NSStoreModelVersionHashesKey @
632V NSStoreModelVersionIdentifiersKey @
633V NSPersistentStoreOSCompatibility @
634
635C NSNoActionDeleteRule 0
636C NSNullifyDeleteRule 1
637C NSCascadeDeleteRule 2
638C NSDenyDeleteRule 3
639
640C NSFetchedResultsChangeInsert 1
641C NSFetchedResultsChangeDelete 2
642C NSFetchedResultsChangeMove 3
643C NSFetchedResultsChangeUpdate 4
644
645V NSDetailedErrorsKey @
646V NSValidationObjectErrorKey @
647V NSValidationKeyErrorKey @
648V NSValidationPredicateErrorKey @
649V NSValidationValueErrorKey @
650V NSAffectedStoresErrorKey @
651V NSAffectedObjectsErrorKey @
652
653V NSSQLiteErrorDomain @
654
655C NSManagedObjectValidationError 1550
656C NSValidationMultipleErrorsError 1560
657C NSValidationMissingMandatoryPropertyError 1570
658C NSValidationRelationshipLacksMinimumCountError 1580
659C NSValidationRelationshipExceedsMaximumCountError 1590
660C NSValidationRelationshipDeniedDeleteError 1600
661C NSValidationNumberTooLargeError 1610
662C NSValidationNumberTooSmallError 1620
663C NSValidationDateTooLateError 1630
664C NSValidationDateTooSoonError 1640
665C NSValidationInvalidDateError 1650
666C NSValidationStringTooLongError 1660
667C NSValidationStringTooShortError 1670
668C NSValidationStringPatternMatchingError 1680
669
670C NSManagedObjectContextLockingError 132000
671C NSPersistentStoreCoordinatorLockingError 132010
672C NSManagedObjectReferentialIntegrityError 133000
673C NSManagedObjectExternalRelationshipError 133010
674C NSManagedObjectMergeError 133020
675
676C NSPersistentStoreInvalidTypeError 134000
677C NSPersistentStoreTypeMismatchError 134010
678C NSPersistentStoreIncompatibleSchemaError 134020
679C NSPersistentStoreSaveError 134030
680C NSPersistentStoreIncompleteSaveError 134040
681C NSPersistentStoreOperationError 134070
682C NSPersistentStoreOpenError 134080
683C NSPersistentStoreTimeoutError 134090
684C NSPersistentStoreIncompatibleVersionHashError 134100
685
686C NSMigrationError 134110
687C NSMigrationCancelledError 134120
688C NSMigrationMissingSourceModelError 134130
689C NSMigrationMissingMappingModelError 134140
690C NSMigrationManagerSourceStoreError 134150
691C NSMigrationManagerDestinationStoreError 134160
692C NSEntityMigrationPolicyError 134170
693C NSInferredMappingModelError 134190
694C NSExternalRecordImportError 134200
695
696C NSCoreDataError 134060
697C NSSQLiteError 134180
698
699V NSCoreDataVersionNumber d
700
701C NSCoreDataVersionNumber10_4 46.0
702C NSCoreDataVersionNumber10_4_3 77.0
703C NSCoreDataVersionNumber10_5 185.0
704C NSCoreDataVersionNumber10_5_3 186.0
705
c93b7f73
JF
706f CoreFoundation
707
708# XXX: incomplete by any stretch of the imagination
709
710F CFShow v@
711F CFShowStr v@
712
9e20b0b7
JF
713f CoreGraphics
714
715# CGAffineTransform
716
717F CGAffineTransformMake {CGAffineTransform=ffffff}ffffff
718F CGAffineTransformMakeRotation {CGAffineTransform=ffffff}f
719F CGAffineTransformMakeScale {CGAffineTransform=ffffff}ff
720F CGAffineTransformMakeTranslation {CGAffineTransform=ffffff}ff
721
722F CGAffineTransformTranslate {CGAffineTransform=ffffff}{CGAffineTransform=ffffff}ff
723F CGAffineTransformScale {CGAffineTransform=ffffff}{CGAffineTransform=ffffff}ff
724F CGAffineTransformRotate {CGAffineTransform=ffffff}{CGAffineTransform=ffffff}f
725F CGAffineTransformInvert {CGAffineTransform=ffffff}{CGAffineTransform=ffffff}
726F CGAffineTransformConcat {CGAffineTransform=ffffff}{CGAffineTransform=ffffff}{CGAffineTransform=ffffff}
727
728F CGPointApplyAffineTransform {CGPoint=ff}{CGPoint=ff}{CGAffineTransform=ffffff}
729F CGSizeApplyAffineTransform {CGSize=ff}{CGSize=ff}{CGAffineTransform=ffffff}
730F CGRectApplyAffineTransform {CGRect={CGPoint=ff}{CGSize=ff}}{CGRect={CGPoint=ff}{CGSize=ff}}{CGAffineTransform=ffffff}
731
732F CGAffineTransformIsIdentity B{CGAffineTransform=ffffff}
733F CGAffineTransformEqualToTransform B{CGAffineTransform=ffffff}{CGAffineTransform=ffffff}
734
735S CGAffineTransform "a"f"b"f"c"f"d"f"tx"f"ty"f
736
737V CGAffineTransformIdentity {CGAffineTransform=ffffff}
738
c93b7f73
JF
739f CoreLocation
740
741V kCLLocationAccuracyBest d
742V kCLLocationAccuracyNearestTenMeters d
743V kCLLocationAccuracyHundredMeters d
744V kCLLocationAccuracyKilometer d
745V kCLLocationAccuracyThreeKilometers d
746
747V kCLDistanceFilterNone d
748V kCLHeadingFilterNone d
749
750C kCLErrorLocationUnknown 0
751C kCLErrorDenied 1
752C kCLErrorNetwork 2
753C kCLErrorHeadingFailure 3
754
755V kCLErrorDomain @
756
88c977fa
JF
757f MapKit
758
759C MKMapTypeStandard 0
760C MKMapTypeSatellite 1
761C MKMapTypeHybrid 2
762
763V MKErrorDomain @
764
765C MKErrorUnknown 1
766C MKErrorServerFailure 2
767C MKErrorLoadingThrottled 3
768C MKErrorPlacemarkNotFound 4
769
770C MKPinAnnotationColorRed 0
771C MKPinAnnotationColorGreen 1
772C MKPinAnnotationColorPurple 2
773
774# MKCoordinateRegionMake
775# MKCoordinateRegionMakeWithDistance
776# MKCoordinateSpanMake
b09da87b 777
953647c1
JF
778C RTLD_LAZY 0x1
779C RTLD_NOW 0x2
780C RTLD_LOCAL 0x4
781C RTLD_GLOBAL 0x8
782
783C RTLD_NOLOAD 0x10
784C RTLD_NODELETE 0x80
785C RTLD_FIRST 0x100
786
787C RTLD_NEXT -1
788C RTLD_DEFAULT -2
789C RTLD_SELF -3
790
791# XXX: dladdr
792F dlclose i^v
793F dlerror *
794F dlopen ^v*i
795F dlsym ^v^v*
796F dlopen_preflight B*