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

[Social] Update to Xcode 9 Beta 1 #2256

Merged
merged 1 commit into from
Jun 28, 2017
Merged
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/social.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,33 @@ namespace XamCore.Social {
[Mac (10,8, onlyOn64 : true)]
[Static]
interface SLServiceType {
[Deprecated (PlatformName.iOS, 11, 0, message: "Use Facebook SDK instead.")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Facebook SDK instead.")]
[Field ("SLServiceTypeFacebook")]
[Mac (10,8)]
NSString Facebook { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Twitter SDK instead.")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Twitter SDK instead.")]
[Field ("SLServiceTypeTwitter")]
[Mac (10,8)]
NSString Twitter { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Sina Weibo SDK instead.")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Sina Weibo SDK instead.")]
[Field ("SLServiceTypeSinaWeibo")]
[Mac (10,8)]
NSString SinaWeibo { get; }

[Deprecated (PlatformName.iOS, 11, 0, message: "Use Tencent Weibo SDK instead.")]
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use Tencent Weibo SDK instead.")]
[Since (7,0)]
[Field ("SLServiceTypeTencentWeibo")]
[Mac (10,9)]
NSString TencentWeibo { get; }

#if MONOMAC
[Deprecated (PlatformName.MacOSX, 10, 13, message: "Use LinkedIn SDK instead.")]
[Field ("SLServiceTypeLinkedIn")]
[Mac (10,9)]
NSString LinkedIn { get; }
Expand Down