WatchConnectivity Changes for Swift
WatchConnectivity
Modified WCErrorCode [enum]
Declaration | Protocols | |
---|---|---|
From | enum WCErrorCode : Int { case GenericError case SessionNotSupported case SessionMissingDelegate case SessionNotActivated case DeviceNotPaired case WatchAppNotInstalled case NotReachable case InvalidParameter case PayloadTooLarge case PayloadUnsupportedTypes case MessageReplyFailed case MessageReplyTimedOut case FileAccessDenied case DeliveryFailed case InsufficientSpace } extension WCErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError { } extension WCErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError { } | Equatable, ErrorType, Hashable, RawRepresentable |
To | enum WCErrorCode : Int { case GenericError case SessionNotSupported case SessionMissingDelegate case SessionNotActivated case DeviceNotPaired case WatchAppNotInstalled case NotReachable case InvalidParameter case PayloadTooLarge case PayloadUnsupportedTypes case MessageReplyFailed case MessageReplyTimedOut case FileAccessDenied case DeliveryFailed case InsufficientSpace } extension WCErrorCode : _BridgedNSError { } extension WCErrorCode : _BridgedNSError { } | -- |
Modified WCSession
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified WCSessionFile
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified WCSessionFileTransfer
Protocols | |
---|---|
From | AnyObject |
To | -- |
Modified WCSessionUserInfoTransfer
Declaration | Protocols | |
---|---|---|
From | class WCSessionUserInfoTransfer : NSObject, NSSecureCoding, NSCoding { var currentComplicationInfo: Bool { get } var userInfo: [String : AnyObject] { get } var transferring: Bool { get } func cancel() } | AnyObject, NSCoding, NSSecureCoding |
To | class WCSessionUserInfoTransfer : NSObject, NSSecureCoding { var currentComplicationInfo: Bool { get } var userInfo: [String : AnyObject] { get } var transferring: Bool { get } func cancel() } | NSSecureCoding |