-
Notifications
You must be signed in to change notification settings - Fork 518
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
[Accounts] Update bindings for Xcode 13.0 beta 1 #12024
Changes from 2 commits
4eae13e
9bb53a3
6eff085
888544e
adf56cc
3a5740a
d5a293a
fcf16bf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -8,6 +8,10 @@ | |||||||||||||
|
||||||||||||||
namespace Accounts { | ||||||||||||||
|
||||||||||||||
[Introduced (PlatformName.iOS, 6, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Introduced (PlatformName.MacOSX, 10, 8, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[BaseType (typeof (NSObject))] | ||||||||||||||
interface ACAccount : NSSecureCoding { | ||||||||||||||
[Export ("identifier", ArgumentSemantic.Weak)] | ||||||||||||||
|
@@ -44,6 +48,10 @@ interface ACAccount : NSSecureCoding { | |||||||||||||
string UserFullName { get; } | ||||||||||||||
} | ||||||||||||||
|
||||||||||||||
[Introduced (PlatformName.iOS, 6, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Introduced (PlatformName.MacOSX, 10, 8, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same
Suggested change
|
||||||||||||||
[BaseType (typeof (NSObject))] | ||||||||||||||
interface ACAccountCredential : NSSecureCoding { | ||||||||||||||
[Export ("initWithOAuthToken:tokenSecret:")] | ||||||||||||||
|
@@ -61,6 +69,10 @@ interface ACAccountCredential : NSSecureCoding { | |||||||||||||
delegate void ACAccountStoreRemoveCompletionHandler (bool success, NSError error); | ||||||||||||||
delegate void ACRequestCompletionHandler (bool granted, NSError error); | ||||||||||||||
|
||||||||||||||
[Introduced (PlatformName.iOS, 6, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Introduced (PlatformName.MacOSX, 10, 8, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same
Suggested change
|
||||||||||||||
[BaseType (typeof (NSObject))] | ||||||||||||||
interface ACAccountStore { | ||||||||||||||
[Export ("accounts", ArgumentSemantic.Weak)] | ||||||||||||||
|
@@ -111,6 +123,10 @@ interface ACAccountStore { | |||||||||||||
void RemoveAccount (ACAccount account, ACAccountStoreRemoveCompletionHandler completionHandler); | ||||||||||||||
} | ||||||||||||||
|
||||||||||||||
[Introduced (PlatformName.iOS, 6, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Introduced (PlatformName.MacOSX, 10, 8, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
[BaseType (typeof (NSObject))] | ||||||||||||||
interface ACAccountType : NSSecureCoding { | ||||||||||||||
[Export ("accountTypeDescription")] | ||||||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -60,6 +60,10 @@ interface SLRequest { | |||||||||||||
[Export ("requestForServiceType:requestMethod:URL:parameters:")] | ||||||||||||||
SLRequest Create (NSString serviceType, SLRequestMethod requestMethod, NSUrl url, [NullAllowed] NSDictionary parameters); | ||||||||||||||
|
||||||||||||||
[Introduced (PlatformName.iOS, 6, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Introduced (PlatformName.MacOSX, 10, 8, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same
Suggested change
|
||||||||||||||
[Export ("account", ArgumentSemantic.Retain), NullAllowed] | ||||||||||||||
ACAccount Account { get; set; } | ||||||||||||||
|
||||||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -19,6 +19,11 @@ namespace Twitter { | |||||||||||
[Availability (Deprecated = Platform.iOS_6_0, Message = "Use the 'Social' framework.")] | ||||||||||||
[BaseType (typeof (NSObject))] | ||||||||||||
interface TWRequest { | ||||||||||||
|
||||||||||||
[Introduced (PlatformName.iOS, 6, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||
[Deprecated (PlatformName.iOS, 15, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||
[Introduced (PlatformName.MacOSX, 10, 8, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||
[Deprecated (PlatformName.MacOSX, 12, 0, message: "Use the non-Apple SDK relating to your account type instead.")] | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not needed, the parent class is already deprecated.
Suggested change
|
||||||||||||
[NullAllowed] // by default this property is null | ||||||||||||
[Export ("account")] | ||||||||||||
ACAccount Account { get; set; } | ||||||||||||
|
@@ -76,4 +81,4 @@ interface TWTweetComposeViewController { | |||||||||||
bool RemoveAllUrls (); | ||||||||||||
} | ||||||||||||
|
||||||||||||
} | ||||||||||||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +0,0 @@ | ||
!deprecated-attribute-missing! ACAccount missing a [Deprecated] attribute | ||
!deprecated-attribute-missing! ACAccountCredential missing a [Deprecated] attribute | ||
!deprecated-attribute-missing! ACAccountStore missing a [Deprecated] attribute | ||
!deprecated-attribute-missing! ACAccountType missing a [Deprecated] attribute | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduced is not needed here, it is given for granted because of the minimum version Xamarin.iOS supports