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