[xcode11] [IntentsUI] bindings for iOS beta1 (#6625)
* updated bindings * updated bindings * delete todo file * fix iOS version on enum * Add to frameworks.sources to remove breaking change * deleted INUICompat.cs and add [Unavailable (PlatformName.UIKitForMac)] on constructors * Update intentsui.cs
This commit is contained in:
Родитель
d095f75471
Коммит
414391a7e4
|
@ -41,6 +41,10 @@ namespace IntentsUI {
|
||||||
WhiteOutline,
|
WhiteOutline,
|
||||||
Black,
|
Black,
|
||||||
BlackOutline,
|
BlackOutline,
|
||||||
|
[iOS (13,0)]
|
||||||
|
Automatic,
|
||||||
|
[iOS (13,0)]
|
||||||
|
AutomaticOutLine,
|
||||||
}
|
}
|
||||||
|
|
||||||
[iOS (11,0)]
|
[iOS (11,0)]
|
||||||
|
@ -103,6 +107,8 @@ namespace IntentsUI {
|
||||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||||
NSObject WeakDelegate { get; set; }
|
NSObject WeakDelegate { get; set; }
|
||||||
|
|
||||||
|
[Unavailable (PlatformName.UIKitForMac)]
|
||||||
|
[Advice ("This API is not available when using UIKit on macOS.")]
|
||||||
[Export ("initWithShortcut:")]
|
[Export ("initWithShortcut:")]
|
||||||
IntPtr Constructor (INShortcut shortcut);
|
IntPtr Constructor (INShortcut shortcut);
|
||||||
}
|
}
|
||||||
|
@ -135,6 +141,8 @@ namespace IntentsUI {
|
||||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||||
NSObject WeakDelegate { get; set; }
|
NSObject WeakDelegate { get; set; }
|
||||||
|
|
||||||
|
[Unavailable (PlatformName.UIKitForMac)]
|
||||||
|
[Advice ("This API is not available when using UIKit on macOS.")]
|
||||||
[Export ("initWithVoiceShortcut:")]
|
[Export ("initWithVoiceShortcut:")]
|
||||||
IntPtr Constructor (INVoiceShortcut voiceShortcut);
|
IntPtr Constructor (INVoiceShortcut voiceShortcut);
|
||||||
}
|
}
|
||||||
|
@ -164,6 +172,8 @@ namespace IntentsUI {
|
||||||
[DisableDefaultCtor]
|
[DisableDefaultCtor]
|
||||||
interface INUIAddVoiceShortcutButton {
|
interface INUIAddVoiceShortcutButton {
|
||||||
|
|
||||||
|
[Unavailable (PlatformName.UIKitForMac)]
|
||||||
|
[Advice ("This API is not available when using UIKit on macOS.")]
|
||||||
[Export ("initWithStyle:")]
|
[Export ("initWithStyle:")]
|
||||||
IntPtr Constructor (INUIAddVoiceShortcutButtonStyle style);
|
IntPtr Constructor (INUIAddVoiceShortcutButtonStyle style);
|
||||||
|
|
||||||
|
@ -183,6 +193,10 @@ namespace IntentsUI {
|
||||||
[iOS (12,2)]
|
[iOS (12,2)]
|
||||||
[Export ("cornerRadius", ArgumentSemantic.Assign)]
|
[Export ("cornerRadius", ArgumentSemantic.Assign)]
|
||||||
nfloat CornerRadius { get; set; }
|
nfloat CornerRadius { get; set; }
|
||||||
|
|
||||||
|
[iOS (13,0)]
|
||||||
|
[Export ("setStyle:")]
|
||||||
|
void SetStyle (INUIAddVoiceShortcutButtonStyle style);
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IINUIAddVoiceShortcutButtonDelegate {}
|
interface IINUIAddVoiceShortcutButtonDelegate {}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
!missing-selector! INUIAddVoiceShortcutButton::setStyle: not bound
|
|
Загрузка…
Ссылка в новой задаче