Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TVServices] Add support for Xcode 14 beta 1, 2 & 3 #15553

Merged
merged 3 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/tvservices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ interface TVTopShelfItems {
NSString DidChangeNotification { get; }
}

[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
[TV (13,0)]
[BaseType (typeof(NSObject))]
[DisableDefaultCtor] // Name property can't be null
Expand Down Expand Up @@ -307,23 +308,31 @@ enum TVTopShelfItemImageTraits : ulong {
[BaseType (typeof (NSObject))]
interface TVUserManager {

[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
[NullAllowed, Export ("currentUserIdentifier")]
string CurrentUserIdentifier { get; }

[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
[Export ("userIdentifiersForCurrentProfile", ArgumentSemantic.Copy)]
string[] UserIdentifiersForCurrentProfile { get; set; }

[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
[Async]
[Export ("presentProfilePreferencePanelWithCurrentSettings:availableProfiles:completion:")]
void PresentProfilePreferencePanel (NSDictionary<NSString, TVAppProfileDescriptor> currentSettings, TVAppProfileDescriptor[] availableProfiles, Action<NSDictionary<NSString, TVAppProfileDescriptor>> completion);

[Deprecated (PlatformName.TvOS, 16, 0, message: "Use runs-as-current-user entitlement instead.")]
[Async]
[Export ("shouldStorePreferenceForCurrentUserToProfile:completion:")]
void ShouldStorePreferenceForCurrentUser (TVAppProfileDescriptor profile, Action<bool> completion);

[Notification]
[Field ("TVUserManagerCurrentUserIdentifierDidChangeNotification")]
NSString CurrentUserIdentifierDidChangeNotification { get; }

[TV (16, 0)]
[Export ("shouldStorePreferencesForCurrentUser")]
bool ShouldStorePreferencesForCurrentUser { get; }
}

[TV (13,0)]
Expand Down

This file was deleted.

7 changes: 0 additions & 7 deletions tests/xtro-sharpie/tvOS-TVServices.todo

This file was deleted.