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