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

[NotificationCenter] Bindings for iOS Xcode 11 beta 1 #6579

Merged
merged 15 commits into from Jul 16, 2019
Merged
9 changes: 8 additions & 1 deletion src/notificationcenter.cs
Expand Up @@ -73,7 +73,7 @@ interface UIVibrancyEffect_NotificationCenter {
#else
[EditorBrowsable (EditorBrowsableState.Advanced)] // this is not the one we want to be seen (compat only)
#endif
[Deprecated (PlatformName.iOS, 10,0)]
[Deprecated (PlatformName.iOS, 10,0, message: "Use 'UIVibrancyEffect.GetWidgetEffectForVibrancyStyle' instead.")]
joconte marked this conversation as resolved.
Show resolved Hide resolved
[Static, Export ("notificationCenterVibrancyEffect")]
UIVibrancyEffect NotificationCenterVibrancyEffect ();
}
Expand Down Expand Up @@ -103,14 +103,21 @@ interface NSExtensionContext_NCWidgetAdditions {
[BaseType (typeof (UIVibrancyEffect))]
interface UIVibrancyEffect_NCWidgetAdditions {
[iOS (10,0)]
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.GetWidgetEffectForVibrancyStyle' instead. ")]
joconte marked this conversation as resolved.
Show resolved Hide resolved
[Static]
[Export ("widgetPrimaryVibrancyEffect")]
UIVibrancyEffect GetWidgetPrimaryVibrancyEffect ();

[iOS (10,0)]
[Deprecated (PlatformName.iOS, 13,0, message: "Use 'UIVibrancyEffect.GetWidgetEffectForVibrancyStyle' instead. ")]
joconte marked this conversation as resolved.
Show resolved Hide resolved
[Static]
[Export ("widgetSecondaryVibrancyEffect")]
UIVibrancyEffect GetWidgetSecondaryVibrancyEffect ();

[iOS (13,0)]
[Static]
[Export ("widgetEffectForVibrancyStyle:")]
UIVibrancyEffect GetWidgetEffectForVibrancyStyle (UIVibrancyEffectStyle vibrancyStyle);
joconte marked this conversation as resolved.
Show resolved Hide resolved
}
#endif

Expand Down