peachsim 0.1.2176 → 0.1.2179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +2205 -1861
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +837 -571
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1732 -1396
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +2 -2
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +2 -2
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +59 -54
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +2223 -1876
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1587 -1319
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryEvent.h +116 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNChangeHistoryFetchRequest.h +79 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContact+NSItemProvider.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContact+Predicates.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContact.h +169 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContactFetchRequest.h +72 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContactFormatter.h +136 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContactProperty.h +47 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContactRelation.h +287 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContactStore.h +242 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContactVCardSerialization.h +62 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContactsUserDefaults.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContainer+Predicates.h +29 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNContainer.h +44 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNError.h +64 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNFetchRequest.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNFetchResult.h +26 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNGroup+Predicates.h +28 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNGroup.h +34 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNInstantMessageAddress.h +52 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNLabeledValue.h +69 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNMutableContact.h +74 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNMutableGroup.h +25 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNMutablePostalAddress.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNPhoneNumber.h +44 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNPostalAddress.h +50 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNPostalAddressFormatter.h +91 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNSaveRequest.h +136 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/CNSocialProfile.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/Contacts.apinotes +28 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/Contacts.h +42 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Headers/ContactsDefines.h +14 -0
- package/sdk/ios/System/Library/Frameworks/Contacts.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/ContactsUI.framework/Headers/CNContactPickerViewController.h +92 -0
- package/sdk/ios/System/Library/Frameworks/ContactsUI.framework/Headers/CNContactViewController.h +157 -0
- package/sdk/ios/System/Library/Frameworks/ContactsUI.framework/Headers/ContactsUI.h +10 -0
- package/sdk/ios/System/Library/Frameworks/ContactsUI.framework/Headers/UIApplicationShortcutIcon+Contacts.h +22 -0
- package/sdk/ios/System/Library/Frameworks/ContactsUI.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchedResultsController.h +8 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKAlarm.h +114 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKCalendar.h +134 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKCalendarItem.h +129 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKError.h +105 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKEvent.h +205 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKEventStore.h +477 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKObject.h +34 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKParticipant.h +115 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKRecurrenceDayOfWeek.h +71 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKRecurrenceEnd.h +61 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKRecurrenceRule.h +193 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKReminder.h +80 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKSource.h +47 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKStructuredLocation.h +28 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKTypes.h +253 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKVirtualConferenceDescriptor.h +109 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EKVirtualConferenceProvider.h +63 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EventKit.apinotes +72 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EventKit.h +29 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Headers/EventKitDefines.h +30 -0
- package/sdk/ios/System/Library/Frameworks/EventKit.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Headers/PKDefines.h +26 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Headers/PKPushCredentials.h +37 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Headers/PKPushPayload.h +36 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Headers/PKPushRegistry.h +330 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Headers/PKVoIPPushMetadata.h +27 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Headers/PushKit.apinotes +43 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Headers/PushKit.h +12 -0
- package/sdk/ios/System/Library/Frameworks/PushKit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/ARQuickLookPreviewItem.h +63 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLBase.h +34 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLFilePreviewRequest.h +32 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewController.h +174 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewItem.h +45 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewProvider.h +27 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewReply.h +106 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewSceneActivationConfiguration.h +41 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLPreviewingController.h +74 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLThumbnailProvider.h +37 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLThumbnailReply.h +67 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QLThumbnailRequest.h +33 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QuickLook.apinotes +35 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QuickLook.h +30 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Headers/QuickLookUICore.h +12 -0
- package/sdk/ios/System/Library/Frameworks/QuickLook.framework/Modules/module.modulemap +8 -0
- package/src/core-data-entity-classes.ts +316 -0
- package/src/swift-host.ts +12 -0
- package/src/turbo-source.ts +89 -11
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CNContactPickerViewController.h
|
|
3
|
+
// ContactsUI
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2015 Apple, Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
#import <Contacts/Contacts.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
@protocol CNContactPickerDelegate;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
* @abstract The CNContactPickerViewController allows the user to select one or multiple contacts or properties.
|
|
18
|
+
* @discussion The entire list of contacts will be presented to the user.
|
|
19
|
+
* The picker supports both single selection and multi-selection.
|
|
20
|
+
* The app does not need access to the user’s contacts and the user will
|
|
21
|
+
* not be prompted for access. It will only have access to the final selection of the user.
|
|
22
|
+
* Changing the predicates only takes effect before the view is presented.
|
|
23
|
+
*/
|
|
24
|
+
NS_CLASS_AVAILABLE_IOS(9_0) API_DEPRECATED("Unavailable on tvOS", tvos(1.0, 18.0))
|
|
25
|
+
@interface CNContactPickerViewController : UIViewController
|
|
26
|
+
|
|
27
|
+
/*!
|
|
28
|
+
* @abstract The CNContact property keys to display in the contact detail card.
|
|
29
|
+
* @discussion If not set all properties are displayed.
|
|
30
|
+
*/
|
|
31
|
+
@property (nonatomic, copy, nullable) NSArray<NSString*> *displayedPropertyKeys;
|
|
32
|
+
|
|
33
|
+
/*!
|
|
34
|
+
* @abstract The delegate to be notified when the user selects a contact or property.
|
|
35
|
+
*/
|
|
36
|
+
@property (nonatomic, weak, nullable) id <CNContactPickerDelegate> delegate;
|
|
37
|
+
|
|
38
|
+
/*!
|
|
39
|
+
* @abstract The predicate to determine if a contact is selectable in the list.
|
|
40
|
+
* @discussion If not set all contacts are selectable.
|
|
41
|
+
*/
|
|
42
|
+
@property (nonatomic, copy, nullable) NSPredicate *predicateForEnablingContact; // e.g. emailAddresses.@count > 0
|
|
43
|
+
|
|
44
|
+
/*!
|
|
45
|
+
* @abstract The predicate to control the selection of a contact.
|
|
46
|
+
* @discussion It determines whether a selected contact should be returned (predicate evaluates to TRUE)
|
|
47
|
+
* or if the contact detail card should be displayed (evaluates to FALSE).
|
|
48
|
+
* If not set the picker displays the contact detail card when the contact is selected.
|
|
49
|
+
*/
|
|
50
|
+
@property (nonatomic, copy, nullable) NSPredicate *predicateForSelectionOfContact; // e.g. emailAddresses.@count == 1
|
|
51
|
+
|
|
52
|
+
/*!
|
|
53
|
+
* @abstract The predicate to control the selection of a property.
|
|
54
|
+
* @discussion It determines whether a selected property should be returned (predicate evaluates to TRUE)
|
|
55
|
+
* or if the default action for the property should be performed (predicate evaluates to FALSE).
|
|
56
|
+
* If not set the picker returns the first selected property.
|
|
57
|
+
* The predicate is evaluated on the CNContactProperty that is being selected.
|
|
58
|
+
*/
|
|
59
|
+
@property (nonatomic, copy, nullable) NSPredicate *predicateForSelectionOfProperty; // e.g. (key == 'emailAddresses') AND (value LIKE '*@apple.com')
|
|
60
|
+
|
|
61
|
+
@end
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
NS_AVAILABLE_IOS(9_0) API_DEPRECATED("Unavailable on tvOS", tvos(1.0, 18.0))
|
|
65
|
+
@protocol CNContactPickerDelegate <NSObject>
|
|
66
|
+
|
|
67
|
+
@optional
|
|
68
|
+
|
|
69
|
+
/*!
|
|
70
|
+
* @abstract Invoked when the picker is closed.
|
|
71
|
+
* @discussion The picker will be dismissed automatically after a contact or property is picked.
|
|
72
|
+
*/
|
|
73
|
+
- (void)contactPickerDidCancel:(CNContactPickerViewController *)picker;
|
|
74
|
+
|
|
75
|
+
/*!
|
|
76
|
+
* @abstract Singular delegate methods.
|
|
77
|
+
* @discussion These delegate methods will be invoked when the user selects a single contact or property.
|
|
78
|
+
*/
|
|
79
|
+
- (void)contactPicker:(CNContactPickerViewController *)picker didSelectContact:(CNContact *)contact;
|
|
80
|
+
- (void)contactPicker:(CNContactPickerViewController *)picker didSelectContactProperty:(CNContactProperty *)contactProperty;
|
|
81
|
+
|
|
82
|
+
/*!
|
|
83
|
+
* @abstract Plural delegate methods.
|
|
84
|
+
* @discussion These delegate methods will be invoked when the user is done selecting multiple contacts or properties.
|
|
85
|
+
* Implementing one of these methods will configure the picker for multi-selection.
|
|
86
|
+
*/
|
|
87
|
+
- (void)contactPicker:(CNContactPickerViewController *)picker didSelectContacts:(NSArray<CNContact*> *)contacts;
|
|
88
|
+
- (void)contactPicker:(CNContactPickerViewController *)picker didSelectContactProperties:(NSArray<CNContactProperty*> *)contactProperties;
|
|
89
|
+
|
|
90
|
+
@end
|
|
91
|
+
|
|
92
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/ContactsUI.framework/Headers/CNContactViewController.h
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CNContactViewController.h
|
|
3
|
+
// ContactsUI
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2015 Apple, Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <UIKit/UIKit.h>
|
|
9
|
+
#import <Contacts/Contacts.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
@protocol CNContactViewControllerDelegate;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
* @abstract The @c CNContactViewController is used to display a contact.
|
|
18
|
+
* @discussion This class can display a new contact, unknown contact or existing contact.
|
|
19
|
+
* You must use one of the class factory methods.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
NS_CLASS_AVAILABLE_IOS(9_0) API_DEPRECATED("Unavailable on tvOS", tvos(1.0, 18.0))
|
|
23
|
+
@interface CNContactViewController : UIViewController
|
|
24
|
+
|
|
25
|
+
/*!
|
|
26
|
+
* @abstract Descriptor for all keys that must be fetched on a contact before setting it on the view controller.
|
|
27
|
+
* @discussion If you want to display an existing contact in a @c CNContactViewController,
|
|
28
|
+
* this descriptor must have been included in the @c keysToFetch property of the
|
|
29
|
+
* @c CNContactFetchRequest. (A newly created @c CNMutableContact may be used safely.)
|
|
30
|
+
*/
|
|
31
|
+
+ (id<CNKeyDescriptor>)descriptorForRequiredKeys;
|
|
32
|
+
|
|
33
|
+
/*!
|
|
34
|
+
* @abstract Initializes a contact view controller for a known contact.
|
|
35
|
+
* @discussion Use this view controller for a contact that has been fetched
|
|
36
|
+
* from the user’s contacts database.
|
|
37
|
+
* Allows editing of the contact by default.
|
|
38
|
+
* @note All keys of the given contact must be fetched.
|
|
39
|
+
* @see contactStore
|
|
40
|
+
* @see allowsEditing
|
|
41
|
+
*/
|
|
42
|
+
+ (instancetype)viewControllerForContact:(CNContact *)contact;
|
|
43
|
+
|
|
44
|
+
/*!
|
|
45
|
+
* @abstract Initializes a contact view controller for an unknown contact.
|
|
46
|
+
* @discussion Use this view controller for a populated contact not fetched from the user’s contacts.
|
|
47
|
+
* Such a contact might be obtained by parsing a vCard or setting properties on a newly
|
|
48
|
+
* created @c CNMutableContact.
|
|
49
|
+
* This controller does not allow editing, but by default does allow actions
|
|
50
|
+
* for adding the contact to the contacts database.
|
|
51
|
+
* @see contactStore
|
|
52
|
+
*/
|
|
53
|
+
+ (instancetype)viewControllerForUnknownContact:(CNContact *)contact;
|
|
54
|
+
|
|
55
|
+
/*!
|
|
56
|
+
* @abstract Initializes a contact view controller for creating a new contact.
|
|
57
|
+
* @discussion Use this view controller with a contact to be added to the user's contacts.
|
|
58
|
+
* @note The given contact should be a newly initialized contact and
|
|
59
|
+
* not one fetched from the user's contacts.
|
|
60
|
+
*/
|
|
61
|
+
+ (instancetype)viewControllerForNewContact:(nullable CNContact *)contact;
|
|
62
|
+
|
|
63
|
+
/*!
|
|
64
|
+
* @abstract The contact being displayed.
|
|
65
|
+
*/
|
|
66
|
+
@property (nonatomic, strong, readonly) CNContact *contact;
|
|
67
|
+
|
|
68
|
+
/*!
|
|
69
|
+
* @abstract The @c CNContact property keys to display.
|
|
70
|
+
* @discussion If @c nil, all properties are displayed. (The property is @c nil by default.)
|
|
71
|
+
* @note All properties are visible when editing the contact.
|
|
72
|
+
*/
|
|
73
|
+
@property (nonatomic, copy, nullable) NSArray *displayedPropertyKeys;
|
|
74
|
+
|
|
75
|
+
/*!
|
|
76
|
+
* @abstract The delegate to be notified.
|
|
77
|
+
*/
|
|
78
|
+
@property (nonatomic, weak, nullable) id <CNContactViewControllerDelegate> delegate;
|
|
79
|
+
|
|
80
|
+
/*!
|
|
81
|
+
* @abstract The @c CNContactStore where the contact was fetched from or will be saved to.
|
|
82
|
+
* @discussion If @c contactStore is not set, actions for adding the contact to the
|
|
83
|
+
* user's contacts are disabled. This does not affect the ability to edit
|
|
84
|
+
* the contact.
|
|
85
|
+
*
|
|
86
|
+
* If the user edits the contact and the editing is committed, the contact
|
|
87
|
+
* will be updated in the user's contacts database or added to the user's
|
|
88
|
+
* contacts database if not already present.
|
|
89
|
+
*
|
|
90
|
+
* To prevent editing of a known contact, set @c allowsEditing to @c NO.
|
|
91
|
+
* @see allowsEditing
|
|
92
|
+
*/
|
|
93
|
+
@property (nonatomic, strong, nullable) CNContactStore *contactStore;
|
|
94
|
+
|
|
95
|
+
/*!
|
|
96
|
+
* @abstract A @c CNGroup where the new contact will be assigned membership.
|
|
97
|
+
* @discussion If not set the contact is added only to the default @c CNContainer with no group membership.
|
|
98
|
+
* @note When set to a group not in the default container, the container
|
|
99
|
+
* property must also be set to the container of parentGroup.
|
|
100
|
+
*/
|
|
101
|
+
@property (nonatomic, strong, nullable) CNGroup *parentGroup;
|
|
102
|
+
|
|
103
|
+
/*!
|
|
104
|
+
* @abstract A @c CNContainer where the new contact will be created.
|
|
105
|
+
* @discussion If not set the contact is added to the default container.
|
|
106
|
+
*/
|
|
107
|
+
@property (nonatomic, strong, nullable) CNContainer *parentContainer;
|
|
108
|
+
|
|
109
|
+
/*!
|
|
110
|
+
* @abstract The name to use if the contact has no display name.
|
|
111
|
+
*/
|
|
112
|
+
@property (nonatomic, copy, nullable) NSString *alternateName;
|
|
113
|
+
|
|
114
|
+
/*!
|
|
115
|
+
* @abstract The message to display under the name.
|
|
116
|
+
*/
|
|
117
|
+
@property (nonatomic, copy, nullable) NSString *message;
|
|
118
|
+
|
|
119
|
+
/*!
|
|
120
|
+
* @abstract Customization of the card.
|
|
121
|
+
*/
|
|
122
|
+
@property (nonatomic, assign) BOOL allowsEditing; // YES by default
|
|
123
|
+
@property (nonatomic, assign) BOOL allowsActions; // YES by default
|
|
124
|
+
@property (nonatomic, assign) BOOL shouldShowLinkedContacts; // NO by default
|
|
125
|
+
|
|
126
|
+
/*!
|
|
127
|
+
* @abstract Highlight a property.
|
|
128
|
+
* @discussion Indicates whether to highlight a certain property value for the contact.
|
|
129
|
+
* If a single value property key is specified, identifier will be ignored.
|
|
130
|
+
*/
|
|
131
|
+
- (void)highlightPropertyWithKey:(NSString *)key identifier:(nullable NSString *)identifier;
|
|
132
|
+
|
|
133
|
+
@end
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
NS_AVAILABLE_IOS(9_0) API_DEPRECATED("Unavailable on tvOS", tvos(1.0, 18.0))
|
|
137
|
+
@protocol CNContactViewControllerDelegate <NSObject>
|
|
138
|
+
@optional
|
|
139
|
+
|
|
140
|
+
/*!
|
|
141
|
+
* @abstract Called when the user selects a single property.
|
|
142
|
+
* @discussion Return @c NO if you do not want anything to be done or if you are handling the actions yourself.
|
|
143
|
+
* @return @c YES if you want the default action performed for the property otherwise return @c NO.
|
|
144
|
+
*/
|
|
145
|
+
- (BOOL)contactViewController:(CNContactViewController *)viewController shouldPerformDefaultActionForContactProperty:(CNContactProperty *)property;
|
|
146
|
+
|
|
147
|
+
/*!
|
|
148
|
+
* @abstract Called when the view has completed.
|
|
149
|
+
* @discussion If creating a new contact, the new contact added to the contacts list will be passed.
|
|
150
|
+
* If adding to an existing contact, the existing contact will be passed.
|
|
151
|
+
* @note It is up to the delegate to dismiss the view controller.
|
|
152
|
+
*/
|
|
153
|
+
- (void)contactViewController:(CNContactViewController *)viewController didCompleteWithContact:(nullable CNContact *)contact;
|
|
154
|
+
|
|
155
|
+
@end
|
|
156
|
+
|
|
157
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//
|
|
2
|
+
// ContactsUI.h
|
|
3
|
+
// ContactsUI
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2015 Apple, Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <ContactsUI/CNContactPickerViewController.h>
|
|
9
|
+
#import <ContactsUI/CNContactViewController.h>
|
|
10
|
+
#import <ContactsUI/UIApplicationShortcutIcon+Contacts.h>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//
|
|
2
|
+
// UIApplicationShortcutIcon+Contacts.h
|
|
3
|
+
// ContactsUI
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2015 Apple, Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Contacts/Contacts.h>
|
|
9
|
+
#import <UIKit/UIApplicationShortcutItem.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
API_AVAILABLE(ios(9.0))
|
|
14
|
+
API_UNAVAILABLE(tvos)
|
|
15
|
+
API_UNAVAILABLE(macos, macCatalyst)
|
|
16
|
+
@interface UIApplicationShortcutIcon (ContactsUI)
|
|
17
|
+
|
|
18
|
+
+ (instancetype)iconWithContact:(CNContact *)contact;
|
|
19
|
+
|
|
20
|
+
@end
|
|
21
|
+
|
|
22
|
+
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchedResultsController.h
CHANGED
|
@@ -11,11 +11,17 @@ __attribute__((availability(ios,introduced=3.0)))
|
|
|
11
11
|
- (BOOL)performFetch:(NSError **)error;
|
|
12
12
|
@property (nonatomic, readonly) NSFetchRequest<ResultType> *fetchRequest;
|
|
13
13
|
@property (nonatomic, readonly) NSManagedObjectContext *managedObjectContext;
|
|
14
|
+
@property (nullable, nonatomic, readonly) NSString *sectionNameKeyPath;
|
|
15
|
+
@property (nullable, nonatomic, readonly) NSString *cacheName;
|
|
14
16
|
@property (nullable, nonatomic, assign) id<NSFetchedResultsControllerDelegate> delegate;
|
|
17
|
+
+ (void)deleteCacheWithName:(nullable NSString *)name;
|
|
15
18
|
@property (nullable, nonatomic, readonly) NSArray<ResultType> *fetchedObjects;
|
|
16
19
|
- (ResultType)objectAtIndexPath:(NSIndexPath *)indexPath;
|
|
17
20
|
- (nullable NSIndexPath *)indexPathForObject:(ResultType)object;
|
|
21
|
+
- (nullable NSString *)sectionIndexTitleForSectionName:(NSString *)sectionName;
|
|
22
|
+
@property (nonatomic, readonly) NSArray<NSString *> *sectionIndexTitles;
|
|
18
23
|
@property (nullable, nonatomic, readonly) NSArray<id<NSFetchedResultsSectionInfo>> *sections;
|
|
24
|
+
- (NSInteger)sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)sectionIndex;
|
|
19
25
|
@end
|
|
20
26
|
@protocol NSFetchedResultsSectionInfo
|
|
21
27
|
@property (nonatomic, readonly) NSString *name;
|
|
@@ -31,9 +37,11 @@ typedef NS_ENUM(NSUInteger, NSFetchedResultsChangeType) {
|
|
|
31
37
|
} __attribute__((availability(ios,introduced=3.0)));
|
|
32
38
|
@protocol NSFetchedResultsControllerDelegate <NSObject>
|
|
33
39
|
@optional
|
|
40
|
+
- (void)controller:(NSFetchedResultsController *)controller didChangeContentWithDifference:(NSOrderedCollectionDifference<NSManagedObjectID *> *)diff __attribute__((availability(ios,introduced=13.0)));
|
|
34
41
|
- (void)controller:(NSFetchedResultsController *)controller didChangeObject:(id)anObject atIndexPath:(nullable NSIndexPath *)indexPath forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(nullable NSIndexPath *)newIndexPath;
|
|
35
42
|
- (void)controller:(NSFetchedResultsController *)controller didChangeSection:(id<NSFetchedResultsSectionInfo>)sectionInfo atIndex:(NSUInteger)sectionIndex forChangeType:(NSFetchedResultsChangeType)type;
|
|
36
43
|
- (void)controllerWillChangeContent:(NSFetchedResultsController *)controller;
|
|
37
44
|
- (void)controllerDidChangeContent:(NSFetchedResultsController *)controller;
|
|
45
|
+
- (nullable NSString *)controller:(NSFetchedResultsController *)controller sectionIndexTitleForSectionName:(NSString *)sectionName __attribute__((availability(ios,introduced=4.0)));
|
|
38
46
|
@end
|
|
39
47
|
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
//
|
|
2
|
+
// EKAlarm.h
|
|
3
|
+
// EventKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright 2009-2010 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <EventKit/EventKitDefines.h>
|
|
9
|
+
#import <EventKit/EKObject.h>
|
|
10
|
+
#import <EventKit/EKTypes.h>
|
|
11
|
+
|
|
12
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
13
|
+
|
|
14
|
+
@class EKCalendarItem, EKStructuredLocation;
|
|
15
|
+
|
|
16
|
+
/*!
|
|
17
|
+
@class EKAlarm
|
|
18
|
+
@abstract The EKAlarm class provides an interface for accessing and manipulating calendar event alarms.
|
|
19
|
+
@discussion The EKAlarm class represents alarms on an event. An alarm can be relative (e.g. 15 mins before)
|
|
20
|
+
or absolute (specific time).
|
|
21
|
+
*/
|
|
22
|
+
NS_CLASS_AVAILABLE(10_8, 4_0)
|
|
23
|
+
@interface EKAlarm : EKObject <NSCopying> {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/*!
|
|
27
|
+
@method alarmWithAbsoluteDate:
|
|
28
|
+
@abstract Creates a new autoreleased alarm with an absolute trigger time.
|
|
29
|
+
@param date The date the alarm should fire.
|
|
30
|
+
*/
|
|
31
|
+
+ (EKAlarm *)alarmWithAbsoluteDate:(NSDate *)date;
|
|
32
|
+
|
|
33
|
+
/*!
|
|
34
|
+
@method alarmWithRelativeOffset:
|
|
35
|
+
@abstract Creates a new autoreleased alarm with a relative trigger time.
|
|
36
|
+
@discussion Creates a new autoreleased alarm with a relative trigger time. This offset
|
|
37
|
+
is added to the start date of the event.
|
|
38
|
+
|
|
39
|
+
@param offset The offset from the event start that the alarm should fire.
|
|
40
|
+
*/
|
|
41
|
+
+ (EKAlarm *)alarmWithRelativeOffset:(NSTimeInterval)offset;
|
|
42
|
+
|
|
43
|
+
/*!
|
|
44
|
+
@property relativeOffset
|
|
45
|
+
@abstract Specifies a relative offset from an event start date to fire an alarm.
|
|
46
|
+
@discussion Set this property to an appropriate negative value to establish an alarm trigger
|
|
47
|
+
relative to the start date/time of an event. Setting this clears any existing
|
|
48
|
+
date trigger.
|
|
49
|
+
*/
|
|
50
|
+
@property(nonatomic) NSTimeInterval relativeOffset;
|
|
51
|
+
|
|
52
|
+
/*!
|
|
53
|
+
@property absoluteDate
|
|
54
|
+
@abstract Represents an alarm that fires at a specific date.
|
|
55
|
+
@discussion Set this property to a date to establish an absolute alarm trigger. Setting this
|
|
56
|
+
clears any relative interval trigger.
|
|
57
|
+
*/
|
|
58
|
+
@property(nonatomic, copy, nullable) NSDate *absoluteDate;
|
|
59
|
+
|
|
60
|
+
/*!
|
|
61
|
+
@property structuredLocation
|
|
62
|
+
@discussion Allows you to set a structured location (a location with a potential geo-coordinate)
|
|
63
|
+
on an alarm. This is used in conjunction with proximity to do geofence-based
|
|
64
|
+
triggering of reminders.
|
|
65
|
+
*/
|
|
66
|
+
@property(nonatomic, copy, nullable) EKStructuredLocation *structuredLocation;
|
|
67
|
+
|
|
68
|
+
/*!
|
|
69
|
+
@property proximity
|
|
70
|
+
@discussion Defines whether this alarm triggers via entering/exiting a geofence as defined by
|
|
71
|
+
structuredLocation.
|
|
72
|
+
*/
|
|
73
|
+
@property(nonatomic) EKAlarmProximity proximity;
|
|
74
|
+
|
|
75
|
+
/*!
|
|
76
|
+
@property type
|
|
77
|
+
@abstract The type of alarm, based on the action taken when triggering the alarm.
|
|
78
|
+
@discussion This field is read-only; to change the type of alarm, set emailAddress for EKAlarmTypeEmail,
|
|
79
|
+
soundName for EKAlarmTypeAudio or url for EKAlarmTypeProcedure.
|
|
80
|
+
Setting all of those to nil will change it to EKAlarmTypeDisplay.
|
|
81
|
+
*/
|
|
82
|
+
@property(nonatomic, readonly) EKAlarmType type NS_AVAILABLE(10_8, NA);
|
|
83
|
+
|
|
84
|
+
/*!
|
|
85
|
+
@property emailAddress
|
|
86
|
+
@abstract An email address that is the recipient of an email alarm, which is an alarm that triggers an email message.
|
|
87
|
+
@discussion When you set the emailAddress property, the action property is set to EKAlarmTypeEmail,
|
|
88
|
+
and the soundName and url properties are set to nil.
|
|
89
|
+
*/
|
|
90
|
+
@property(nonatomic, copy, nullable) NSString *emailAddress NS_AVAILABLE(10_8, NA);
|
|
91
|
+
|
|
92
|
+
/*!
|
|
93
|
+
@property soundName
|
|
94
|
+
@abstract The name of the sound to play when the alarm triggers.
|
|
95
|
+
@discussion The value of this property is the name of a system sound that can be used with
|
|
96
|
+
the soundNamed: class method to create an NSSound object. When you set the soundName property,
|
|
97
|
+
the action property is set to EKAlarmTypeAudio, and the emailAddress and url properties are set to nil.
|
|
98
|
+
*/
|
|
99
|
+
@property(nonatomic, copy, nullable) NSString *soundName NS_AVAILABLE(10_8, NA);
|
|
100
|
+
|
|
101
|
+
/*!
|
|
102
|
+
@property url
|
|
103
|
+
@abstract The URL to open when the alarm triggers.
|
|
104
|
+
@discussion When you set the url property, the action property is set to EKAlarmTypeProcedure,
|
|
105
|
+
and the emailAddress and soundName properties are set to nil.
|
|
106
|
+
Note: Starting with OS X 10.9, it is not possible to create new procedure alarms or view URLs for existing procedure alarms.
|
|
107
|
+
Trying to save or modify a procedure alarm will result in a save error.
|
|
108
|
+
Editing other aspects of events or reminders that have existing procedure alarms is allowed as long as the alarm isn't modified.
|
|
109
|
+
*/
|
|
110
|
+
@property(nonatomic, copy, nullable) NSURL *url NS_DEPRECATED(10_8, 10_9, NA, NA);
|
|
111
|
+
|
|
112
|
+
@end
|
|
113
|
+
|
|
114
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
//
|
|
2
|
+
// EKCalendar.h
|
|
3
|
+
// EventKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright 2009-2010 Apple Inc. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <EventKit/EventKitDefines.h>
|
|
9
|
+
#import <EventKit/EKObject.h>
|
|
10
|
+
#import <Foundation/Foundation.h>
|
|
11
|
+
#import <CoreGraphics/CoreGraphics.h>
|
|
12
|
+
#import <EventKit/EKTypes.h>
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
17
|
+
|
|
18
|
+
@class EKEventStore, EKSource;
|
|
19
|
+
#if TARGET_OS_OSX
|
|
20
|
+
@class NSColor;
|
|
21
|
+
#endif
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/*!
|
|
25
|
+
@class EKCalendar
|
|
26
|
+
@abstract The EKCalendar class represents a calendar for events.
|
|
27
|
+
*/
|
|
28
|
+
NS_CLASS_AVAILABLE(10_8, 4_0)
|
|
29
|
+
@interface EKCalendar : EKObject
|
|
30
|
+
|
|
31
|
+
// Create a new calendar in the specified event store. You should use calendarForEntityType in iOS 6 or later.
|
|
32
|
+
+ (EKCalendar*)calendarWithEventStore:(EKEventStore *)eventStore NS_DEPRECATED(NA, NA, 4_0, 6_0)
|
|
33
|
+
#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
|
|
34
|
+
API_UNAVAILABLE(visionos)
|
|
35
|
+
#endif
|
|
36
|
+
;
|
|
37
|
+
|
|
38
|
+
/*!
|
|
39
|
+
@method calendarForEntityType:
|
|
40
|
+
@abstract Creates a new autoreleased calendar that may contain the given entity type.
|
|
41
|
+
@discussion You can only create calendars that accept either reminders or events via our API.
|
|
42
|
+
However, other servers might allow mixing the two (though it is not common).
|
|
43
|
+
|
|
44
|
+
@param entityType The entity type that this calendar may support.
|
|
45
|
+
@param eventStore The event store in which to create this calendar.
|
|
46
|
+
*/
|
|
47
|
+
+ (EKCalendar *)calendarForEntityType:(EKEntityType)entityType eventStore:(EKEventStore *)eventStore NS_AVAILABLE(10_8, 6_0);
|
|
48
|
+
|
|
49
|
+
/*!
|
|
50
|
+
@property source
|
|
51
|
+
@abstract The source representing the 'account' this calendar belongs to.
|
|
52
|
+
This is only settable when initially creating a calendar and then
|
|
53
|
+
effectively read-only after that. That is, you can create a calendar,
|
|
54
|
+
but you cannot move it to another source.
|
|
55
|
+
@discussion This will be nil for new calendars until you set it.
|
|
56
|
+
*/
|
|
57
|
+
@property(null_unspecified, nonatomic, strong) EKSource *source;
|
|
58
|
+
|
|
59
|
+
/*!
|
|
60
|
+
@property calendarIdentifier
|
|
61
|
+
@abstract A unique identifier for the calendar. It is not sync-proof in that a full
|
|
62
|
+
sync will lose this identifier, so you should always have a back up plan for dealing
|
|
63
|
+
with a calendar that is no longer fetchable by this property, e.g. by title, type, color, etc.
|
|
64
|
+
Use [EKEventStore calendarWithIdentifier:] to look up the calendar by this value.
|
|
65
|
+
*/
|
|
66
|
+
@property(nonatomic, readonly) NSString *calendarIdentifier NS_AVAILABLE(10_8, 5_0);
|
|
67
|
+
|
|
68
|
+
/*!
|
|
69
|
+
@property title
|
|
70
|
+
@abstract The title of the calendar.
|
|
71
|
+
*/
|
|
72
|
+
@property(nonatomic, copy) NSString *title;
|
|
73
|
+
|
|
74
|
+
/*!
|
|
75
|
+
@property type
|
|
76
|
+
@abstract The type of the calendar as a EKCalendarType. This is actually based on
|
|
77
|
+
what source the calendar is in, as well as whether it is a subscribed calendar.
|
|
78
|
+
@discussion CalDAV subscribed calendars have type EKCalendarTypeCalDAV with isSubscribed = YES.
|
|
79
|
+
*/
|
|
80
|
+
@property(nonatomic, readonly) EKCalendarType type;
|
|
81
|
+
|
|
82
|
+
/*!
|
|
83
|
+
@property allowsContentModifications
|
|
84
|
+
@abstract Represents whether you can this add, remove, or modify items in this calendar.
|
|
85
|
+
*/
|
|
86
|
+
@property(nonatomic, readonly) BOOL allowsContentModifications;
|
|
87
|
+
|
|
88
|
+
/*!
|
|
89
|
+
@property subscribed
|
|
90
|
+
@abstract YES if this calendar is a subscribed calendar.
|
|
91
|
+
*/
|
|
92
|
+
@property(nonatomic, readonly, getter=isSubscribed) BOOL subscribed NS_AVAILABLE(10_8, 5_0);
|
|
93
|
+
|
|
94
|
+
/*!
|
|
95
|
+
@property immutable
|
|
96
|
+
@abstract If this is set to YES, it means you cannot modify any attributes of
|
|
97
|
+
the calendar or delete it. It does NOT imply that you cannot add events
|
|
98
|
+
or reminders to the calendar.
|
|
99
|
+
*/
|
|
100
|
+
@property(nonatomic, readonly, getter=isImmutable) BOOL immutable NS_AVAILABLE(10_8, 5_0);
|
|
101
|
+
|
|
102
|
+
/*!
|
|
103
|
+
@property color
|
|
104
|
+
@abstract Returns the calendar color as a CGColorRef.
|
|
105
|
+
@discussion This will be nil for new calendars until you set it.
|
|
106
|
+
*/
|
|
107
|
+
@property(null_unspecified, nonatomic) CGColorRef CGColor API_AVAILABLE(ios(4.0), macos(10.15), watchos(2.0));
|
|
108
|
+
|
|
109
|
+
#if TARGET_OS_OSX
|
|
110
|
+
/*!
|
|
111
|
+
@property color
|
|
112
|
+
@abstract Returns the calendar color as a NSColor.
|
|
113
|
+
@discussion This will be nil for new calendars until you set it.
|
|
114
|
+
*/
|
|
115
|
+
@property(null_unspecified, nonatomic, copy) NSColor *color API_AVAILABLE(macos(10.8));
|
|
116
|
+
#endif
|
|
117
|
+
|
|
118
|
+
/*!
|
|
119
|
+
@property supportedEventAvailabilities
|
|
120
|
+
@discussion Returns a bitfield of supported event availabilities, or EKCalendarEventAvailabilityNone
|
|
121
|
+
if this calendar does not support setting availability on an event.
|
|
122
|
+
*/
|
|
123
|
+
@property(nonatomic, readonly) EKCalendarEventAvailabilityMask supportedEventAvailabilities;
|
|
124
|
+
|
|
125
|
+
/*
|
|
126
|
+
@property allowedEntityTypes
|
|
127
|
+
@discussion Returns the entity types this calendar can contain. While our API only allows creation
|
|
128
|
+
of single-entity calendars, other servers might allow mixed-entity calendars.
|
|
129
|
+
*/
|
|
130
|
+
@property(nonatomic, readonly) EKEntityMask allowedEntityTypes NS_AVAILABLE(10_8, 6_0);
|
|
131
|
+
|
|
132
|
+
@end
|
|
133
|
+
|
|
134
|
+
NS_ASSUME_NONNULL_END
|