Skip to content

TVServices tvOS xcode14.1 b3

Israel Soto edited this page Sep 28, 2022 · 3 revisions

#TVServices.framework https://github.com/xamarin/xamarin-macios/pull/16194

diff -ruN /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVAppProfileDescriptor.h /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVAppProfileDescriptor.h
--- /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVAppProfileDescriptor.h	2022-09-09 01:07:46.000000000 -0500
+++ /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVAppProfileDescriptor.h	2022-09-21 15:18:46.000000000 -0500
@@ -15,7 +15,7 @@
  @class         TVAppProfileDescriptor
  @abstract      A simple model object that describes a profile within an app that has multiple user profiles.
  */
-API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user instead alongside kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0))
+API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user-with-user-independent-keychain and kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0))
 @interface TVAppProfileDescriptor : NSObject <NSCopying, NSSecureCoding>
 
 /*!
diff -ruN /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVUserManager.h /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVUserManager.h
--- /Applications/Xcode_14.1.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVUserManager.h	2022-09-09 01:10:06.000000000 -0500
+++ /Applications/Xcode_14.1.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/TVServices.framework/Headers/TVUserManager.h	2022-09-21 15:20:34.000000000 -0500
@@ -15,7 +15,7 @@
 /*
  User identifiers are ASCII strings of 64 characters or less. They should never be shown to the user in UI, as they will be meaningless to the user.  These identifiers should be compared case-sensitively (e.g., isEqual: is just fine).
  */
-typedef NSString *TVUserIdentifier NS_SWIFT_BRIDGED_TYPEDEF API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user instead alongside kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
+typedef NSString *TVUserIdentifier NS_SWIFT_BRIDGED_TYPEDEF API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user-with-user-independent-keychain and kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
 
 
 /*!
@@ -67,7 +67,7 @@
  @discussion    This value may be nil if no value is available to the application.  When this is nil or the application has no existing mapping from the user to a preferred profile, the application can put up its profile picker or adopt some other appropriate behavior. For users which are part of the Home this Apple TV is in, this value is the same on all the Apple TVs that are part of that Home.
  This property is KVO-observable, to watch for changes.  You will need to hold onto a TVUserManager instance to observe this property on it.
  */
-@property (nonatomic, nullable, readonly) TVUserIdentifier currentUserIdentifier API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user instead alongside kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
+@property (nonatomic, nullable, readonly) TVUserIdentifier currentUserIdentifier API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user-with-user-independent-keychain and kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
 
 /*!
  @property      userIdentifiersForCurrentProfile
@@ -75,7 +75,7 @@
  @discussion    The value should be an NSArray with the system user identifiers that prefer the current profile in the application. An application which is maintaining system user identifer to profile mappings should write a new value to this set whenever the user changes the current profile within the application. The value of this property can be read, but it simply contains the last value stored in it, and starts empty when an application launches.
  This property is KVO-observable, to watch for changes.  You will need to hold onto a TVUserManager instance to observe this property on it.
  */
-@property (nonatomic, copy) NSArray<TVUserIdentifier> *userIdentifiersForCurrentProfile API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user instead alongside kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
+@property (nonatomic, copy) NSArray<TVUserIdentifier> *userIdentifiersForCurrentProfile API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user-with-user-independent-keychain and kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
 
 /*!
  @method        presentProfilePreferencePanelWithCurrentSettings:availableProfiles:completion:
@@ -87,7 +87,7 @@
  The completion block is executed on an arbitrary dispatch queue / thread.
  If invoked from within an extension, no UI will be presented and the dictionary parameter to the callback will be empty.
  */
-- (void)presentProfilePreferencePanelWithCurrentSettings:(NSDictionary<TVUserIdentifier, TVAppProfileDescriptor *> *)currentSettings availableProfiles:(NSArray<TVAppProfileDescriptor *> *)availableProfiles completion:(void (^)(NSDictionary<TVUserIdentifier, TVAppProfileDescriptor *> *newSettings))completion NS_SWIFT_NAME(presentProfilePreferencePanel(currentSettings:availableProfiles:completion:)) API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user instead alongside kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
+- (void)presentProfilePreferencePanelWithCurrentSettings:(NSDictionary<TVUserIdentifier, TVAppProfileDescriptor *> *)currentSettings availableProfiles:(NSArray<TVAppProfileDescriptor *> *)availableProfiles completion:(void (^)(NSDictionary<TVUserIdentifier, TVAppProfileDescriptor *> *newSettings))completion NS_SWIFT_NAME(presentProfilePreferencePanel(currentSettings:availableProfiles:completion:)) API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user-with-user-independent-keychain and kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
 
 /*!
  @method        shouldStorePreferenceForCurrentUserToProfile:completion:
@@ -98,7 +98,7 @@
  The completion block is executed on an arbitrary dispatch queue / thread.
  If invoked from within an extension, no UI will be presented and the result will always be NO.
  */
-- (void)shouldStorePreferenceForCurrentUserToProfile:(TVAppProfileDescriptor *)profile completion:(void (^)(BOOL shouldCreateMapping))completion NS_SWIFT_NAME(shouldStorePreferenceForCurrentUser(to:completion:)) API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user instead alongside kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
+- (void)shouldStorePreferenceForCurrentUserToProfile:(TVAppProfileDescriptor *)profile completion:(void (^)(BOOL shouldCreateMapping))completion NS_SWIFT_NAME(shouldStorePreferenceForCurrentUser(to:completion:)) API_DEPRECATED("User Management capability get-current-user is no longer supported. Please use runs-as-current-user-with-user-independent-keychain and kSecUseUserIndependentKeychain for sharing keychain items across users.", tvos(13.0, 16.0));
 
 
 @end
@@ -109,7 +109,7 @@
  @abstract      Posted to the default NSNotificationCenter whenever the current system user changes.
  @discussion    The object of the notification is nil. In order to start receiving notification you have to instantiate TVUserManager at least once.
  */
-TV_EXTERN NSNotificationName const TVUserManagerCurrentUserIdentifierDidChangeNotification NS_SWIFT_NAME(TVUserManager.currentUserIdentifierDidChangeNotification) API_DEPRECATED("User Management capability `get-current-user` is no longer supported. Use the capability `runs-as-current-user` with it there is no need to be notified of user changes.", tvos(13.0, 16.0));
+TV_EXTERN NSNotificationName const TVUserManagerCurrentUserIdentifierDidChangeNotification NS_SWIFT_NAME(TVUserManager.currentUserIdentifierDidChangeNotification) API_DEPRECATED("User Management capability get-current-user is no longer supported. Use the capability runs-as-current-user-with-user-independent-keychain, with it there is no need to be notified of user changes.", tvos(13.0, 16.0));
 
 
 NS_ASSUME_NONNULL_END
Clone this wiki locally