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