-
Notifications
You must be signed in to change notification settings - Fork 515
CoreSpotlight tvOS xcode13.0 beta1
Manuel de la Pena edited this page Jun 18, 2021
·
3 revisions
#CoreSpotlight.framework https://github.com/xamarin/xamarin-macios/pull/11986
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSBase.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSBase.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSBase.h 2021-03-16 13:56:22.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSBase.h 2021-06-02 05:35:14.000000000 -0400
@@ -2,7 +2,7 @@
// CSBase.h
// CoreSpotlight
//
-// Copyright © 2014 Apple. All rights reserved.
+// Copyright © 2015 Apple. All rights reserved.
//
#import <Foundation/Foundation.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSImportExtension.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSImportExtension.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSImportExtension.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSImportExtension.h 2021-06-02 05:35:14.000000000 -0400
@@ -0,0 +1,18 @@
+//
+// CSImportExtension.h
+// CoreSpotlight
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <CoreSpotlight/CSSearchableItemAttributeSet.h>
+
+API_AVAILABLE(macos(12.0), ios(15.0)) API_UNAVAILABLE(tvos)
+@interface CSImportExtension : NSObject <NSExtensionRequestHandling>
+
+// The developer should implement this method to import the file located at contentURL, and update the provided attributes.
+- (BOOL)updateAttributes:(CSSearchableItemAttributeSet * _Nonnull)attributes
+ forFileAtURL:(NSURL * _Nonnull)contentURL
+ error:(NSError * _Nullable * _Nonnull)error;
+
+@end
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSIndexExtensionRequestHandler.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSIndexExtensionRequestHandler.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSIndexExtensionRequestHandler.h 2021-03-16 13:56:22.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSIndexExtensionRequestHandler.h 2021-06-02 05:35:14.000000000 -0400
@@ -2,7 +2,7 @@
// CSIndexExtensionRequestHandler.h
// CoreSpotlight
//
-// Copyright © 2015 Apple. All rights reserved.
+// Copyright © 2017 Apple. All rights reserved.
//
#import <CoreSpotlight/CSSearchableIndex.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSPerson.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSPerson.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSPerson.h 2021-03-16 13:56:22.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSPerson.h 2021-06-02 05:35:14.000000000 -0400
@@ -2,7 +2,7 @@
// CSPerson.h
// CoreSpotlight
//
-// Copyright © 2015 Apple. All rights reserved.
+// Copyright © 2017 Apple. All rights reserved.
//
#import <CoreSpotlight/CSBase.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchQuery.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchQuery.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchQuery.h 2021-03-16 13:56:22.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchQuery.h 2021-06-02 05:35:14.000000000 -0400
@@ -2,7 +2,7 @@
// CSSearchQuery.h
// CoreSpotlight
//
-// Copyright © 2015 Apple. All rights reserved.
+// Copyright © 2018 Apple. All rights reserved.
//
#import <CoreSpotlight/CSBase.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndex.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndex.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndex.h 2021-03-16 08:44:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableIndex.h 2021-06-02 12:46:58.000000000 -0400
@@ -2,7 +2,7 @@
// CSSearchableIndex.h
// CoreSpotlight
//
-// Copyright © 2015 Apple. All rights reserved.
+// Copyright © 2017 Apple. All rights reserved.
//
#import <CoreSpotlight/CSSearchableItem.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItem.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItem.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItem.h 2021-03-16 13:56:22.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItem.h 2021-06-02 05:35:14.000000000 -0400
@@ -2,7 +2,7 @@
// CSSearchableItem.h
// CoreSpotlight
//
-// Copyright © 2015 Apple. All rights reserved.
+// Copyright © 2021 Apple. All rights reserved.
//
#import <CoreSpotlight/CSBase.h>
@@ -17,6 +17,10 @@
CORESPOTLIGHT_EXPORT NSString * const CSSearchableItemActionType CS_AVAILABLE(10_13, 9_0) CS_TVOS_UNAVAILABLE;
CORESPOTLIGHT_EXPORT NSString * const CSSearchableItemActivityIdentifier CS_AVAILABLE(10_13, 9_0) CS_TVOS_UNAVAILABLE;
+// For custom actions on iOS, the userInfo dictionary also has another key value pair where CSActionIdentifier is the key
+// and the value is the action tapped in the UI based on what was indexed by the app.
+CORESPOTLIGHT_EXPORT NSString * const CSActionIdentifier API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, tvos);
+
// When continuing a query from Spotlight, the application's -application:willContinueUserActivityWithType:
// method will get called with CSQueryContinuationActionType, followed by -application:continueUserActivity:restorationHandler:
// with an NSUserActivity where the userInfo dictionary has a key value pair with CSSearchQueryString as the key
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_General.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_General.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_General.h 2021-03-16 08:44:31.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_General.h 2021-06-02 11:06:36.000000000 -0400
@@ -2,7 +2,7 @@
// CSSearchableItemAttributeSet_General.h
// CoreSpotlight
//
-// Copyright © 2015 Apple. All rights reserved.
+// Copyright © 2017 Apple. All rights reserved.
//
#import <CoreSpotlight/CSSearchableItemAttributeSet.h>
@@ -30,6 +30,9 @@
//Optional image data for thumbnail for this item
@property(nullable, copy) NSData *thumbnailData;
+// Optional file URL pointing to a thumbnail image for this item that will be preferred in dark appearances
+@property(nullable, strong) NSURL * darkThumbnailURL;
+
//For activities, this is the unique identifier for the item this activity is related to. If the item doesn't exist in the index, the activity will not get stored. When the item is deleted, the activity will also be deleted.
@property(nullable, copy) NSString *relatedUniqueIdentifier;
@@ -90,6 +93,13 @@
// If supportsNavigation is set to 1, and the item has the latitude and longitude properties set, then the latitude and longitude may be used for navigation. For example, supportsNavigation would be set on a restaurant review, but not on a photo.
@property(nullable, strong) NSNumber *supportsNavigation;
+
+// An array of strings that are the custom action identifiers.
+@property(copy) NSArray<NSString*> * _Nonnull actionIdentifiers API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, tvos);
+
+// The file type used for the share action.
+@property(nullable, copy) UTType *sharedItemContentType API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(macos, tvos);
+
@end
@interface CSSearchableItemAttributeSet(CSContainment)
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Places.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Places.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Places.h 2021-03-16 13:52:13.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CSSearchableItemAttributeSet_Places.h 2021-05-22 07:39:54.000000000 -0400
@@ -2,7 +2,7 @@
// CSSearchableItemAttributeSet_Places.h
// CoreSpotlight
//
-// Copyright © 2015 Apple. All rights reserved.
+// Copyright © 2016 Apple. All rights reserved.
//
#import <CoreSpotlight/CSSearchableItemAttributeSet.h>
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.h 2021-03-16 13:52:13.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/CoreSpotlight.framework/Headers/CoreSpotlight.h 2021-05-22 07:39:54.000000000 -0400
@@ -2,7 +2,7 @@
// CoreSpotlight.h
// CoreSpotlight
//
-// Copyright (c) 2014 Apple. All rights reserved.
+// Copyright (c) 2021 Apple. All rights reserved.
//
#define CoreSpotlightAPIVersion 40
@@ -15,6 +15,7 @@
#import <CoreSpotlight/CSSearchableItemAttributeSet_Categories.h>
#import <CoreSpotlight/CSIndexExtensionRequestHandler.h>
#import <CoreSpotlight/CSSearchQuery.h>
+#import <CoreSpotlight/CSImportExtension.h>
//! Project version number for CoreSpotlight.
CORESPOTLIGHT_EXPORT double CoreSpotlightVersionNumber;
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status