]> git.saurik.com Git - cycript.git/blame - Bridge.def
Attempting to better abstract FreeBSD.
[cycript.git] / Bridge.def
CommitLineData
88c977fa
JF
1C YES true
2C NO false
3C nil null
2385c806 4C NULL null
88c977fa 5
4e8c99fb 6: applicationDidFinishLaunching: v12@0:4@8
953647c1 7
534fb6da
JF
8T id @
9
10T short s
11T int i
12T long l
13
9561f209 14T byte C
534fb6da
JF
15T uint I
16T ulong L
17T ushort S
18
19T char c
20T boolean B
21T float f
22T double d
61933e16 23
bb1c419c 24T Boolean B
9561f209
JF
25
26T SInt8 {char}
27T UInt8 {byte}
28T SInt16 {short}
29T UInt16 {ushort}
bb1c419c 30T SInt32 {int}
9561f209 31T UInt32 {uint}
bb1c419c 32
bd17e6f3
JF
33S CGPoint "x"f"y"f
34S CGRect "origin"{CGPoint}"size"{CGSize}
35S CGSize "width"f"height"f
36
d63c39cc
JF
37l c
38
39S nlist_64 "_un"(?="n_strx"I)"n_type"C"n_sect"C"n_desc"S"n_value"Q
40
930aa21b
JF
41F malloc ^vL
42F free v^v
43
88c977fa
JF
44l objc
45
46F class_addIvar B#*LC*
47F class_addMethod B#:^?*
48F class_addProtocol B#@
49F class_conformsToProtocol B#@
50F class_copyIvarList ^^{objc_ivar=}#^I
51F class_copyMethodList ^^{objc_method=}#^I
52F class_copyPropertyList ^^{objc_property=}#^I
53F class_copyProtocolList ^@#^I
54F class_createInstance @#L
55F class_getClassMethod ^{objc_method=}#:
56F class_getClassVariable ^{objc_ivar=}#*
57F class_getInstanceMethod ^{objc_method=}#:
58F class_getInstanceSize L#
59F class_getInstanceVariable ^{objc_ivar=}#*
60F class_getIvarLayout *#
61F class_getMethodImplementation ^?#:
62F class_getMethodImplementation_stret ^?#:
63F class_getName *#
64F class_getProperty ^{objc_property=}#*
65F class_getSuperclass ##
66F class_getVersion i#
67F class_getWeakIvarLayout *#
68F class_isMetaClass B#
69F class_replaceMethod ^?#:^?*
70F class_respondsToSelector B#:
71F class_setIvarLayout v#*
72F class_setSuperclass ###
73F class_setVersion v#i
74F class_setWeakIvarLayout v#*
75
76F ivar_getName *^{objc_ivar=}
77F ivar_getOffset i^{objc_ivar=}
78F ivar_getTypeEncoding *^{objc_ivar=}
79
80F method_copyArgumentType ^c^{objc_method=}I
81F method_copyReturnType ^c^{objc_method=}
82F method_exchangeImplementations v^{objc_method=}^{objc_method=}
83F method_getArgumentType v^{objc_method=}I^cL
84F method_getImplementation ^?^{objc_method=}
85F method_getName :^{objc_method=}
86F method_getNumberOfArguments I^{objc_method=}
87F method_getReturnType v^{objc_method=}^cL
88F method_getTypeEncoding *^{objc_method=}
89F method_setImplementation ^?^{objc_method=}^?
90
b09da87b 91# this should return # or ^v ?
88c977fa
JF
92F objc_allocateClassPair ##*L
93F objc_copyProtocolList ^@^I
94F objc_duplicateClass ##*L
95F objc_getClass #*
96F objc_getClassList i^#i
97F objc_getFutureClass #*
98F objc_getMetaClass @*
99F objc_getProtocol @*
100F objc_getRequiredClass @*
101F objc_lookUpClass @*
102F objc_registerClassPair v#
103F objc_setFutureClass v#*
104
105F object_copy @@L
106F object_dispose @@
107F object_getClass #@
108F object_getClassName *@
109F object_getIndexedIvars ^v@
110F object_getInstanceVariable ^{objc_ivar=}@*^^v
111F object_getIvar @@^{objc_ivar=}
112F object_setClass #@#
113F object_setInstanceVariable ^{objc_ivar=}@*^v
114F object_setIvar v@^{objc_ivar=}@
115
116F property_getAttributes *^{objc_property=}
117F property_getName *^{objc_property=}
118
119F protocol_conformsToProtocol B@@
120F protocol_copyMethodDescriptionList ^{objc_method_description=:*}@BB^I
121F protocol_copyPropertyList ^{objc_property=}@^I
122F protocol_copyProtocolList ^@@^I
123F protocol_getMethodDescription {objc_method_description=:*}@:BB
124F protocol_getName *@
125F protocol_getProperty ^{objc_property=}@*BB
126F protocol_isEqual B@@
127
128F sel_getName *:
129F sel_getUid :*
130F sel_isEqual B::
131F sel_registerName :*
132
133f UIKit
134
9e20b0b7
JF
135C UIBarStyleDefault 0
136C UIBarStyleBlack 1
137C UIBarStyleBlackOpaque 2
138C UIBarStyleBlackTranslucent 3
61933e16 139T UIBarStyle i
9e20b0b7
JF
140
141C UIDataDetectorTypePhoneNumber (1<<0)
142C UIDataDetectorTypeLink (1<<1)
143C UIDataDetectorTypeNone 0
9e20b0b7 144C UIDataDetectorTypeAll -1
61933e16
JF
145T UIDataDetectorTypes {NSUInteger}
146
147S UIEdgeInsets "top"{CGFloat}"left"{CGFloat}"bottom"{CGFloat}"right"{CGFloat}
9e20b0b7
JF
148
149# UINavigationBar
150
151# UINavigationController
152
153V UINavigationControllerHideShowBarDuration f
154
155# UINavigationControllerDelegate
156
157: navigationController:willShowViewController:animated: v20@0:4@8@12B16
158: navigationController:didShowViewController:animated: v20@0:4@8@12B16
159
160# UIScrollView
161
162C UIScrollViewIndicatorStyleDefault 0
163C UIScrollViewIndicatorStyleBlack 1
164C UIScrollViewIndicatorStyleWhite 2
165
166V UIScrollViewDecelerationRateNormal f
167V UIScrollViewDecelerationRateFast f
168
169# UIScrollViewDelegate
170
171: scrollViewDidScroll: v12@0:4@8
172: scrollViewWillBeginDragging: v12@0:4@8
173: scrollViewDidEndDragging:willDecelerate: v16@0:4@8B12
174: scrollViewShouldScrollToTop: B12@0:4@8
175: scrollViewDidScrollToTop: v12@0:4@8
176: scrollViewWillBeginDecelerating: v12@0:4@8
177: scrollViewDidEndDecelerating: v12@0:4@8
178
179: viewForZoomingInScrollView: @12@0:4@8
180: scrollViewDidEndZooming:withView:atScale: v20@0:4@8@12f16
181
182: scrollViewDidEndScrollingAnimation: v12@0:4@8
183
184# UITabBar
185
186# UITabBarDelegate
187
188: tabBar:willBeginCustomizingItems: v16@0:4@8@12
189: tabBar:didBeginCustomizingItems: v16@0:4@8@12
190: tabBar:willBeginCustomizingItems:changed: v20@0:4@8@12B16
191: tabBar:didBeginCustomizingItems:changed: v20@0:4@8@12B16
192: tabBar:didSelectItem: v16@0:4@8@12
193
4e8c99fb
JF
194# UITableView
195
196C UITableViewStylePlain 0
197C UITableViewStyleGrouped 1
198
199C UITableViewScrollPositionNone 0
200C UITableViewScrollPositionTop 1
201C UITableViewScrollPositionMiddle 2
202C UITableViewScrollPositionBottom 3
203
204C UITableViewRowAnimationFade 0
205C UITableViewRowAnimationRight 1
206C UITableViewRowAnimationLeft 2
207C UITableViewRowAnimationTop 3
2f51d6ab 208C UITableViewRowAnimationBottom 4
4e8c99fb
JF
209C UITableViewRowAnimationNone 5
210
211V UITableViewIndexSearch @
212
213# UITableViewCell
214
215C UITableViewCellStyleDefault 0
216C UITableViewCellStyleValue1 1
217C UITableViewCellStyleValue2 2
218C UITableViewCellStyleSubtitle 3
219
220C UITableViewCellStateDefaultMask 0
221C UITableViewCellStateEditingMask (1<<0)
222C UITableViewCellStateShowingDeleteConfirmationMask (1<<1)
223
224C UITableViewCellSelectionStyleNone 0
225C UITableViewCellSelectionStyleBlue 1
226C UITableViewCellSelectionStyleGray 2
227
228C UITableViewCellEditingStyleNone 0
229C UITableViewCellEditingStyleDelete 1
230C UITableViewCellEditingStyleInsert 2
231
232C UITableViewCellAccessoryNone 0
233C UITableViewCellAccessoryDisclosureIndicator 1
234C UITableViewCellAccessoryDetailDisclosureButton 2
235C UITableViewCellAccessoryCheckmark 3
236
237C UITableViewCellSeparatorStyleNone 0
238C UITableViewCellSeparatorStyleSingleLine 1
239
9e20b0b7
JF
240# UITableViewController
241
4e8c99fb
JF
242# UITableViewDataSource
243
244: tableView:numberOfRowsInSection: i16@0:4@8i12
245: numberOfSectionsInTableView: i12@0:4@8
246: tableView:cellForRowAtIndexPath: @16@0:4@8@12
247: sectionIndexTitlesForTableView: @12@0:4@8
248: tableView:sectionForSectionIndexTitle:atIndex: i20@0:4@8@12i16
249: tableView:titleForHeaderInSection: @16@0:4@8i12
250: tableView:titleForFooterInSection: @16@0:4@8i12
251
252: tableView:commitEditingStyle:forRowAtIndexPath: v20@0:4@8i12@16
253: tableView:canEditRowAtIndexPath: B16@0:4@8@12
254
255: tableView:canMoveRowAtIndexPath: B16@0:4@8@12
256: tableView:moveRowAtIndexPath:toIndexPath: v20@0:4@8@12@16
257
9e20b0b7
JF
258# UIToolbar
259
4e8c99fb
JF
260# UIView
261
262C UIViewAnimationCurveEaseInOut 0
263C UIViewAnimationCurveEaseIn 1
264C UIViewAnimationCurveEaseOut 2
265C UIViewAnimationCurveLinear 3
266
267C UIViewContentModeScaleToFill 0
268C UIViewContentModeScaleAspectFit 1
269C UIViewContentModeScaleAspectFill 2
270C UIViewContentModeRedraw 3
271C UIViewContentModeCenter 4
272C UIViewContentModeTop 5
273C UIViewContentModeBottom 6
274C UIViewContentModeLeft 7
275C UIViewContentModeRight 8
276C UIViewContentModeTopLeft 9
277C UIViewContentModeTopRight 10
278C UIViewContentModeBottomLeft 11
279C UIViewContentModeBottomRight 12
280
281C UIViewAutoresizingNone 0
282C UIViewAutoresizingFlexibleLeftMargin (1<<0)
283C UIViewAutoresizingFlexibleWidth (1<<1)
284C UIViewAutoresizingFlexibleRightMargin (1<<2)
285C UIViewAutoresizingFlexibleTopMargin (1<<3)
286C UIViewAutoresizingFlexibleHeight (1<<4)
287C UIViewAutoresizingFlexibleBottomMargin (1<<5)
288
289C UIViewAnimationTransitionNone 0
290C UIViewAnimationTransitionFlipFromLeft 1
291C UIViewAnimationTransitionFlipFromRight 2
292C UIViewAnimationTransitionCurlUp 3
293C UIViewAnimationTransitionCurlDown 4
294
9e20b0b7
JF
295# UIViewController
296
297C UIModalTransitionStyleCoverVertical 0
298C UIModalTransitionStyleFlipHorizontal 1
299C UIModalTransitionStyleCrossDissolve 2
300
4e8c99fb
JF
301# UIWebView
302
303C UIWebViewNavigationTypeLinkClicked 0
304C UIWebViewNavigationTypeFormSubmitted 1
305C UIWebViewNavigationTypeBackForward 2
306C UIWebViewNavigationTypeReload 3
307C UIWebViewNavigationTypeFormResubmitted 4
308C UIWebViewNavigationTypeOther 5
309
310# UIWebViewDelegate
311
312: webView:shouldStartLoadWithRequest:navigationType: B20@0:4@8@12I16
313: webViewDidStartLoad: v12@0:4@8
314: webViewDidFinishLoad: v12@0:4@8
315: webView:didFailLoadWithError: v16@0:4@8@12
316
4afefdd9
JF
317# UIWindow
318
319V UIWindowLevelNormal f
320V UIWindowLevelAlert f
321V UIWindowLevelStatusBar f
322
323V UIKeyboardCenterBeginUserInfoKey @
324V UIKeyboardCenterEndUserInfoKey @
325V UIKeyboardBoundsUserInfoKey @
326V UIKeyboardAnimationCurveUserInfoKey @
327V UIKeyboardAnimationDurationUserInfoKey @
328
9e20b0b7 329# Functions
88c977fa 330
88c977fa 331F UIApplicationMain ii^^c@@
9e20b0b7 332
88c977fa
JF
333F UIImageJPEGRepresentation @@
334F UIImagePNGRepresentation @@
335F UIImageWriteToSavedPhotosAlbum v@@:^v
336
9e20b0b7
JF
337F UISaveVideoAtPathToSavedPhotosAlbum v@@:^v
338F UIVideoAtPathIsCompatibleWithSavedPhotosAlbum B@
339
340F UIGraphicsGetCurrentContext @
341F UIGraphicsPushContext v@
342F UIGraphicsPopContext v
61933e16 343F UIGraphicsBeginImageContext v{CGSize}
9e20b0b7
JF
344F UIGraphicsGetImageFromCurrentImageContext @
345F UIGraphicsEndImageContext v
61933e16
JF
346F UIRectClip v{CGRect}
347F UIRectFill v{CGRect}
348F UIRectFillUsingBlendMode v{CGRect}{CGBlendMode}
349F UIRectFrame v{CGRect}
350F UIRectFrameUsingBlendMode v{CGRect}{CGBlendMode}
351
352F CGPointFromString {CGPoint}@
353F CGRectFromString {CGRect}@
354F CGSizeFromString {CGSize}@
355F CGAffineTransformFromString {CGAffineTransform}@
9e20b0b7 356F UIEdgeInsetsFromString {UIEdgeInsets=ffff}@
61933e16
JF
357F NSStringFromCGPoint @{CGPoint}
358F NSStringFromCGRect @{CGRect}
359F NSStringFromCGSize @{CGSize}
360F NSStringFromCGAffineTransform @{CGAffineTransform}
9e20b0b7
JF
361F NSStringFromUIEdgeInsets @{UIEdgeInsets=ffff}
362
363F UIEdgeInsetsMake {UIEdgeInsets=ffff}ffff
364F UIEdgeInsetsEqualToEdgeInsets B{UIEdgeInsets=ffff}{UIEdgeInsets=ffff}
61933e16 365F UIEdgeInsetsInsetRect {CGRect}{CGRect}{UIEdgeInsets=ffff}
9e20b0b7
JF
366
367# XXX: UIInterfaceOrientationIsPortrait
368# XXX: UIInterfaceOrientationIsLandscape
369
370# XXX: UIDeviceOrientationIsValidInterfaceOrientation
371# XXX: UIDeviceOrientationIsPortrait
372# XXX: UIDeviceOrientationIsLandscape
373
374F UIAccessibilityPostNotification vI@
375
376# Miscellaneous
377
c239b9f8
JF
378F UIGetScreenImage @
379
2385c806
JF
380V UIAbbreviatedMonthDayFormat @
381V UIAbbreviatedWeekdayDateFormat @
382V UIAbbreviatedWeekdayFormat @
383V UIAbbreviatedWeekdayMonthDayFormat @
384V UIAbbreviatedWeekdayMonthDayMinutelessFormat @
385V UIAbbreviatedWeekdayMonthDayTimeFormat @
386V UIDatePickerDayFormat @
387V UIDatePickerMonthFormat @
388V UIDatePickerYearFormat @
389V UIHourFormat @
390V UIMinutelessTimeFormat @
391V UIMonthYearFormat @
392V UINoAMPMTimeFormat @
393V UIShortMonthDayFormat @
394V UIWeekdayAbbreviatedDateFormat @
395V UIWeekdayAbbreviatedNoYearDateFormat @
396V UIWeekdayFormat @
397V UIWeekdayNoYearDateFormat @
398
399F UIDateFormatStringForFormatType @@
400
9e20b0b7
JF
401F UIApplicationUseLegacyEvents vB
402
88c977fa
JF
403F UIKeyboardDisableAutomaticAppearance v
404F UIKeyboardEnableAutomaticAppearance v
405F UIKeyboardInputModeUsesKBStar B@
406
407F _UIImageWithName @@
408
1dbba6cc 409F UIFormattedPhoneNumberFromString @@
88c977fa
JF
410F UIUnformattedPhoneNumberFromString @@
411
412V UIApp @
413
414V kUIButtonBarButtonAction @
415V kUIButtonBarButtonInfo @
416V kUIButtonBarButtonInfoOffset @
417V kUIButtonBarButtonSelectedInfo @
418V kUIButtonBarButtonSizeToFit @
419V kUIButtonBarButtonStyle @
420V kUIButtonBarButtonTag @
421V kUIButtonBarButtonTarget @
422V kUIButtonBarButtonTitle @
423V kUIButtonBarButtonTitleVerticalHeight @
424V kUIButtonBarButtonTitleWidth @
425V kUIButtonBarButtonType @
426
88c977fa
JF
427V UIKeyboardRequiresInternationalKey @
428
429V UIKeyboardCandidateCorrectionDidChangeNotification @
430V UIKeyboardCurrentInputModeDidChangeNotification @
431V UIKeyboardDefaultsDidChangeNotification @
432V UIKeyboardDidHideNotification @
433V UIKeyboardDidShowNotification @
434V UIKeyboardEmptyDelegateNotification @
435V UIKeyboardWillHideNotification @
436V UIKeyboardWillShowNotification @
437
438V UIWebViewDidReceiveMessageNotification @
439V UIWebViewDidClearMessagesNotification @
440V UIWebViewGrowsAndShrinksToFitHeight f
441V UIWebViewGrowsAndShrinksToFitWidth f
442V UIWebViewScalesToFitScale f
443
444f AddressBook
445
9561f209
JF
446# Private
447
448F CPPhoneNumberCopyNetworkCountryCode @
449F ABCGetSharedAddressBook @
450F ABCFindPersonMatchingPhoneNumberWithCountry @@@@^i^i
451F ABCRecordCopyCompositeName @@
452F ABCFindPersonMatchingPhoneNumber @@@^i^i
453F ABCCopyLocalizedPropertyOrLabel @i
454
455# Public
456
88c977fa
JF
457F ABAddressBookAddRecord B@@^@
458F ABAddressBookCopyArrayOfAllGroups @@
459F ABAddressBookCopyArrayOfAllPeople @@
460F ABAddressBookCopyLocalizedLabel @@
461F ABAddressBookCreate @
462F ABAddressBookGetGroupCount l@
463F ABAddressBookGetPersonCount l@
464F ABAddressBookHasUnsavedChanges B@
465F ABAddressBookRegisterExternalChangeCallback v@^?^v
466F ABAddressBookRemoveRecord B@@^@
467F ABAddressBookRevert v@
468F ABAddressBookSave B@^@
469F ABAddressBookUnregisterExternalChangeCallback v@^?^v
470
471V ABAddressBookErrorDomain @
472C kABOperationNotPermittedByStoreError 0
473
474F ABMultiValueCopyArrayOfAllValues @@
475F ABMultiValueCopyLabelAtIndex @@l
476F ABMultiValueCopyValueAtIndex @@l
477F ABMultiValueGetCount l@
478F ABMultiValueGetFirstIndexOfValue l@@
479F ABMultiValueGetIdentifierAtIndex i@l
480F ABMultiValueGetIndexForIdentifier l@i
481F ABMultiValueGetPropertyType S@
482
483C kABMultiValueInvalidIdentifier -1
484
485F ABMultiValueAddValueAndLabel @@@^i
486F ABMultiValueCreateMutable @S
487F ABMultiValueCreateMutableCopy @@
488F ABMultiValueInsertValueAndLabelAtIndex B@@@l^i
489F ABMultiValueRemoveValueAndLabelAtIndex B@l
490F ABMultiValueReplaceLabelAtIndex B@@l
491F ABMultiValueReplaceValueAtIndex B@@l
492
493F ABRecordCopyCompositeName @@
494F ABRecordCopyValue @@i
495F ABRecordGetRecordID i@
496F ABRecordGetRecordType I@
497F ABRecordRemoveValue B@i^@
498F ABRecordSetValue B@i@^@
499
500C kABPersonType 0
501C kABGroupType 1
502
503# this was (1<<8)
504C kABMultiValueMask 0x100
505
506C kABInvalidPropertyType 0x0
507C kABStringPropertyType 0x1
508C kABIntegerPropertyType 0x2
509C kABRealPropertyType 0x3
510C kABDateTimePropertyType 0x4
511C kABDictionaryPropertyType 0x5
512C kABMultiStringPropertyType 0x101
513C kABMultiIntegerPropertyType 0x102
514C kABMultiRealPropertyType 0x103
515C kABMultiDateTimePropertyType 0x104
516C kABMultiDictionaryPropertyType 0x105
517
518C kABRecordInvalidID -1
519C kABPropertyInvalidID -1
520
521F ABAddressBookGetGroupWithRecordID @@i
522F ABGroupAddMember B@@^@
523F ABGroupCopyArrayOfAllMembers @@
524F ABGroupCopyArrayOfAllMembersWithSortOrdering @@I
525F ABGroupCreate @
526F ABGroupRemoveMember B@@^@
527
528V kABGroupNameProperty i
529
530F ABAddressBookCopyPeopleWithName @@@
531F ABAddressBookGetPersonWithRecordID @@i
532F ABPersonComparePeopleByName i@@I
533F ABPersonCopyImageData @@
534F ABPersonCopyLocalizedPropertyName @i
535F ABPersonCreate @
536F ABPersonGetCompositeNameFormat I
537F ABPersonGetSortOrdering I
538F ABPersonGetTypeOfProperty SI
539F ABPersonHasImageData B@
540F ABPersonRemoveImageData B@^@
541F ABPersonSetImageData B@@^@
542
543C kABPersonSortByFirstName 0
544C kABPersonSortByLastName 1
545
546C kABPersonCompositeNameFormatFirstNameFirst 0
547C kABPersonCompositeNameFormatLastNameFirst 1
548
549V kABPersonFirstNameProperty i
550V kABPersonLastNameProperty i
551V kABPersonMiddleNameProperty i
552V kABPersonPrefixProperty i
553V kABPersonSuffixProperty i
554V kABPersonNicknameProperty i
555V kABPersonFirstNamePhoneticProperty i
556V kABPersonLastNamePhoneticProperty i
557V kABPersonMiddleNamePhoneticProperty i
558V kABPersonOrganizationProperty i
559V kABPersonJobTitleProperty i
560V kABPersonDepartmentProperty i
561V kABPersonEmailProperty i
562V kABPersonBirthdayProperty i
563V kABPersonNoteProperty i
564V kABPersonCreationDateProperty i
565V kABPersonModificationDateProperty i
566
567V kABPersonAddressProperty i
568V kABPersonAddressStreetKey @
569V kABPersonAddressCityKey @
570V kABPersonAddressStateKey @
571V kABPersonAddressZIPKey @
572V kABPersonAddressCountryKey @
573V kABPersonAddressCountryCodeKey @
574
575V kABPersonDateProperty i
576V kABPersonAnniversaryLabel @
577
578V kABPersonKindProperty i
579V kABPersonKindPerson @
580V kABPersonKindOrganization @
581
582V kABPersonPhoneProperty i
583V kABPersonPhoneMobileLabel @
584V kABPersonPhoneIPhoneLabel @
585V kABPersonPhoneMainLabel @
586V kABPersonPhoneHomeFAXLabel @
587V kABPersonPhoneWorkFAXLabel @
588V kABPersonPhonePagerLabel @
589
590V kABPersonInstantMessageProperty i
591V kABPersonInstantMessageServiceKey @
592V kABPersonInstantMessageServiceYahoo @
593V kABPersonInstantMessageServiceJabber @
594V kABPersonInstantMessageServiceMSN @
595V kABPersonInstantMessageServiceICQ @
596V kABPersonInstantMessageServiceAIM @
597V kABPersonInstantMessageUsernameKey @
598
599V kABPersonURLProperty i
600V kABPersonHomePageLabel @
601
602V kABPersonRelatedNamesProperty i
603V kABPersonMotherLabel @
604V kABPersonFatherLabel @
605V kABPersonParentLabel @
606V kABPersonSisterLabel @
607V kABPersonBrotherLabel @
608V kABPersonChildLabel @
609V kABPersonFriendLabel @
610V kABPersonSpouseLabel @
611V kABPersonPartnerLabel @
612V kABPersonManagerLabel @
613V kABPersonAssistantLabel @
614
615V kABWorkLabel @
616V kABHomeLabel @
617V kABOtherLabel @
618
9561f209
JF
619f Calendar
620
621F CalDatabaseCopyEventOccurrencesInDateRange {CFArrayRef}^{CalDatabase}^{CalFilter}{CFGregorianDate}{CFGregorianDate}{CFTimeZoneRef}
622F CalFilterCreateWithDatabase ^{CalFilter}^{CalDatabase}
623
624F CalEventOccurrenceGetEvent @@
625F CalEventCopySummary @@
626F CalEventOccurrenceGetDate I@
627
61933e16
JF
628f CoreAnimation
629
630S 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}
631
632F CACurrentMediaTime {CFTimeInterval}
633
634F CATransform3DIsIdentity B{CATransform3D}
635F CATransform3DEqualToTransform B{CATransform3D}{CATransform3D}
636F CATransform3DMakeTranslation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
637F CATransform3DMakeScale {CATransform3D}{CGFloat}{CGFloat}{CGFloat}
638F CATransform3DMakeRotation {CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
639F CATransform3DTranslate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
640F CATransform3DScale {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}
641F CATransform3DRotate {CATransform3D}{CATransform3D}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
642F CATransform3DConcat {CATransform3D}{CATransform3D}{CATransform3D}
643F CATransform3DInvert {CATransform3D}{CATransform3D}
644F CATransform3DMakeAffineTransform {CATransform3D}{CGAffineTransform}
645F CATransform3DIsAffine B{CATransform3D}
646F CATransform3DGetAffineTransform {CGAffineTransform}{CATransform3D}
647
88c977fa
JF
648f CoreData
649
650C NSUndefinedAttributeType 0
651C NSInteger16AttributeType 100
652C NSInteger32AttributeType 200
653C NSInteger64AttributeType 300
654C NSDecimalAttributeType 400
655C NSDoubleAttributeType 500
656C NSFloatAttributeType 600
657C NSStringAttributeType 700
658C NSBooleanAttributeType 800
659C NSDateAttributeType 900
660C NSBinaryDataAttributeType 1000
661C NSTransformableAttributeType 1800
662C NSObjectIDAttributeType 2000
663
664C NSUndefinedEntityMappingType 0x00
665C NSCustomEntityMappingType 0x01
666C NSAddEntityMappingType 0x02
667C NSRemoveEntityMappingType 0x03
668C NSCopyEntityMappingType 0x04
669C NSTransformEntityMappingType 0x05
670
671V NSMigrationManagerKey @
672V NSMigrationSourceObjectKey @
673V NSMigrationDestinationObjectKey @
674V NSMigrationEntityMappingKey @
675V NSMigrationPropertyMappingKey @
2f51d6ab 676V NSMigrationEntityPolicyKey @
88c977fa
JF
677
678C NSManagedObjectResultType 0x00
679C NSManagedObjectIDResultType 0x01
680C NSDictionaryResultType 0x02
681
682C NSFetchRequestExpressionType 50
683
684C NSSnapshotEventUndoInsertion 1<<1
685C NSSnapshotEventUndoDeletion 1<<2
686C NSSnapshotEventUndoUpdate 1<<3
687C NSSnapshotEventRollback 1<<4
688C NSSnapshotEventRefresh 1<<5
689C NSSnapshotEventMergePolicy 1<<6
690
691V NSInsertedObjectsKey @
692V NSUpdatedObjectsKey @
693V NSDeletedObjectsKey @
694V NSRefreshedObjectsKey @
695V NSInvalidatedObjectsKey @
696V NSInvalidatedAllObjectsKey @
697
698V NSErrorMergePolicy @
699V NSMergeByPropertyStoreTrumpMergePolicy @
700V NSMergeByPropertyObjectTrumpMergePolicy @
701V NSOverwriteMergePolicy @
702V NSRollbackMergePolicy @
703
704V NSSQLiteStoreType @
705V NSBinaryStoreType @
706V NSInMemoryStoreType @
707
708V NSStoreTypeKey @
709V NSStoreUUIDKey @
710
711V NSAddedPersistentStoresKey @
712V NSRemovedPersistentStoresKey @
713V NSUUIDChangedPersistentStoresKey @
714
715V NSReadOnlyPersistentStoreOption @
716V NSPersistentStoreTimeoutOption @
717V NSSQLitePragmasOption @
718V NSSQLiteAnalyzeOption @
719V NSSQLiteManualVacuumOption @
720
721V NSIgnorePersistentStoreVersioningOption @
722V NSMigratePersistentStoresAutomaticallyOption @
723V NSInferMappingModelAutomaticallyOption @
724
725V NSStoreModelVersionHashesKey @
726V NSStoreModelVersionIdentifiersKey @
727V NSPersistentStoreOSCompatibility @
728
729C NSNoActionDeleteRule 0
730C NSNullifyDeleteRule 1
731C NSCascadeDeleteRule 2
732C NSDenyDeleteRule 3
733
734C NSFetchedResultsChangeInsert 1
735C NSFetchedResultsChangeDelete 2
736C NSFetchedResultsChangeMove 3
737C NSFetchedResultsChangeUpdate 4
738
739V NSDetailedErrorsKey @
740V NSValidationObjectErrorKey @
741V NSValidationKeyErrorKey @
742V NSValidationPredicateErrorKey @
743V NSValidationValueErrorKey @
744V NSAffectedStoresErrorKey @
745V NSAffectedObjectsErrorKey @
746
747V NSSQLiteErrorDomain @
748
749C NSManagedObjectValidationError 1550
750C NSValidationMultipleErrorsError 1560
751C NSValidationMissingMandatoryPropertyError 1570
752C NSValidationRelationshipLacksMinimumCountError 1580
753C NSValidationRelationshipExceedsMaximumCountError 1590
754C NSValidationRelationshipDeniedDeleteError 1600
755C NSValidationNumberTooLargeError 1610
756C NSValidationNumberTooSmallError 1620
757C NSValidationDateTooLateError 1630
758C NSValidationDateTooSoonError 1640
759C NSValidationInvalidDateError 1650
760C NSValidationStringTooLongError 1660
761C NSValidationStringTooShortError 1670
762C NSValidationStringPatternMatchingError 1680
763
764C NSManagedObjectContextLockingError 132000
765C NSPersistentStoreCoordinatorLockingError 132010
766C NSManagedObjectReferentialIntegrityError 133000
767C NSManagedObjectExternalRelationshipError 133010
768C NSManagedObjectMergeError 133020
769
770C NSPersistentStoreInvalidTypeError 134000
771C NSPersistentStoreTypeMismatchError 134010
772C NSPersistentStoreIncompatibleSchemaError 134020
773C NSPersistentStoreSaveError 134030
774C NSPersistentStoreIncompleteSaveError 134040
775C NSPersistentStoreOperationError 134070
776C NSPersistentStoreOpenError 134080
777C NSPersistentStoreTimeoutError 134090
778C NSPersistentStoreIncompatibleVersionHashError 134100
779
780C NSMigrationError 134110
781C NSMigrationCancelledError 134120
782C NSMigrationMissingSourceModelError 134130
783C NSMigrationMissingMappingModelError 134140
784C NSMigrationManagerSourceStoreError 134150
785C NSMigrationManagerDestinationStoreError 134160
786C NSEntityMigrationPolicyError 134170
787C NSInferredMappingModelError 134190
788C NSExternalRecordImportError 134200
789
790C NSCoreDataError 134060
791C NSSQLiteError 134180
792
793V NSCoreDataVersionNumber d
794
795C NSCoreDataVersionNumber10_4 46.0
796C NSCoreDataVersionNumber10_4_3 77.0
797C NSCoreDataVersionNumber10_5 185.0
798C NSCoreDataVersionNumber10_5_3 186.0
799
c93b7f73
JF
800f CoreFoundation
801
c239b9f8
JF
802# Base Utilities
803
804F CFRangeMake {CFRange}{CFIndex}{CFIndex}
805
bb1c419c
JF
806# Time Utilities
807
9561f209 808F CFAbsoluteTimeAddGregorianUnits {CFAbsoluteTime}{CFAbsoluteTime}{CFTimeZoneRef}{CFGregorianUnits}
2385c806 809F CFAbsoluteTimeGetCurrent {CFAbsoluteTime}
9561f209
JF
810F CFAbsoluteTimeGetDayOfWeek {SInt32}{CFAbsoluteTime}{CFTimeZoneRef}
811F CFAbsoluteTimeGetDayOfYear {SInt32}{CFAbsoluteTime}{CFTimeZoneRef}
812F CFAbsoluteTimeGetDifferenceAsGregorianUnits {CFGregorianUnits}{CFAbsoluteTime}{CFAbsoluteTime}{CFTimeZoneRef}{CFOptionFlags}
813F CFAbsoluteTimeGetGregorianDate {CFGregorianDate}{CFAbsoluteTime}{CFTimeZoneRef}
814F CFAbsoluteTimeGetWeekOfYear {SInt32}{CFAbsoluteTime}{CFTimeZoneRef}
815F CFGregorianDateGetAbsoluteTime {CFAbsoluteTime}{CFGregorianDate}{CFTimeZoneRef}
816F CFGregorianDateIsValid {Boolean}{CFGregorianDate}{CFOptionFlags}
2385c806 817
bb1c419c
JF
818T CFAbsoluteTime {CFTimeInterval}
819S CFGregorianDate "year"{SInt32}"month"{SInt8}"day"{SInt8}"hour"{SInt8}"minute"{SInt8}"second"{double}
820S CFGregorianUnits "years"{SInt32}"months"{SInt32}"days"{SInt32}"hours"{SInt32}"minutes"{SInt32}"second"{double}
821T CFTimeInterval {double}
822
823C kCFGregorianUnitsYears 1<<0
824C kCFGregorianUnitsMonths 1<<1
825C kCFGregorianUnitsDays 1<<2
826C kCFGregorianUnitsHours 1<<3
827C kCFGregorianUnitsMinutes 1<<4
828C kCFGregorianUnitsSeconds 1<<5
829C kCFGregorianAllUnits 0x00FFFFFF
830
831V kCFAbsoluteTimeIntervalSince1970 {CFTimeInterval}
832V kCFAbsoluteTimeIntervalSince1904 {CFTimeInterval}
833
c239b9f8
JF
834# CFComparatorFunction
835
836T CFIndex l
837T CFOptionFlags {UInt32}
838S CFRange "location"{CFIndex}"length"{CFIndex}
839
840E CFComparisonResult
841C kCFCompareLessThan -1
842C kCFCompareEqualTo 0
843C kCFCompareGreaterThan 1
844# CFComparisonResult CFComparisonResult
845
846C kCFNotFound -1
847
848V kCFCoreFoundationVersionNumber d
849
850C kCFCoreFoundationVersionNumber10_0 196.40
851C kCFCoreFoundationVersionNumber10_0_3 196.50
852C kCFCoreFoundationVersionNumber10_1 226.00
853C kCFCoreFoundationVersionNumber10_1_1 226.00
854C kCFCoreFoundationVersionNumber10_1_2 227.20
855C kCFCoreFoundationVersionNumber10_1_3 227.20
856C kCFCoreFoundationVersionNumber10_1_4 227.30
857C kCFCoreFoundationVersionNumber10_2 263.00
858C kCFCoreFoundationVersionNumber10_2_1 263.10
859C kCFCoreFoundationVersionNumber10_2_2 263.10
860C kCFCoreFoundationVersionNumber10_2_3 263.30
861C kCFCoreFoundationVersionNumber10_2_4 263.30
862C kCFCoreFoundationVersionNumber10_2_5 263.50
863C kCFCoreFoundationVersionNumber10_2_6 263.50
864C kCFCoreFoundationVersionNumber10_2_7 263.50
865C kCFCoreFoundationVersionNumber10_2_8 263.50
866C kCFCoreFoundationVersionNumber10_3 299.00
867C kCFCoreFoundationVersionNumber10_3_1 299.00
868C kCFCoreFoundationVersionNumber10_3_2 299.00
869C kCFCoreFoundationVersionNumber10_3_3 299.30
870C kCFCoreFoundationVersionNumber10_3_4 299.31
871C kCFCoreFoundationVersionNumber10_3_5 299.31
872C kCFCoreFoundationVersionNumber10_3_6 299.32
873C kCFCoreFoundationVersionNumber10_3_7 299.33
874C kCFCoreFoundationVersionNumber10_3_8 299.33
875C kCFCoreFoundationVersionNumber10_3_9 299.35
876C kCFCoreFoundationVersionNumber10_4 368.00
877C kCFCoreFoundationVersionNumber10_4_1 368.10
878C kCFCoreFoundationVersionNumber10_4_2 368.11
879C kCFCoreFoundationVersionNumber10_4_3 368.18
880C kCFCoreFoundationVersionNumber10_4_4_Intel 368.26
881C kCFCoreFoundationVersionNumber10_4_4_PowerPC 368.25
882C kCFCoreFoundationVersionNumber10_4_5_Intel 368.26
883C kCFCoreFoundationVersionNumber10_4_5_PowerPC 368.25
884C kCFCoreFoundationVersionNumber10_4_6_Intel 368.26
885C kCFCoreFoundationVersionNumber10_4_6_PowerPC 368.25
886C kCFCoreFoundationVersionNumber10_4_7 368.27
887C kCFCoreFoundationVersionNumber10_4_8 368.27
888C kCFCoreFoundationVersionNumber10_4_9 368.28
889C kCFCoreFoundationVersionNumber10_4_10 368.28
890C kCFCoreFoundationVersionNumber10_4_11 368.31
891C kCFCoreFoundationVersionNumber10_5 476.00
892C kCFCoreFoundationVersionNumber10_5_1 476.00
893C kCFCoreFoundationVersionNumber10_5_2 476.10
894C kCFCoreFoundationVersionNumber10_5_3 476.13
895C kCFCoreFoundationVersionNumber10_5_4 476.14
896C kCFCoreFoundationVersionNumber10_5_5 476.15
897C kCFCoreFoundationVersionNumber10_5_6 476.17
898
899# CFAllocator
900
901F CFAllocatorCreate {CFAllocatorRef}{CFAllocatorRef}{CFAllocatorContext}
902
903F CFAllocatorAllocate ^v{CFAllocatorRef}{CFIndex}{CFOptionFlags}
904F CFAllocatorDeallocate v{CFAllocatorRef}^v
905F CFAllocatorGetPreferredSizeForSize {CFIndex}{CFAllocatorRef}{CFIndex}{CFOptionFlags}
906F CFAllocatorReallocate ^v{CFAllocatorRef}^v{CFIndex}{CFOptionFlags}
907
908F CFAllocatorGetDefault {CFAllocatorRef}
909f CFAllocatorSetDefault v{CFAllocatorRef}
910
911F CFAllocatorGetContext v{CFAllocatorRef}^{CFAllocatorContext}
912
913F CFAllocatorGetTypeID {CFTypeID}
914
915# CFAllocatorAllocateCallBack
916# CFAllocatorCopyDescriptionCallBack
917# CFAllocatorDeallocateCallBack
918# CFAllocatorPreferredSizeCallBack
919# CFAllocatorReallocateCallBack
920# CFAllocatorReleaseCallBack
921# CFAllocatorRetainCallBack
922
923S CFAllocatorContext "version"{CFIndex}"info"^v"retain"{CFAllocatorRetainCallBack}"release"{CFAllocatorReleaseCallBack}"copyDescription"{CFAllocatorCopyDescriptionCallBack}"allocate"{CFAllocatorAllocateCallBack}"reallocate"{CFAllocatorReallocateCallBack}"deallocate"{CFAllocatorDeallocateCallBack}"preferredSize"{CFAllocatorPreferredSizeCallBack}
924# CFAllocatorContext CFAllocatorContext
925
2385c806
JF
926T CFAllocatorRef @
927# CFAllocatorRef ^r{__CFAllocator}
c239b9f8
JF
928
929V kCFAllocatorDefault {CFAllocatorRef}
930V kCFAllocatorSystemDefault {CFAllocatorRef}
931V kCFAllocatorMalloc {CFAllocatorRef}
932V kCFAllocatorMallocZone {CFAllocatorRef}
933V kCFAllocatorNull {CFAllocatorRef}
934V kCFAllocatorUseContext {CFAllocatorRef}
935
bb1c419c
JF
936# CFByteOrderUtils
937
938E __CFByteOrder
939C CFByteOrderUnknown 0
940C CFByteOrderLittleEndian 1
941C CFByteOrderBigEndian 2
942T CFByteOrder __CFByteOrder
943
944# CFArray
945
946T CFArrayRef @
947
2385c806
JF
948# CFData
949
950F CFDataCreate {CFDataRef}{CFAllocatorRef}^r{UInt8}{CFIndex}
951F CFDataCreateCopy {CFDataRef}{CFAllocatorRef}{CFDataRef}
952F CFDataCreateWithBytesNoCopy {CFDataRef}{CFAllocatorRef}^r{UInt8}{CFIndex}{CFAllocatorRef}
953
954F CFDataGetBytePtr ^r{UInt8}{CFDataRef}
955F CFDataGetBytes v{CFDataRef}{CFRange}^{UInt8}
956F CFDataGetLength {CFIndex}{CFDataRef}
957
958F CFDataGetTypeID {CFTypeID}
959
960T CFDataRef @
961# CFDataRef ^r{__CFData}
962
963# CFDate
964
965F CFDateCompare {CFComparisonResult}{CFDateRef}{CFDateRef}^v
966F CFDateCreate {CFDateRef}{CFAllocatorRef}{CFAbsoluteTime}
967F CFDateGetAbsoluteTime {CFAbsoluteTime}{CFDateRef}
968F CFDateGetTimeIntervalSinceDate {CFTimeInterval}{CFDateRef}{CFDateRef}
969F CFDateGetTypeID {CFTypeID}
970
971T CFDateRef @
972# CFDateRef ^r{__CFDate}
973
974# CFDateFormatter
975
976F CFDateFormatterCreate {CFDateFormatterRef}{CFAllocatorRef}{CFLocaleRef}{CFDateFormatterStyle}{CFDateFormatterStyle}
977
978F CFDateFormatterSetFormat v{CFDateFormatterRef}{CFStringRef}
979F CFDateFormatterSetProperty v{CFDateFormatterRef}{CFStringRef}{CFTypeRef}
980
981F CFDateFormatterCreateDateFromString {CFDateRef}{CFAllocatorRef}{CFDateFormatterRef}{CFStringRef}^{CFRange}
982F CFDateFormatterGetAbsoluteTimeFromString {Boolean}{CFDateFormatterRef}{CFStringRef}^{CFRange}^{CFAbsoluteTime}
983
984F CFDateFormatterCreateStringWithAbsoluteTime {CFStringRef}{CFAllocatorRef}{CFDateFormatterRef}{CFAbsoluteTime}
985F CFDateFormatterCreateStringWithDate {CFStringRef}{CFAllocatorRef}{CFDateFormatterRef}{CFDateRef}
986F CFDateFormatterCreateDateFormatFromTemplate {CFStringRef}{CFAllocatorRef}{CFStringRef}{CFOptionFlags}{CFLocaleRef}
987
988F CFDateFormatterCopyProperty {CFTypeRef}{CFDateFormatterRef}{CFStringRef}
989F CFDateFormatterGetDateStyle {CFDateFormatterStyle}{CFDateFormatterRef}
990F CFDateFormatterGetFormat {CFStringRef}{CFDateFormatterRef}
991F CFDateFormatterGetLocale {CFLocaleRef}{CFDateFormatterRef}
992F CFDateFormatterGetTimeStyle {CFDateFormatterStyle}{CFDateFormatterRef}
993
994F CFDateFormatterGetTypeID {CFTypeID}
995
996T CFDateFormatterRef @
997# CFDateFormatterRef ^r{__CFDateFormatter}
998
999T CFDateFormatterStyle {CFIndex}
1000
1001C kCFDateFormatterNoStyle 0
1002C kCFDateFormatterShortStyle 1
1003C kCFDateFormatterMediumStyle 2
1004C kCFDateFormatterLongStyle 3
1005C kCFDateFormatterFullStyle 4
1006
1007V kCFDateFormatterIsLenient @
1008V kCFDateFormatterTimeZone @
1009V kCFDateFormatterCalendarName @
1010V kCFDateFormatterDefaultFormat @
1011
1012V kCFDateFormatterTwoDigitStartDate @
1013V kCFDateFormatterDefaultDate @
1014V kCFDateFormatterCalendar @
1015V kCFDateFormatterEraSymbols @
1016V kCFDateFormatterMonthSymbols @
1017V kCFDateFormatterShortMonthSymbols @
1018V kCFDateFormatterWeekdaySymbols @
1019V kCFDateFormatterShortWeekdaySymbols @
1020V kCFDateFormatterAMSymbol @
1021V kCFDateFormatterPMSymbol @
1022
1023V kCFDateFormatterLongEraSymbols @
1024V kCFDateFormatterVeryShortMonthSymbols @
1025V kCFDateFormatterStandaloneMonthSymbols @
1026V kCFDateFormatterShortStandaloneMonthSymbols @
1027V kCFDateFormatterVeryShortStandaloneMonthSymbols @
1028V kCFDateFormatterVeryShortWeekdaySymbols @
1029V kCFDateFormatterStandaloneWeekdaySymbols @
1030V kCFDateFormatterShortStandaloneWeekdaySymbols @
1031V kCFDateFormatterVeryShortStandaloneWeekdaySymbols @
1032V kCFDateFormatterQuarterSymbols @
1033V kCFDateFormatterShortQuarterSymbols @
1034V kCFDateFormatterStandaloneQuarterSymbols @
1035V kCFDateFormatterShortStandaloneQuarterSymbols @
1036V kCFDateFormatterGregorianStartDate @
1037
1038V CFGregorianCalendar @
1039
1040# CFLocale
1041
1042F CFLocaleCopyCurrent {CFLocaleRef}
1043F CFLocaleCreate {CFLocaleRef}{CFAllocatorRef}{CFStringRef}
1044F CFLocaleCreateCopy {CFLocaleRef}{CFAllocatorRef}{CFLocaleRef}
1045F CFLocaleGetSystem {CFLocaleRef}
1046
1047F CFLocaleCopyAvailableLocaleIdentifiers {CFArrayRef}
1048
1049F CFLocaleCopyISOCountryCodes {CFArrayRef}
1050F CFLocaleCopyISOLanguageCodes {CFArrayRef}
1051F CFLocaleCopyISOCurrencyCodes {CFArrayRef}
1052F CFLocaleCopyCommonISOCurrencyCodes {CFArrayRef}
1053
1054F CFLocaleCopyPreferredLanguages {CFArrayRef}
1055
1056F CFLocaleCopyDisplayNameForPropertyValue {CFStringRef}{CFLocaleRef}{CFStringRef}{CFStringRef}
1057F CFLocaleGetValue {CFTypeRef}{CFLocaleRef}{CFStringRef}
1058F CFLocaleGetIdentifier {CFStringRef}{CFLocaleRef}
1059
1060F CFLocaleCreateCanonicalLocaleIdentifierFromScriptManagerCodes {CFStringRef}{CFAllocatorRef}{LangCode}{RegionCode}
1061F CFLocaleCreateCanonicalLanguageIdentifierFromString {CFStringRef}{CFAllocatorRef}{CFStringRef}
1062F CFLocaleCreateCanonicalLocaleIdentifierFromString {CFStringRef}{CFAllocatorRef}{CFStringRef}
1063F CFLocaleCreateComponentsFromLocaleIdentifier {CFDictionaryRef}{CFAllocatorRef}{CFStringRef}
1064F CFLocaleCreateLocaleIdentifierFromComponents {CFStringRef}{CFAllocatorRef}{CFDictionaryRef}
1065
1066F CFLocaleGetTypeID {CFTypeID}
1067
1068F CFLocaleCreateLocaleIdentifierFromWindowsLocaleCode {CFStringRef}{CFAllocatorRef}{uint32_t}
1069F CFLocaleGetLanguageCharacterDirection {CFLocaleLanguageDirection}{CFStringRef}
1070F CFLocaleGetLanguageLineDirection {CFLocaleLanguageDirection}{CFStringRef}
1071F CFLocaleGetWindowsLocaleCodeFromLocaleIdentifier {uint32_t}{CFStringRef}
1072
1073T CFLocaleRef @
1074# CFLocaleRef ^r{__CFLocale}
1075
1076C kCFLocaleLanguageDirectionUnknown 0
1077C kCFLocaleLanguageDirectionLeftToRight 1
1078C kCFLocaleLanguageDirectionRightToLeft 2
1079C kCFLocaleLanguageDirectionTopToBottom 3
1080C kCFLocaleLanguageDirectionBottomToTop 4
1081
1082T CFLocaleLanguageDirection {CFIndex}
1083
1084V kCFLocaleMeasurementSystem @
1085V kCFLocaleDecimalSeparator @
1086V kCFLocaleGroupingSeparator @
1087V kCFLocaleCurrencySymbol @
1088V kCFLocaleCurrencyCode @
1089
1090V kCFLocaleIdentifier @
1091V kCFLocaleLanguageCode @
1092V kCFLocaleCountryCode @
1093V kCFLocaleScriptCode @
1094V kCFLocaleVariantCode @
1095V kCFLocaleExemplarCharacterSet @
1096V kCFLocaleCalendarIdentifier @
1097V kCFLocaleCalendar @
1098V kCFLocaleCollationIdentifier @
1099V kCFLocaleUsesMetricSystem @
1100
1101V kCFGregorianCalendar @
1102V kCFBuddhistCalendar @
1103V kCFChineseCalendar @
1104V kCFHebrewCalendar @
1105V kCFIslamicCalendar @
1106V kCFIslamicCivilCalendar @
1107V kCFJapaneseCalendar @
1108V kCFRepublicOfChinaCalendar @
1109V kCFPersianCalendar @
1110V kCFIndianCalendar @
1111V kCFISO8601Calendar @
1112
1113V kCFLocaleCurrentLocaleDidChangeNotificatio @
1114
bb1c419c
JF
1115# CFRunLoop
1116
1117F CFRunLoopGetCurrent {CFRunLoopRef}
1118F CFRunLoopGetMain {CFRunLoopRef}
1119
1120F CFRunLoopRun v
1121F CFRunLoopRunInMode {SInt32}{CFStringRef}{CFTimeInterval}{Boolean}
1122F CFRunLoopWakeUp v{CFRunLoopRef}
1123F CFRunLoopStop v{CFRunLoopRef}
1124F CFRunLoopIsWaiting {Boolean}{CFRunLoopRef}
1125
1126F CFRunLoopAddSource v{CFRunLoopRef}{CFRunLoopSourceRef}{CFStringRef}
1127F CFRunLoopContainsSource {Boolean}{CFRunLoopRef}{CFRunLoopSourceRef}{CFStringRef}
1128F CFRunLoopRemoveSource v{CFRunLoopRef}{CFRunLoopSourceRef}{CFStringRef}
1129
1130F CFRunLoopAddObserver v{CFRunLoopRef}{CFRunLoopObserverRef}{CFStringRef}
1131F CFRunLoopContainsObserver {Boolean}{CFRunLoopRef}{CFRunLoopObserverRef}{CFStringRef}
1132F CFRunLoopRemoveObserver v{CFRunLoopRef}{CFRunLoopObserverRef}{CFStringRef}
1133
1134F CFRunLoopAddCommonMode v{CFRunLoopRef}{CFStringRef}
1135F CFRunLoopCopyAllModes {CFArrayRef}{CFRunLoopRef}
1136F CFRunLoopCopyCurrentMode {CFStringRef}{CFRunLoopRef}
1137
1138F CFRunLoopAddTimer v{CFRunLoopRef}{CFRunLoopTimerRef}{CFStringRef}
1139F CFRunLoopGetNextTimerFireDate {CFAbsoluteTime}{CFRunLoopRef}{CFStringRef}
1140F CFRunLoopRemoveTimer v{CFRunLoopRef}{CFRunLoopTimerRef}{CFStringRef}
1141F CFRunLoopContainsTimer {Boolean}{CFRunLoopRef}{CFRunLoopTimerRef}{CFStringRef}
1142
1143# F CFRunLoopPerformBlock
1144
1145F CFRunLoopGetTypeID {CFTypeID}
1146
1147T CFRunLoopRef @
1148
1149C kCFRunLoopRunFinished 1
1150C kCFRunLoopRunStopped 2
1151C kCFRunLoopRunTimedOut 3
1152C kCFRunLoopRunHandledSource 4
1153
1154V kCFRunLoopCommonModes {CFStringRef}
1155V kCFRunLoopDefaultMode {CFStringRef}
1156
1157# CFRunLoopTimer
1158
1159T CFRunLoopTimerRef @
1160
1161# CFString
1162
1163T CFStringRef @
1164
9561f209
JF
1165# CFTimeZone
1166
1167F CFTimeZoneCreateWithName {CFTimeZoneRef}{CFAllocatorRef}{CFStringRef}{Boolean}
1168F CFTimeZoneCreateWithTimeIntervalFromGMT {CFTimeZoneRef}{CFAllocatorRef}{CFTimeInterval}
1169F CFTimeZoneCreate {CFTimeZoneRef}{CFAllocatorRef}{CFStringRef}{CFDataRef}
1170
1171F CFTimeZoneCopyAbbreviationDictionary {CFDictionaryRef}
1172F CFTimeZoneCopyAbbreviation {CFStringRef}{CFTimeZoneRef}{CFAbsoluteTime}
1173F CFTimeZoneCopyDefault {CFTimeZoneRef}
1174F CFTimeZoneCopySystem {CFTimeZoneRef}
1175F CFTimeZoneSetDefault v{CFTimeZoneRef}
1176F CFTimeZoneCopyKnownNames {CFArrayRef}
1177F CFTimeZoneResetSystem v
1178F CFTimeZoneSetAbbreviationDictionary v{CFDictionaryRef}
1179
1180F CFTimeZoneGetName {CFStringRef}{CFTimeZoneRef}
1181F CFTimeZoneCopyLocalizedName {CFStringRef}{CFTimeZoneRef}{CFTimeZoneNameStyle}{CFLocaleRef}
1182F CFTimeZoneGetSecondsFromGMT {CFTimeInterval}{CFTimeZoneRef}{CFAbsoluteTime}
1183F CFTimeZoneGetData {CFDataRef}{CFTimeZoneRef}
1184
1185F CFTimeZoneIsDaylightSavingTime {Boolean}{CFTimeZoneRef}{CFAbsoluteTime}
1186F CFTimeZoneGetDaylightSavingTimeOffset {CFTimeInterval}{CFTimeZoneRef}{CFAbsoluteTime}
1187F CFTimeZoneGetNextDaylightSavingTimeTransition {CFAbsoluteTime}{CFTimeZoneRef}{CFAbsoluteTime}
1188
1189F CFTimeZoneGetTypeID {CFTypeID}
1190
1191T CFTimeZoneNameStyle {CFIndex}
1192T CFTimeZoneRef @
1193# CFTimeZoneRef ^r{__CFTimeZoneRef}
1194
1195V kCFTimeZoneSystemTimeZoneDidChangeNotification {CFStringRef}
1196
1197C kCFTimeZoneNameStyleStandard 0
1198C kCFTimeZoneNameStyleShortStandard 1
1199C kCFTimeZoneNameStyleDaylightSaving 2
1200C kCFTimeZoneNameStyleShortDaylightSaving 3
1201
c239b9f8
JF
1202# CFType
1203
1204F CFGetAllocator {CFAllocatorRef}{CFTypeRef}
1205F CFGetRetainCount {CFIndex}{CFTypeRef}
1206F CFMakeCollectable {CFTypeRef}{CFTypeRef}
1207F CFRelease v{CFTypeRef}
1208F CFRetain {CFTypeRef}{CFTypeRef}
1209
1210F CFEqual
1211
1212F CFHash {CFHashCode}{CFTypeRef}
1213
1214F CFGetTypeID {CFTypeID}{CFTypeRef}
1215F CFShow v{CFTypeRef}
1216
1217T CFHashCode L
1218T CFTypeID L
2385c806 1219
c239b9f8 1220T CFTypeRef @
2385c806 1221# CFTypeRef ^rv
c239b9f8
JF
1222
1223# Private
c93b7f73 1224
c93b7f73
JF
1225F CFShowStr v@
1226
9e20b0b7
JF
1227f CoreGraphics
1228
61933e16 1229T CGFloat f
9e20b0b7 1230
61933e16
JF
1231# CGAffineTransform
1232
1233F CGAffineTransformMake {CGAffineTransform}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}{CGFloat}
1234F CGAffineTransformMakeRotation {CGAffineTransform}{CGFloat}
1235F CGAffineTransformMakeScale {CGAffineTransform}{CGFloat}{CGFloat}
1236F CGAffineTransformMakeTranslation {CGAffineTransform}{CGFloat}{CGFloat}
1237
1238F CGAffineTransformTranslate {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
1239F CGAffineTransformScale {CGAffineTransform}{CGAffineTransform}{CGFloat}{CGFloat}
1240F CGAffineTransformRotate {CGAffineTransform}{CGAffineTransform}{CGFloat}
1241F CGAffineTransformInvert {CGAffineTransform}{CGAffineTransform}
1242F CGAffineTransformConcat {CGAffineTransform}{CGAffineTransform}{CGAffineTransform}
1243
1244F CGPointApplyAffineTransform {CGPoint}{CGPoint}{CGAffineTransform}
1245F CGSizeApplyAffineTransform {CGSize}{CGSize}{CGAffineTransform}
1246F CGRectApplyAffineTransform {CGRect}{CGRect}{CGAffineTransform}
1247
1248F CGAffineTransformIsIdentity B{CGAffineTransform}
1249F CGAffineTransformEqualToTransform B{CGAffineTransform}{CGAffineTransform}
1250
1251S CGAffineTransform "a"{CGFloat}"b"{CGFloat}"c"{CGFloat}"d"{CGFloat}"tx"{CGFloat}"ty"{CGFloat}
1252
1253V CGAffineTransformIdentity {CGAffineTransform}
1254
1255# CGContext
1256
1257T CGContextRef ^{CGContext}
1258
1259E CGBlendMode
1260C kCGBlendModeNormal 0
1261C kCGBlendModeMultiply 1
1262C kCGBlendModeScreen 2
1263C kCGBlendModeOverlay 3
1264C kCGBlendModeDarken 4
1265C kCGBlendModeLighten 5
1266C kCGBlendModeColorDodge 6
1267C kCGBlendModeColorBurn 7
1268C kCGBlendModeSoftLight 8
1269C kCGBlendModeHardLight 9
1270C kCGBlendModeDifference 10
1271C kCGBlendModeExclusion 11
1272C kCGBlendModeHue 12
1273C kCGBlendModeSaturation 13
1274C kCGBlendModeColor 14
1275C kCGBlendModeLuminosity 15
1276C kCGBlendModeClear 16
1277C kCGBlendModeCopy 17
1278C kCGBlendModeSourceIn 18
1279C kCGBlendModeSourceOut 19
1280C kCGBlendModeSourceAtop 20
1281C kCGBlendModeDestinationOver 21
1282C kCGBlendModeDestinationIn 22
1283C kCGBlendModeDestinationOut 23
1284C kCGBlendModeDestinationAtop 24
1285C kCGBlendModeXOR 25
1286C kCGBlendModePlusDarker 26
1287C kCGBlendModePlusLighter 27
1288
1289E CGInterpolationQuality
1290C kCGInterpolationDefault 0
1291C kCGInterpolationNone 1
1292C kCGInterpolationLow 2
1293C kCGInterpolationHigh 3
1294
1295E CGLineCap
1296C kCGLineCapButt 0
1297C kCGLineCapRound 1
1298C kCGLineCapSquare 2
1299
1300E CGLineJoin
1301C kCGLineJoinMiter 0
1302C kCGLineJoinRound 1
1303C kCGLineJoinBevel 2
1304
1305E CGTextDrawingMode
1306C kCGTextFill 0
1307C kCGTextStroke 1
1308C kCGTextFillStroke 2
1309C kCGTextInvisible 3
1310C kCGTextFillClip 4
1311C kCGTextStrokeClip 5
1312C kCGTextFillStrokeClip 6
1313C kCGTextClip 7
1314
1315E CGTextEncoding
1316C kCGEncodingFontSpecific 0
1317C kCGEncodingMacRoman 1
9e20b0b7 1318
61933e16 1319f CoreLocation
9e20b0b7 1320
61933e16 1321T CLLocationDegrees d
9e20b0b7 1322
61933e16 1323S CLLocationCoordinate2D "latitude"{CLLocationDegrees}"longitude"{CLLocationDegrees}
9e20b0b7 1324
61933e16 1325T CLLocationAccuracy d
c93b7f73
JF
1326
1327V kCLLocationAccuracyBest d
1328V kCLLocationAccuracyNearestTenMeters d
1329V kCLLocationAccuracyHundredMeters d
1330V kCLLocationAccuracyKilometer d
1331V kCLLocationAccuracyThreeKilometers d
1332
61933e16
JF
1333T CLLocationSpeed d
1334T CLLocationDirection d
1335
c93b7f73
JF
1336V kCLDistanceFilterNone d
1337V kCLHeadingFilterNone d
1338
1339C kCLErrorLocationUnknown 0
1340C kCLErrorDenied 1
1341C kCLErrorNetwork 2
1342C kCLErrorHeadingFailure 3
1343
1344V kCLErrorDomain @
1345
020d5724
JF
1346f CoreTelephony
1347
1348# most of this is garbage
1349
020d5724
JF
1350T CTCallRef @
1351
1352# CTCallAddressBlocked
1353# CTCallAnswer
1354# CTCallAnswerEndingActive
1355# CTCallAnswerEndingAllOthers
1356# CTCallAnswerEndingHeld
1357# CTCallAnswerWithSourceIdentifier
1358F CTCallCopyAddress {CFStringRef}{CFAllocatorRef}{CTCallRef}
1359# CTCallCopyAllCallsSince
1360# CTCallCopyAllIncomingCallsSince
9561f209
JF
1361F CTCallCopyAllMissedCallsAfterRowID {CFArrayRef}{CFAllocatorRef}l
1362F CTCallCopyAllMissedCallsSince {CFArrayRef}{CFAllocatorRef}{CFDateRef}
020d5724
JF
1363# CTCallCopyAllOutgoingCallsSince
1364# CTCallCopyName
1365# CTCallCopyUUID
1366# CTCallDeleteAllCallsBeforeDate
1367# CTCallDial
1368# CTCallDialEmergency
1369# CTCallDialEmergencyWithSourceIdentifier
1370# CTCallDialVoicemail
1371# CTCallDialVoicemailWithSourceIdentifier
1372# CTCallDialWithID
1373# CTCallDialWithIDAndSourceIdentifier
1374# CTCallDialWithSourceIdentifier
1375# CTCallDisconnect
1376# CTCallGetCauseCode
1377# CTCallGetDuration
1378# CTCallGetEmergencyStatus
1379F CTCallGetGetRowIDOfLastInsert i
1380F CTCallGetID l{CTCallRef}
1381# CTCallGetMultiPartyCallCountMax
1382F CTCallGetStartTime B{CTCallRef}^d
1383# CTCallGetStatus
1384F CTCallGetTypeID {CFTypeID}
1385# CTCallHistoryInvalidateCaches
1386# CTCallHold
1387# CTCallIsAlerting
1388# CTCallIsConferenced
1389# CTCallIsOutgoing
1390# CTCallIsToVoicemail
1391# CTCallIsWaiting
1392# CTCallJoinConference
1393# CTCallLeaveConference
1394# CTCallListDisconnect
1395# CTCallListDisconnectAll
1396# CTCallResume
1397# CTCallTimersGetAll
1398# CTCallTimersGetIncoming
1399# CTCallTimersGetLast
1400# CTCallTimersGetLastResetTime
1401# CTCallTimersGetLifetime
1402# CTCallTimersGetOutgoing
1403# CTCallTimersReset
1404
283e7e33
JF
1405f Foundation
1406
61933e16
JF
1407T NSAppleEventManagerSuspensionID ^r{__NSAppleEventManagerSuspension}
1408
1409E _NSByteOrder
1410C NS_UnknownByteOrder CFByteOrderUnknown
1411C NS_LittleEndian CFByteOrderLittleEndian
1412C NS_BigEndian CFByteOrderBigEndian
1413
1414# NSComparator
1415
1416C NSOrderedAscending -1
1417C NSOrderedSame 0
1418C NSOrderedDescending 1
1419T NSComparisonResult {NSInteger}
1420
1421# NSDecimal
1422
1423T NSEnumerationOptions {NSUInteger}
1424# NSHashEnumerator
1425T NSHashTable {_NSHashTable}
1426# NSHashTableCallBacks
1427
1428T NSHashTableOptions {NSUInteger}
1429T NSInteger l
1430
1431# NSMapEnumerator
1432
1433T NSMapTable {_NSMapTable}
1434# NSMapTableKeyCallBacks
1435
1436T NSMapTableOptions {NSUInteger}
1437# NSMapTableValueCallBacks
1438
1439T NSPoint {_NSPoint}
1440T NSPointArray ^{NSPoint}
1441T NSPointPointer ^{NSPoint}
1442
1443S _NSRange "location"{NSUInteger}"length"{NSUInteger}
1444T NSRange {_NSRange}
1445T NSRangePointer ^{NSRange}
1446
1447S _NSRect "origin"{NSPoint}"size"{NSSize}
1448T NSRectArray ^{NSRect}
283e7e33
JF
1449
1450C NSMinXEdge 0
1451C NSMinYEdge 1
1452C NSMaxXEdge 2
1453C NSMaxYEdge 3
1454
61933e16
JF
1455T NSRectPointer ^{NSRect}
1456
283e7e33
JF
1457C NSApplicationDirectory 1
1458C NSDemoApplicationDirectory 2
1459C NSDeveloperApplicationDirectory 3
1460C NSAdminApplicationDirectory 4
1461C NSLibraryDirectory 5
1462C NSDeveloperDirectory 6
1463C NSUserDirectory 7
1464C NSDocumentationDirectory 8
1465C NSDocumentDirectory 9
1466C NSCoreServiceDirectory 10
1467C NSAutosavedInformationDirectory 11
1468C NSDesktopDirectory 12
1469C NSCachesDirectory 13
1470C NSApplicationSupportDirectory 14
1471C NSDownloadsDirectory 15
1472C NSInputMethodsDirectory 16
1473C NSMoviesDirectory 17
1474C NSMusicDirectory 18
1475C NSPicturesDirectory 19
1476C NSPrinterDescriptionDirectory 20
1477C NSSharedPublicDirectory 21
1478C NSPreferencePanesDirectory 22
1479C NSItemReplacementDirectory 99
1480C NSAllApplicationsDirectory 100
1481C NSAllLibrariesDirectory 101
61933e16 1482T NSSearchPathDirectory {NSUInteger}
283e7e33
JF
1483
1484C NSUserDomainMask 1
1485C NSLocalDomainMask 2
1486C NSNetworkDomainMask 4
1487C NSSystemDomainMask 8
1488C NSAllDomainsMask 0x0ffff
61933e16
JF
1489T NSSearchPathDomainMask {NSUInteger}
1490
1491S _NSSize "width"{CGFloat}"height"{CGFloat}
1492T NSSize {_NSSize}
1493
1494T NSSizePointer ^{NSSize}
1495T NSSocketNativeHandle i
1496T NSStringEncoding {NSUInteger}
1497S NSSwappedDouble "v"Q
1498S NSSwappedFloat "v"L
1499T NSTimeInterval d
1500# NSUncaughtExceptionHandler
1501T NSUInteger L
1502T NSZone {_NSZone}
283e7e33 1503
88c977fa
JF
1504f MapKit
1505
1506C MKMapTypeStandard 0
1507C MKMapTypeSatellite 1
1508C MKMapTypeHybrid 2
1509
1510V MKErrorDomain @
1511
1512C MKErrorUnknown 1
1513C MKErrorServerFailure 2
1514C MKErrorLoadingThrottled 3
1515C MKErrorPlacemarkNotFound 4
1516
1517C MKPinAnnotationColorRed 0
1518C MKPinAnnotationColorGreen 1
1519C MKPinAnnotationColorPurple 2
1520
1521# MKCoordinateRegionMake
61933e16 1522F MKCoordinateRegionMakeWithDistance {MKCoordinateRegion}{CLLocationCoordinate2D}{CLLocationDistance}{CLLocationDistance}
88c977fa 1523# MKCoordinateSpanMake
b09da87b 1524
34fc459c
JF
1525f MobileWiFi
1526
1527#F WiFiManagerClientAddNetwork
1528#F WiFiManagerClientCopyDevices
1529#F WiFiManagerClientCopyNetworks
1530#F WiFiManagerClientCopyProperty
1531#F WiFiManagerClientCreate
1532#F WiFiManagerClientDisable
1533#F WiFiManagerClientDisableNetwork
1534#F WiFiManagerClientDispatchNotificationResponse
1535#F WiFiManagerClientEnable
1536#F WiFiManagerClientEnableNetwork
1537#F WiFiManagerClientGetAssociationMode
1538#F WiFiManagerClientGetDevice
1539#F WiFiManagerClientGetType
1540#F WiFiManagerClientGetTypeID
1541#F WiFiManagerClientIsNetworkEnabled
1542#F WiFiManagerClientRegisterNotificationCallback
1543#F WiFiManagerClientRemoveNetwork
1544#F WiFiManagerClientScheduleWithRunLoop
1545#F WiFiManagerClientSetAssociationMode
1546#F WiFiManagerClientSetPower
1547#F WiFiManagerClientSetProperty
1548#F WiFiManagerClientSetType
1549#F WiFiManagerClientUnscheduleFromRunLoop
1550#F WiFiManagerClientUpdateNetwork
1551
1552F WiFiNetworkComparePriority B@@
1553#F WiFiNetworkCopyFilteredRecord
1554F WiFiNetworkCopyPassword @@
1555#F WiFiNetworkCopyPreparedEAPProfile
1556#F WiFiNetworkCopyRecord
1557#F WiFiNetworkCreate
1558#F WiFiNetworkCreateCopy
1559F WiFiNetworkGetAssociationDate @@
1560#F WiFiNetworkGetAuthFlags
1561#F WiFiNetworkGetDirectedState
1562#F WiFiNetworkGetFloatProperty
1563#F WiFiNetworkGetIntProperty
1564#F WiFiNetworkGetProperty
1565#F WiFiNetworkGetRateBounds
1566F WiFiNetworkGetSSID @@
1567F WiFiNetworkGetSSIDData @@
1568F WiFiNetworkGetTypeID {CFTypeID}
1569F WiFiNetworkIsEAP B@
1570F WiFiNetworkIsEnabled B@
1571F WiFiNetworkIsHidden B@
1572F WiFiNetworkIsHiddenSSID B@
1573F WiFiNetworkIsWEP B@
1574F WiFiNetworkIsWPA B@
1575#F WiFiNetworkMerge
1576#F WiFiNetworkMergeForAssociation
1577#F WiFiNetworkMergeProperties
1578F WiFiNetworkRemovePassword v@
1579F WiFiNetworkRequiresIdentity B@
1580F WiFiNetworkRequiresOneTimePassword B@
1581F WiFiNetworkRequiresPassword B@
1582F WiFiNetworkRequiresUsername B@
1583F WiFiNetworkSetAssociationDate v@@
1584#F WiFiNetworkSetDirectedState
1585#F WiFiNetworkSetFloatProperty
1586#F WiFiNetworkSetIntProperty
1587F WiFiNetworkSetPassword v@@
1588#F WiFiNetworkSetProperty
1589
953647c1
JF
1590C RTLD_LAZY 0x1
1591C RTLD_NOW 0x2
1592C RTLD_LOCAL 0x4
1593C RTLD_GLOBAL 0x8
1594
1595C RTLD_NOLOAD 0x10
1596C RTLD_NODELETE 0x80
1597C RTLD_FIRST 0x100
1598
1599C RTLD_NEXT -1
1600C RTLD_DEFAULT -2
1601C RTLD_SELF -3
1602
61933e16
JF
1603S dl_info "dli_fname"*"dli_fbase"v^"dli_sname"*"dli_saddr"^v
1604T Dl_info {dl_info}
1605
1606F dladdr i^rv^{dl_info}
953647c1
JF
1607F dlclose i^v
1608F dlerror *
1609F dlopen ^v*i
1610F dlsym ^v^v*
1611F dlopen_preflight B*