MultipeerConnectivity Changes for Swift
MultipeerConnectivity
Modified MCAdvertiserAssistant
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified MCBrowserViewController
| Protocols | |
|---|---|
| From | AnyObject, MCNearbyServiceBrowserDelegate, NSObjectProtocol |
| To | MCNearbyServiceBrowserDelegate |
Modified MCEncryptionPreference [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified MCErrorCode [enum]
| Declaration | Protocols | |
|---|---|---|
| From | enum MCErrorCode : Int {
case Unknown
case NotConnected
case InvalidParameter
case Unsupported
case TimedOut
case Cancelled
case Unavailable
}
extension MCErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
}
extension MCErrorCode : Hashable, Equatable, __BridgedNSError, ErrorType, RawRepresentable, _ObjectiveCBridgeableErrorType, _BridgedNSError {
} | Equatable, ErrorType, Hashable, RawRepresentable |
| To | enum MCErrorCode : Int {
case Unknown
case NotConnected
case InvalidParameter
case Unsupported
case TimedOut
case Cancelled
case Unavailable
}
extension MCErrorCode : _BridgedNSError {
}
extension MCErrorCode : _BridgedNSError {
} | -- |
Modified MCNearbyServiceAdvertiser
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified MCNearbyServiceBrowser
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified MCPeerID
| Declaration | Protocols | |
|---|---|---|
| From | class MCPeerID : NSObject, NSCopying, NSSecureCoding, NSCoding {
init(displayName myDisplayName: String)
var displayName: String { get }
} | AnyObject, NSCoding, NSCopying, NSSecureCoding |
| To | class MCPeerID : NSObject, NSCopying, NSSecureCoding {
init(displayName myDisplayName: String)
var displayName: String { get }
} | NSCopying, NSSecureCoding |
Modified MCSession
| Protocols | |
|---|---|
| From | AnyObject |
| To | -- |
Modified MCSessionSendDataMode [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |
Modified MCSessionState [enum]
| Protocols | |
|---|---|
| From | Equatable, Hashable, RawRepresentable |
| To | -- |