[PhotosUI] Add Xcode 11 Beta 1 Binding (#6624)

* Adding xcode 11 beta 1-3 initial PhotosUI changes

* reverted a few changes

* adding in UIKitForMac Unavailable
This commit is contained in:
TJ Lambert 2019-07-22 07:40:03 -04:00 коммит произвёл Alex Soto
Родитель 50af930c5e
Коммит bda4f5b435
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -24,6 +24,8 @@ namespace PhotosUI {
[iOS (8, 0)]
[Mac (10, 13)]
[Protocol]
[Unavailable (PlatformName.UIKitForMac)]
[Advice ("This API is not available when using UIKit on macOS.")]
#if !XAMCORE_4_0 && !TVOS && !MONOMAC
// According to documentation you're supposed to implement this protocol in a UIViewController subclass,
// which means a model (which does not inherit from UIViewController) is not useful.
@ -471,6 +473,9 @@ namespace PhotosUI {
[iOS (8,0)]
[NoMac][NoTV]
[DisableDefaultCtor]
[Unavailable (PlatformName.UIKitForMac)]
[Advice ("This API is not available when using UIKit on macOS.")]
[Deprecated (PlatformName.iOS, 13, 0)]
[BaseType (typeof (NSExtensionContext))]
interface PHEditingExtensionContext
{

Просмотреть файл

@ -1 +0,0 @@
!deprecated-attribute-missing! PHEditingExtensionContext missing a [Deprecated] attribute