Update for Xcode 10.1 final release, including last minute Pen/Tap API (#5055)
This commit is contained in:
Родитель
3cf004f817
Коммит
cbfb047adc
|
@ -47,8 +47,8 @@ IOS_PACKAGE_UPDATE_ID=$(shell printf "2%02d%02d%02d%03d" $(IOS_PACKAGE_VERSION_M
|
|||
|
||||
# Xcode version should have both a major and a minor version (even if the minor version is 0)
|
||||
XCODE_VERSION=10.1
|
||||
XCODE_URL=http://xamarin-storage/bot-provisioning/xcodes/Xcode_10.1_Beta_3.xip
|
||||
XCODE_DEVELOPER_ROOT=/Applications/Xcode101-beta3.app/Contents/Developer
|
||||
XCODE_URL=http://xamarin-storage/bot-provisioning/xcodes/Xcode_10.1.xip
|
||||
XCODE_DEVELOPER_ROOT=/Applications/Xcode101.app/Contents/Developer
|
||||
|
||||
XCODE94_VERSION=9.4
|
||||
XCODE94_URL=http://xamarin-storage/bot-provisioning/xcodes/Xcode_9.4.xip
|
||||
|
|
41
src/uikit.cs
41
src/uikit.cs
|
@ -18433,4 +18433,45 @@ namespace UIKit {
|
|||
#endif // !WATCH
|
||||
}
|
||||
|
||||
#if !WATCH
|
||||
[iOS (12,1)]
|
||||
[NoWatch][NoTV]
|
||||
[Native]
|
||||
public enum UIPencilPreferredAction : long {
|
||||
Ignore = 0,
|
||||
SwitchEraser,
|
||||
SwitchPrevious,
|
||||
ShowColorPalette,
|
||||
}
|
||||
|
||||
[iOS (12,1)]
|
||||
[NoWatch][NoTV]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface UIPencilInteraction : UIInteraction {
|
||||
[Static]
|
||||
[Export ("preferredTapAction")]
|
||||
UIPencilPreferredAction PreferredTapAction { get; }
|
||||
|
||||
[Wrap ("WeakDelegate")]
|
||||
[NullAllowed]
|
||||
IUIPencilInteractionDelegate Delegate { get; set; }
|
||||
|
||||
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
|
||||
NSObject WeakDelegate { get; set; }
|
||||
|
||||
[Export ("enabled")]
|
||||
bool Enabled { [Bind ("isEnabled")] get; set; }
|
||||
}
|
||||
|
||||
interface IUIPencilInteractionDelegate {}
|
||||
|
||||
[iOS (12,1)]
|
||||
[NoWatch][NoTV]
|
||||
[Protocol, Model]
|
||||
[BaseType (typeof (NSObject))]
|
||||
interface UIPencilInteractionDelegate {
|
||||
[Export ("pencilInteractionDidTap:")]
|
||||
void DidTap (UIPencilInteraction interaction);
|
||||
}
|
||||
#endif // !WATCH
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче