Update for Xcode 10.1 final release, including last minute Pen/Tap API (#5055)

This commit is contained in:
Sebastien Pouliot 2018-10-30 21:12:54 -04:00 коммит произвёл GitHub
Родитель 3cf004f817
Коммит cbfb047adc
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 43 добавлений и 2 удалений

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

@ -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

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

@ -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
}