[coretelephony] Update for Xcode 10.1 beta 2 (#4993)

Filed radar https://trello.com/c/WKIRTcLk for probably incorrect macOS API.
This commit is contained in:
Vincent Dondain 2018-10-16 14:00:52 -04:00 коммит произвёл Sebastien Pouliot
Родитель 9e0ab2b5fe
Коммит fd293b2d25
4 изменённых файлов: 31 добавлений и 6 удалений

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

@ -147,11 +147,34 @@ namespace CoreTelephony {
string CarrierName { get; }
}
interface ICTSubscriberDelegate {}
[Protocol]
[iOS (12,1)]
interface CTSubscriberDelegate {
[Abstract]
[Export ("subscriberTokenRefreshed:")]
void SubscriberTokenRefreshed (CTSubscriber subscriber);
}
[BaseType (typeof (NSObject))]
[iOS (7,0)]
partial interface CTSubscriber {
[iOS (7,0), Export ("carrierToken")]
NSData CarrierToken { get; }
[iOS (12,1)]
[Export ("identifier")]
string Identifier { get; }
[iOS (12,1)]
[NullAllowed, Export ("delegate", ArgumentSemantic.Weak)]
NSObject WeakDelegate { get; set; }
[iOS (12,1)]
[Wrap ("WeakDelegate")]
[NullAllowed]
ICTSubscriberDelegate Delegate { get; set; }
}
#if !XAMCORE_2_0
@ -160,9 +183,15 @@ namespace CoreTelephony {
[iOS (6,0), BaseType (typeof (NSObject))]
partial interface CTSubscriberInfo {
[Deprecated (PlatformName.iOS, 12, 1, message : "Use 'Subscribers' instead.")]
[Static]
[Export ("subscriber")]
CTSubscriber Subscriber { get; }
[iOS (12,1)]
[Static]
[Export ("subscribers")]
CTSubscriber[] Subscribers { get; }
}
[iOS (12,0)]

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

@ -1,5 +0,0 @@
!missing-protocol! CTSubscriberDelegate not bound
!missing-selector! +CTSubscriberInfo::subscribers not bound
!missing-selector! CTSubscriber::delegate not bound
!missing-selector! CTSubscriber::identifier not bound
!missing-selector! CTSubscriber::setDelegate: not bound

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

@ -0,0 +1,2 @@
# Probably a mistake by Apple, see radar -> https://trello.com/c/WKIRTcLk
!missing-protocol! CTSubscriberDelegate not bound

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

@ -1 +0,0 @@
!missing-protocol! CTSubscriberDelegate not bound