Documentation Archive Developer
Search

MultipeerConnectivity Changes

MultipeerConnectivity

Modified MCAdvertiserAssistant
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCAdvertiserAssistant.init(serviceType: String!, discoveryInfo:[NSObject: AnyObject]!, session: MCSession!)
Declaration
From
init(serviceType serviceType: String!, discoveryInfo info: [NSObject : AnyObject]!, session session: MCSession!)
To
init!(serviceType serviceType: String!, discoveryInfo info: [NSObject : AnyObject]!, session session: MCSession!)

Modified MCBrowserViewController
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCBrowserViewController.init(browser: MCNearbyServiceBrowser!, session: MCSession!)
Declaration
From
init(browser browser: MCNearbyServiceBrowser!, session session: MCSession!)
To
init!(browser browser: MCNearbyServiceBrowser!, session session: MCSession!)

Modified MCBrowserViewController.init(serviceType: String!, session: MCSession!)
Declaration
From
convenience init(serviceType serviceType: String!, session session: MCSession!)
To
convenience init!(serviceType serviceType: String!, session session: MCSession!)

Modified MCEncryptionPreference [enum]
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCErrorCode [enum]
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCNearbyServiceAdvertiser
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCNearbyServiceAdvertiser.init(peer: MCPeerID!, discoveryInfo:[NSObject: AnyObject]!, serviceType: String!)
Declaration
From
init(peer myPeerID: MCPeerID!, discoveryInfo info: [NSObject : AnyObject]!, serviceType serviceType: String!)
To
init!(peer myPeerID: MCPeerID!, discoveryInfo info: [NSObject : AnyObject]!, serviceType serviceType: String!)

Modified MCNearbyServiceBrowser
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCNearbyServiceBrowser.init(peer: MCPeerID!, serviceType: String!)
Declaration
From
init(peer myPeerID: MCPeerID!, serviceType serviceType: String!)
To
init!(peer myPeerID: MCPeerID!, serviceType serviceType: String!)

Modified MCPeerID
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCPeerID.init(displayName: String!)
Declaration
From
init(displayName myDisplayName: String!)
To
init!(displayName myDisplayName: String!)

Modified MCSession
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCSession.init(peer: MCPeerID!)
Declaration
From
convenience init(peer myPeerID: MCPeerID!)
To
convenience init!(peer myPeerID: MCPeerID!)

Modified MCSession.init(peer: MCPeerID!, securityIdentity:[AnyObject]!, encryptionPreference: MCEncryptionPreference)
Declaration
From
init(peer myPeerID: MCPeerID!, securityIdentity identity: [AnyObject]!, encryptionPreference encryptionPreference: MCEncryptionPreference)
To
init!(peer myPeerID: MCPeerID!, securityIdentity identity: [AnyObject]!, encryptionPreference encryptionPreference: MCEncryptionPreference)

Modified MCSessionSendDataMode [enum]
Introduction
FromiOS 8.0
ToiOS 7.0

Modified MCSessionState [enum]
Introduction
FromiOS 8.0
ToiOS 7.0

Modified kMCSessionMaximumNumberOfPeers
Introduction
FromiOS 8.0
ToiOS 7.0

Modified kMCSessionMinimumNumberOfPeers
Introduction
FromiOS 8.0
ToiOS 7.0