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

[ClockKit] Update to Xcode 9 Beta 1 #2208

Merged
merged 2 commits into from
Jun 13, 2017
Merged

Conversation

dalexsoto
Copy link
Member

No description provided.

@monojenkins
Copy link
Collaborator

Build failure

src/clockkit.cs Outdated
@@ -53,16 +53,20 @@ interface CLKComplicationDataSource {
[Export ("getTimelineEntriesForComplication:afterDate:limit:withHandler:")]
void GetTimelineEntriesAfterDate (CLKComplication complication, NSDate afterDate, nuint limit, Action<CLKComplicationTimelineEntry []> handler);

[Deprecated (PlatformName.WatchOS, 4, 0, message: "Use WKRefreshBackgroundTask instead")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at https://github.com/xamarin/xamarin-macios/wiki/BINDINGS#availability-attributes-messages as a refresher (:

Your message should be Use 'WKRefreshBackgroundTask' instead.

src/clockkit.cs Outdated
[Export ("getNextRequestedUpdateDateWithHandler:")]
void GetNextRequestedUpdateDate (Action<NSDate> handler);

[Deprecated (PlatformName.WatchOS, 4, 0, message: "Use `WKRefreshBackgroundTask` instead")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/xamarin/xamarin-macios/wiki/BINDINGS#rule-2 please use apostrophes not grave accent (and add a dot at the end) (:

src/clockkit.cs Outdated
[Export ("requestedUpdateDidBegin")]
void RequestedUpdateDidBegin ();

[Deprecated (PlatformName.WatchOS, 4, 0, message: "Use `WKRefreshBackgroundTask` instead")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

src/clockkit.cs Outdated
[Export ("requestedUpdateBudgetExhausted")]
void RequestedUpdateBudgetExhausted ();

// this was @required in watchOS 2.x but is now deprecated and downgraded to @optional in watchOS 3 (betas)
[Deprecated (PlatformName.WatchOS, 3, 0, message: "Use `GetLocalizableSampleTemplate` instead")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same

@dalexsoto
Copy link
Member Author

@VincentDondain Done! And thanks for the refresher!

@monojenkins
Copy link
Collaborator

Build success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants