]> git.saurik.com Git - cycript.git/blob - Bridge.def
e93ecf3b9290168a47b86f22f1b40b6238daf502
[cycript.git] / Bridge.def
1 C YES true
2 C NO false
3 C nil null
4
5 : applicationDidFinishLaunching: v12@0:4@8
6
7 S CGPoint "x"f"y"f
8 S CGRect "origin"{CGPoint}"size"{CGSize}
9 S CGSize "width"f"height"f
10
11 l objc
12
13 F class_addIvar B#*LC*
14 F class_addMethod B#:^?*
15 F class_addProtocol B#@
16 F class_conformsToProtocol B#@
17 F class_copyIvarList ^^{objc_ivar=}#^I
18 F class_copyMethodList ^^{objc_method=}#^I
19 F class_copyPropertyList ^^{objc_property=}#^I
20 F class_copyProtocolList ^@#^I
21 F class_createInstance @#L
22 F class_getClassMethod ^{objc_method=}#:
23 F class_getClassVariable ^{objc_ivar=}#*
24 F class_getInstanceMethod ^{objc_method=}#:
25 F class_getInstanceSize L#
26 F class_getInstanceVariable ^{objc_ivar=}#*
27 F class_getIvarLayout *#
28 F class_getMethodImplementation ^?#:
29 F class_getMethodImplementation_stret ^?#:
30 F class_getName *#
31 F class_getProperty ^{objc_property=}#*
32 F class_getSuperclass ##
33 F class_getVersion i#
34 F class_getWeakIvarLayout *#
35 F class_isMetaClass B#
36 F class_replaceMethod ^?#:^?*
37 F class_respondsToSelector B#:
38 F class_setIvarLayout v#*
39 F class_setSuperclass ###
40 F class_setVersion v#i
41 F class_setWeakIvarLayout v#*
42
43 F ivar_getName *^{objc_ivar=}
44 F ivar_getOffset i^{objc_ivar=}
45 F ivar_getTypeEncoding *^{objc_ivar=}
46
47 F method_copyArgumentType ^c^{objc_method=}I
48 F method_copyReturnType ^c^{objc_method=}
49 F method_exchangeImplementations v^{objc_method=}^{objc_method=}
50 F method_getArgumentType v^{objc_method=}I^cL
51 F method_getImplementation ^?^{objc_method=}
52 F method_getName :^{objc_method=}
53 F method_getNumberOfArguments I^{objc_method=}
54 F method_getReturnType v^{objc_method=}^cL
55 F method_getTypeEncoding *^{objc_method=}
56 F method_setImplementation ^?^{objc_method=}^?
57
58 # this should return # or ^v ?
59 F objc_allocateClassPair ##*L
60 F objc_copyProtocolList ^@^I
61 F objc_duplicateClass ##*L
62 F objc_getClass #*
63 F objc_getClassList i^#i
64 F objc_getFutureClass #*
65 F objc_getMetaClass @*
66 F objc_getProtocol @*
67 F objc_getRequiredClass @*
68 F objc_lookUpClass @*
69 F objc_registerClassPair v#
70 F objc_setFutureClass v#*
71
72 F object_copy @@L
73 F object_dispose @@
74 F object_getClass #@
75 F object_getClassName *@
76 F object_getIndexedIvars ^v@
77 F object_getInstanceVariable ^{objc_ivar=}@*^^v
78 F object_getIvar @@^{objc_ivar=}
79 F object_setClass #@#
80 F object_setInstanceVariable ^{objc_ivar=}@*^v
81 F object_setIvar v@^{objc_ivar=}@
82
83 F property_getAttributes *^{objc_property=}
84 F property_getName *^{objc_property=}
85
86 F protocol_conformsToProtocol B@@
87 F protocol_copyMethodDescriptionList ^{objc_method_description=:*}@BB^I
88 F protocol_copyPropertyList ^{objc_property=}@^I
89 F protocol_copyProtocolList ^@@^I
90 F protocol_getMethodDescription {objc_method_description=:*}@:BB
91 F protocol_getName *@
92 F protocol_getProperty ^{objc_property=}@*BB
93 F protocol_isEqual B@@
94
95 F sel_getName *:
96 F sel_getUid :*
97 F sel_isEqual B::
98 F sel_registerName :*
99
100 f UIKit
101
102 # UITableView
103
104 C UITableViewStylePlain 0
105 C UITableViewStyleGrouped 1
106
107 C UITableViewScrollPositionNone 0
108 C UITableViewScrollPositionTop 1
109 C UITableViewScrollPositionMiddle 2
110 C UITableViewScrollPositionBottom 3
111
112 C UITableViewRowAnimationFade 0
113 C UITableViewRowAnimationRight 1
114 C UITableViewRowAnimationLeft 2
115 C UITableViewRowAnimationTop 3
116 C UITableViewRowAnimationTop 4
117 C UITableViewRowAnimationNone 5
118
119 V UITableViewIndexSearch @
120
121 # UITableViewCell
122
123 C UITableViewCellStyleDefault 0
124 C UITableViewCellStyleValue1 1
125 C UITableViewCellStyleValue2 2
126 C UITableViewCellStyleSubtitle 3
127
128 C UITableViewCellStateDefaultMask 0
129 C UITableViewCellStateEditingMask (1<<0)
130 C UITableViewCellStateShowingDeleteConfirmationMask (1<<1)
131
132 C UITableViewCellSelectionStyleNone 0
133 C UITableViewCellSelectionStyleBlue 1
134 C UITableViewCellSelectionStyleGray 2
135
136 C UITableViewCellEditingStyleNone 0
137 C UITableViewCellEditingStyleDelete 1
138 C UITableViewCellEditingStyleInsert 2
139
140 C UITableViewCellAccessoryNone 0
141 C UITableViewCellAccessoryDisclosureIndicator 1
142 C UITableViewCellAccessoryDetailDisclosureButton 2
143 C UITableViewCellAccessoryCheckmark 3
144
145 C UITableViewCellSeparatorStyleNone 0
146 C UITableViewCellSeparatorStyleSingleLine 1
147
148 # UITableViewDataSource
149
150 : tableView:numberOfRowsInSection: i16@0:4@8i12
151 : numberOfSectionsInTableView: i12@0:4@8
152 : tableView:cellForRowAtIndexPath: @16@0:4@8@12
153 : sectionIndexTitlesForTableView: @12@0:4@8
154 : tableView:sectionForSectionIndexTitle:atIndex: i20@0:4@8@12i16
155 : tableView:titleForHeaderInSection: @16@0:4@8i12
156 : tableView:titleForFooterInSection: @16@0:4@8i12
157
158 : tableView:commitEditingStyle:forRowAtIndexPath: v20@0:4@8i12@16
159 : tableView:canEditRowAtIndexPath: B16@0:4@8@12
160
161 : tableView:canMoveRowAtIndexPath: B16@0:4@8@12
162 : tableView:moveRowAtIndexPath:toIndexPath: v20@0:4@8@12@16
163
164 # UIView
165
166 C UIViewAnimationCurveEaseInOut 0
167 C UIViewAnimationCurveEaseIn 1
168 C UIViewAnimationCurveEaseOut 2
169 C UIViewAnimationCurveLinear 3
170
171 C UIViewContentModeScaleToFill 0
172 C UIViewContentModeScaleAspectFit 1
173 C UIViewContentModeScaleAspectFill 2
174 C UIViewContentModeRedraw 3
175 C UIViewContentModeCenter 4
176 C UIViewContentModeTop 5
177 C UIViewContentModeBottom 6
178 C UIViewContentModeLeft 7
179 C UIViewContentModeRight 8
180 C UIViewContentModeTopLeft 9
181 C UIViewContentModeTopRight 10
182 C UIViewContentModeBottomLeft 11
183 C UIViewContentModeBottomRight 12
184
185 C UIViewAutoresizingNone 0
186 C UIViewAutoresizingFlexibleLeftMargin (1<<0)
187 C UIViewAutoresizingFlexibleWidth (1<<1)
188 C UIViewAutoresizingFlexibleRightMargin (1<<2)
189 C UIViewAutoresizingFlexibleTopMargin (1<<3)
190 C UIViewAutoresizingFlexibleHeight (1<<4)
191 C UIViewAutoresizingFlexibleBottomMargin (1<<5)
192
193 C UIViewAnimationTransitionNone 0
194 C UIViewAnimationTransitionFlipFromLeft 1
195 C UIViewAnimationTransitionFlipFromRight 2
196 C UIViewAnimationTransitionCurlUp 3
197 C UIViewAnimationTransitionCurlDown 4
198
199 # UIWebView
200
201 C UIWebViewNavigationTypeLinkClicked 0
202 C UIWebViewNavigationTypeFormSubmitted 1
203 C UIWebViewNavigationTypeBackForward 2
204 C UIWebViewNavigationTypeReload 3
205 C UIWebViewNavigationTypeFormResubmitted 4
206 C UIWebViewNavigationTypeOther 5
207
208 # UIWebViewDelegate
209
210 : webView:shouldStartLoadWithRequest:navigationType: B20@0:4@8@12I16
211 : webViewDidStartLoad: v12@0:4@8
212 : webViewDidFinishLoad: v12@0:4@8
213 : webView:didFailLoadWithError: v16@0:4@8@12
214
215 # Miscellaneous
216
217 F UIApplicationUseLegacyEvents vB
218
219 F UIAccessibilityPostNotification vI@
220 F UIApplicationMain ii^^c@@
221 F UIGraphicsEndImageContext v
222 F UIGraphicsGetCurrentContext @
223 F UIGraphicsGetImageFromCurrentImageContext @
224 F UIGraphicsPopContext v
225 F UIGraphicsPushContext v@
226 F UIImageJPEGRepresentation @@
227 F UIImagePNGRepresentation @@
228 F UIImageWriteToSavedPhotosAlbum v@@:^v
229
230 F UIKeyboardDisableAutomaticAppearance v
231 F UIKeyboardEnableAutomaticAppearance v
232 F UIKeyboardInputModeUsesKBStar B@
233
234 F _UIImageWithName @@
235
236 F UIFormattedPhoneNumberFromString @@
237 F UIUnformattedPhoneNumberFromString @@
238
239 V UIApp @
240
241 V kUIButtonBarButtonAction @
242 V kUIButtonBarButtonInfo @
243 V kUIButtonBarButtonInfoOffset @
244 V kUIButtonBarButtonSelectedInfo @
245 V kUIButtonBarButtonSizeToFit @
246 V kUIButtonBarButtonStyle @
247 V kUIButtonBarButtonTag @
248 V kUIButtonBarButtonTarget @
249 V kUIButtonBarButtonTitle @
250 V kUIButtonBarButtonTitleVerticalHeight @
251 V kUIButtonBarButtonTitleWidth @
252 V kUIButtonBarButtonType @
253
254 V UIKeyboardAnimationCurveUserInfoKey @
255 V UIKeyboardAnimationDurationUserInfoKey @
256 V UIKeyboardBoundsUserInfoKey @
257 V UIKeyboardCenterBeginUserInfoKey @
258 V UIKeyboardCenterEndUserInfoKey @
259 V UIKeyboardRequiresInternationalKey @
260
261 V UIKeyboardCandidateCorrectionDidChangeNotification @
262 V UIKeyboardCurrentInputModeDidChangeNotification @
263 V UIKeyboardDefaultsDidChangeNotification @
264 V UIKeyboardDidHideNotification @
265 V UIKeyboardDidShowNotification @
266 V UIKeyboardEmptyDelegateNotification @
267 V UIKeyboardWillHideNotification @
268 V UIKeyboardWillShowNotification @
269
270 V UIWebViewDidReceiveMessageNotification @
271 V UIWebViewDidClearMessagesNotification @
272 V UIWebViewGrowsAndShrinksToFitHeight f
273 V UIWebViewGrowsAndShrinksToFitWidth f
274 V UIWebViewScalesToFitScale f
275
276 f AddressBook
277
278 F ABAddressBookAddRecord B@@^@
279 F ABAddressBookCopyArrayOfAllGroups @@
280 F ABAddressBookCopyArrayOfAllPeople @@
281 F ABAddressBookCopyLocalizedLabel @@
282 F ABAddressBookCreate @
283 F ABAddressBookGetGroupCount l@
284 F ABAddressBookGetPersonCount l@
285 F ABAddressBookHasUnsavedChanges B@
286 F ABAddressBookRegisterExternalChangeCallback v@^?^v
287 F ABAddressBookRemoveRecord B@@^@
288 F ABAddressBookRevert v@
289 F ABAddressBookSave B@^@
290 F ABAddressBookUnregisterExternalChangeCallback v@^?^v
291
292 V ABAddressBookErrorDomain @
293 C kABOperationNotPermittedByStoreError 0
294
295 F ABMultiValueCopyArrayOfAllValues @@
296 F ABMultiValueCopyLabelAtIndex @@l
297 F ABMultiValueCopyValueAtIndex @@l
298 F ABMultiValueGetCount l@
299 F ABMultiValueGetFirstIndexOfValue l@@
300 F ABMultiValueGetIdentifierAtIndex i@l
301 F ABMultiValueGetIndexForIdentifier l@i
302 F ABMultiValueGetPropertyType S@
303
304 C kABMultiValueInvalidIdentifier -1
305
306 F ABMultiValueAddValueAndLabel @@@^i
307 F ABMultiValueCreateMutable @S
308 F ABMultiValueCreateMutableCopy @@
309 F ABMultiValueInsertValueAndLabelAtIndex B@@@l^i
310 F ABMultiValueRemoveValueAndLabelAtIndex B@l
311 F ABMultiValueReplaceLabelAtIndex B@@l
312 F ABMultiValueReplaceValueAtIndex B@@l
313
314 F ABRecordCopyCompositeName @@
315 F ABRecordCopyValue @@i
316 F ABRecordGetRecordID i@
317 F ABRecordGetRecordType I@
318 F ABRecordRemoveValue B@i^@
319 F ABRecordSetValue B@i@^@
320
321 C kABPersonType 0
322 C kABGroupType 1
323
324 # this was (1<<8)
325 C kABMultiValueMask 0x100
326
327 C kABInvalidPropertyType 0x0
328 C kABStringPropertyType 0x1
329 C kABIntegerPropertyType 0x2
330 C kABRealPropertyType 0x3
331 C kABDateTimePropertyType 0x4
332 C kABDictionaryPropertyType 0x5
333 C kABMultiStringPropertyType 0x101
334 C kABMultiIntegerPropertyType 0x102
335 C kABMultiRealPropertyType 0x103
336 C kABMultiDateTimePropertyType 0x104
337 C kABMultiDictionaryPropertyType 0x105
338
339 C kABRecordInvalidID -1
340 C kABPropertyInvalidID -1
341
342 F ABAddressBookGetGroupWithRecordID @@i
343 F ABGroupAddMember B@@^@
344 F ABGroupCopyArrayOfAllMembers @@
345 F ABGroupCopyArrayOfAllMembersWithSortOrdering @@I
346 F ABGroupCreate @
347 F ABGroupRemoveMember B@@^@
348
349 V kABGroupNameProperty i
350
351 F ABAddressBookCopyPeopleWithName @@@
352 F ABAddressBookGetPersonWithRecordID @@i
353 F ABPersonComparePeopleByName i@@I
354 F ABPersonCopyImageData @@
355 F ABPersonCopyLocalizedPropertyName @i
356 F ABPersonCreate @
357 F ABPersonGetCompositeNameFormat I
358 F ABPersonGetSortOrdering I
359 F ABPersonGetTypeOfProperty SI
360 F ABPersonHasImageData B@
361 F ABPersonRemoveImageData B@^@
362 F ABPersonSetImageData B@@^@
363
364 C kABPersonSortByFirstName 0
365 C kABPersonSortByLastName 1
366
367 C kABPersonCompositeNameFormatFirstNameFirst 0
368 C kABPersonCompositeNameFormatLastNameFirst 1
369
370 V kABPersonFirstNameProperty i
371 V kABPersonLastNameProperty i
372 V kABPersonMiddleNameProperty i
373 V kABPersonPrefixProperty i
374 V kABPersonSuffixProperty i
375 V kABPersonNicknameProperty i
376 V kABPersonFirstNamePhoneticProperty i
377 V kABPersonLastNamePhoneticProperty i
378 V kABPersonMiddleNamePhoneticProperty i
379 V kABPersonOrganizationProperty i
380 V kABPersonJobTitleProperty i
381 V kABPersonDepartmentProperty i
382 V kABPersonEmailProperty i
383 V kABPersonBirthdayProperty i
384 V kABPersonNoteProperty i
385 V kABPersonCreationDateProperty i
386 V kABPersonModificationDateProperty i
387
388 V kABPersonAddressProperty i
389 V kABPersonAddressStreetKey @
390 V kABPersonAddressCityKey @
391 V kABPersonAddressStateKey @
392 V kABPersonAddressZIPKey @
393 V kABPersonAddressCountryKey @
394 V kABPersonAddressCountryCodeKey @
395
396 V kABPersonDateProperty i
397 V kABPersonAnniversaryLabel @
398
399 V kABPersonKindProperty i
400 V kABPersonKindPerson @
401 V kABPersonKindOrganization @
402
403 V kABPersonPhoneProperty i
404 V kABPersonPhoneMobileLabel @
405 V kABPersonPhoneIPhoneLabel @
406 V kABPersonPhoneMainLabel @
407 V kABPersonPhoneHomeFAXLabel @
408 V kABPersonPhoneWorkFAXLabel @
409 V kABPersonPhonePagerLabel @
410
411 V kABPersonInstantMessageProperty i
412 V kABPersonInstantMessageServiceKey @
413 V kABPersonInstantMessageServiceYahoo @
414 V kABPersonInstantMessageServiceJabber @
415 V kABPersonInstantMessageServiceMSN @
416 V kABPersonInstantMessageServiceICQ @
417 V kABPersonInstantMessageServiceAIM @
418 V kABPersonInstantMessageUsernameKey @
419
420 V kABPersonURLProperty i
421 V kABPersonHomePageLabel @
422
423 V kABPersonRelatedNamesProperty i
424 V kABPersonMotherLabel @
425 V kABPersonFatherLabel @
426 V kABPersonParentLabel @
427 V kABPersonSisterLabel @
428 V kABPersonBrotherLabel @
429 V kABPersonChildLabel @
430 V kABPersonFriendLabel @
431 V kABPersonSpouseLabel @
432 V kABPersonPartnerLabel @
433 V kABPersonManagerLabel @
434 V kABPersonAssistantLabel @
435
436 V kABWorkLabel @
437 V kABHomeLabel @
438 V kABOtherLabel @
439
440 f CoreData
441
442 C NSUndefinedAttributeType 0
443 C NSInteger16AttributeType 100
444 C NSInteger32AttributeType 200
445 C NSInteger64AttributeType 300
446 C NSDecimalAttributeType 400
447 C NSDoubleAttributeType 500
448 C NSFloatAttributeType 600
449 C NSStringAttributeType 700
450 C NSBooleanAttributeType 800
451 C NSDateAttributeType 900
452 C NSBinaryDataAttributeType 1000
453 C NSTransformableAttributeType 1800
454 C NSObjectIDAttributeType 2000
455
456 C NSUndefinedEntityMappingType 0x00
457 C NSCustomEntityMappingType 0x01
458 C NSAddEntityMappingType 0x02
459 C NSRemoveEntityMappingType 0x03
460 C NSCopyEntityMappingType 0x04
461 C NSTransformEntityMappingType 0x05
462
463 V NSMigrationManagerKey @
464 V NSMigrationSourceObjectKey @
465 V NSMigrationDestinationObjectKey @
466 V NSMigrationEntityMappingKey @
467 V NSMigrationPropertyMappingKey @
468 V NSMigrationPropertyMappingKey @
469
470 C NSManagedObjectResultType 0x00
471 C NSManagedObjectIDResultType 0x01
472 C NSDictionaryResultType 0x02
473
474 C NSFetchRequestExpressionType 50
475
476 C NSSnapshotEventUndoInsertion 1<<1
477 C NSSnapshotEventUndoDeletion 1<<2
478 C NSSnapshotEventUndoUpdate 1<<3
479 C NSSnapshotEventRollback 1<<4
480 C NSSnapshotEventRefresh 1<<5
481 C NSSnapshotEventMergePolicy 1<<6
482
483 V NSInsertedObjectsKey @
484 V NSUpdatedObjectsKey @
485 V NSDeletedObjectsKey @
486 V NSRefreshedObjectsKey @
487 V NSInvalidatedObjectsKey @
488 V NSInvalidatedAllObjectsKey @
489
490 V NSErrorMergePolicy @
491 V NSMergeByPropertyStoreTrumpMergePolicy @
492 V NSMergeByPropertyObjectTrumpMergePolicy @
493 V NSOverwriteMergePolicy @
494 V NSRollbackMergePolicy @
495
496 V NSSQLiteStoreType @
497 V NSBinaryStoreType @
498 V NSInMemoryStoreType @
499
500 V NSStoreTypeKey @
501 V NSStoreUUIDKey @
502
503 V NSAddedPersistentStoresKey @
504 V NSRemovedPersistentStoresKey @
505 V NSUUIDChangedPersistentStoresKey @
506
507 V NSReadOnlyPersistentStoreOption @
508 V NSPersistentStoreTimeoutOption @
509 V NSSQLitePragmasOption @
510 V NSSQLiteAnalyzeOption @
511 V NSSQLiteManualVacuumOption @
512
513 V NSIgnorePersistentStoreVersioningOption @
514 V NSMigratePersistentStoresAutomaticallyOption @
515 V NSInferMappingModelAutomaticallyOption @
516
517 V NSStoreModelVersionHashesKey @
518 V NSStoreModelVersionIdentifiersKey @
519 V NSPersistentStoreOSCompatibility @
520
521 C NSNoActionDeleteRule 0
522 C NSNullifyDeleteRule 1
523 C NSCascadeDeleteRule 2
524 C NSDenyDeleteRule 3
525
526 C NSFetchedResultsChangeInsert 1
527 C NSFetchedResultsChangeDelete 2
528 C NSFetchedResultsChangeMove 3
529 C NSFetchedResultsChangeUpdate 4
530
531 V NSDetailedErrorsKey @
532 V NSValidationObjectErrorKey @
533 V NSValidationKeyErrorKey @
534 V NSValidationPredicateErrorKey @
535 V NSValidationValueErrorKey @
536 V NSAffectedStoresErrorKey @
537 V NSAffectedObjectsErrorKey @
538
539 V NSSQLiteErrorDomain @
540
541 C NSManagedObjectValidationError 1550
542 C NSValidationMultipleErrorsError 1560
543 C NSValidationMissingMandatoryPropertyError 1570
544 C NSValidationRelationshipLacksMinimumCountError 1580
545 C NSValidationRelationshipExceedsMaximumCountError 1590
546 C NSValidationRelationshipDeniedDeleteError 1600
547 C NSValidationNumberTooLargeError 1610
548 C NSValidationNumberTooSmallError 1620
549 C NSValidationDateTooLateError 1630
550 C NSValidationDateTooSoonError 1640
551 C NSValidationInvalidDateError 1650
552 C NSValidationStringTooLongError 1660
553 C NSValidationStringTooShortError 1670
554 C NSValidationStringPatternMatchingError 1680
555
556 C NSManagedObjectContextLockingError 132000
557 C NSPersistentStoreCoordinatorLockingError 132010
558 C NSManagedObjectReferentialIntegrityError 133000
559 C NSManagedObjectExternalRelationshipError 133010
560 C NSManagedObjectMergeError 133020
561
562 C NSPersistentStoreInvalidTypeError 134000
563 C NSPersistentStoreTypeMismatchError 134010
564 C NSPersistentStoreIncompatibleSchemaError 134020
565 C NSPersistentStoreSaveError 134030
566 C NSPersistentStoreIncompleteSaveError 134040
567 C NSPersistentStoreOperationError 134070
568 C NSPersistentStoreOpenError 134080
569 C NSPersistentStoreTimeoutError 134090
570 C NSPersistentStoreIncompatibleVersionHashError 134100
571
572 C NSMigrationError 134110
573 C NSMigrationCancelledError 134120
574 C NSMigrationMissingSourceModelError 134130
575 C NSMigrationMissingMappingModelError 134140
576 C NSMigrationManagerSourceStoreError 134150
577 C NSMigrationManagerDestinationStoreError 134160
578 C NSEntityMigrationPolicyError 134170
579 C NSInferredMappingModelError 134190
580 C NSExternalRecordImportError 134200
581
582 C NSCoreDataError 134060
583 C NSSQLiteError 134180
584
585 V NSCoreDataVersionNumber d
586
587 C NSCoreDataVersionNumber10_4 46.0
588 C NSCoreDataVersionNumber10_4_3 77.0
589 C NSCoreDataVersionNumber10_5 185.0
590 C NSCoreDataVersionNumber10_5_3 186.0
591
592 f CoreFoundation
593
594 # XXX: incomplete by any stretch of the imagination
595
596 F CFShow v@
597 F CFShowStr v@
598
599 f CoreLocation
600
601 V kCLLocationAccuracyBest d
602 V kCLLocationAccuracyNearestTenMeters d
603 V kCLLocationAccuracyHundredMeters d
604 V kCLLocationAccuracyKilometer d
605 V kCLLocationAccuracyThreeKilometers d
606
607 V kCLDistanceFilterNone d
608 V kCLHeadingFilterNone d
609
610 C kCLErrorLocationUnknown 0
611 C kCLErrorDenied 1
612 C kCLErrorNetwork 2
613 C kCLErrorHeadingFailure 3
614
615 V kCLErrorDomain @
616
617 f MapKit
618
619 C MKMapTypeStandard 0
620 C MKMapTypeSatellite 1
621 C MKMapTypeHybrid 2
622
623 V MKErrorDomain @
624
625 C MKErrorUnknown 1
626 C MKErrorServerFailure 2
627 C MKErrorLoadingThrottled 3
628 C MKErrorPlacemarkNotFound 4
629
630 C MKPinAnnotationColorRed 0
631 C MKPinAnnotationColorGreen 1
632 C MKPinAnnotationColorPurple 2
633
634 # MKCoordinateRegionMake
635 # MKCoordinateRegionMakeWithDistance
636 # MKCoordinateSpanMake
637
638 C RTLD_LAZY 0x1
639 C RTLD_NOW 0x2
640 C RTLD_LOCAL 0x4
641 C RTLD_GLOBAL 0x8
642
643 C RTLD_NOLOAD 0x10
644 C RTLD_NODELETE 0x80
645 C RTLD_FIRST 0x100
646
647 C RTLD_NEXT -1
648 C RTLD_DEFAULT -2
649 C RTLD_SELF -3
650
651 # XXX: dladdr
652 F dlclose i^v
653 F dlerror *
654 F dlopen ^v*i
655 F dlsym ^v^v*
656 F dlopen_preflight B*