MultipeerConnectivity Changes
MultipeerConnectivity (Added)
Added MCAdvertiserAssistant
Added MCAdvertiserAssistant.delegate
Added MCAdvertiserAssistant.discoveryInfo
Added MCAdvertiserAssistant.serviceType
Added MCAdvertiserAssistant.init(serviceType: String!, discoveryInfo:[NSObject: AnyObject]!, session: MCSession!)
Added MCAdvertiserAssistant.session
Added MCAdvertiserAssistant.start()
Added MCAdvertiserAssistant.stop()
Added MCAdvertiserAssistantDelegate
Added MCAdvertiserAssistantDelegate.advertiserAssistantDidDismissInvitation(MCAdvertiserAssistant!)
Added MCAdvertiserAssistantDelegate.advertiserAssistantWillPresentInvitation(MCAdvertiserAssistant!)
Added MCBrowserViewController
Added MCBrowserViewController.browser
Added MCBrowserViewController.init(browser: MCNearbyServiceBrowser!, session: MCSession!)
Added MCBrowserViewController.delegate
Added MCBrowserViewController.maximumNumberOfPeers
Added MCBrowserViewController.minimumNumberOfPeers
Added MCBrowserViewController.init(serviceType: String!, session: MCSession!)
Added MCBrowserViewController.session
Added MCBrowserViewControllerDelegate
Added MCBrowserViewControllerDelegate.browserViewController(MCBrowserViewController!, shouldPresentNearbyPeer: MCPeerID!, withDiscoveryInfo:[NSObject: AnyObject]!) -> Bool
Added MCBrowserViewControllerDelegate.browserViewControllerDidFinish(MCBrowserViewController!)
Added MCBrowserViewControllerDelegate.browserViewControllerWasCancelled(MCBrowserViewController!)
Added MCEncryptionPreference [enum]
Added MCEncryptionPreference.None
Added MCEncryptionPreference.Optional
Added MCEncryptionPreference.Required
Added MCErrorCode [enum]
Added MCErrorCode.Cancelled
Added MCErrorCode.InvalidParameter
Added MCErrorCode.NotConnected
Added MCErrorCode.TimedOut
Added MCErrorCode.Unavailable
Added MCErrorCode.Unknown
Added MCErrorCode.Unsupported
Added MCNearbyServiceAdvertiser
Added MCNearbyServiceAdvertiser.delegate
Added MCNearbyServiceAdvertiser.discoveryInfo
Added MCNearbyServiceAdvertiser.myPeerID
Added MCNearbyServiceAdvertiser.init(peer: MCPeerID!, discoveryInfo:[NSObject: AnyObject]!, serviceType: String!)
Added MCNearbyServiceAdvertiser.serviceType
Added MCNearbyServiceAdvertiser.startAdvertisingPeer()
Added MCNearbyServiceAdvertiser.stopAdvertisingPeer()
Added MCNearbyServiceAdvertiserDelegate
Added MCNearbyServiceAdvertiserDelegate.advertiser(MCNearbyServiceAdvertiser!, didNotStartAdvertisingPeer: NSError!)
Added MCNearbyServiceAdvertiserDelegate.advertiser(MCNearbyServiceAdvertiser!, didReceiveInvitationFromPeer: MCPeerID!, withContext: NSData!, invitationHandler:((Bool, MCSession!) -> Void)!)
Added MCNearbyServiceBrowser
Added MCNearbyServiceBrowser.delegate
Added MCNearbyServiceBrowser.invitePeer(MCPeerID!, toSession: MCSession!, withContext: NSData!, timeout: NSTimeInterval)
Added MCNearbyServiceBrowser.myPeerID
Added MCNearbyServiceBrowser.init(peer: MCPeerID!, serviceType: String!)
Added MCNearbyServiceBrowser.serviceType
Added MCNearbyServiceBrowser.startBrowsingForPeers()
Added MCNearbyServiceBrowser.stopBrowsingForPeers()
Added MCNearbyServiceBrowserDelegate
Added MCNearbyServiceBrowserDelegate.browser(MCNearbyServiceBrowser!, didNotStartBrowsingForPeers: NSError!)
Added MCNearbyServiceBrowserDelegate.browser(MCNearbyServiceBrowser!, foundPeer: MCPeerID!, withDiscoveryInfo:[NSObject: AnyObject]!)
Added MCNearbyServiceBrowserDelegate.browser(MCNearbyServiceBrowser!, lostPeer: MCPeerID!)
Added MCPeerID
Added MCPeerID.displayName
Added MCPeerID.init(displayName: String!)
Added MCSession
Added MCSession.cancelConnectPeer(MCPeerID!)
Added MCSession.connectPeer(MCPeerID!, withNearbyConnectionData: NSData!)
Added MCSession.connectedPeers
Added MCSession.delegate
Added MCSession.disconnect()
Added MCSession.encryptionPreference
Added MCSession.myPeerID
Added MCSession.nearbyConnectionDataForPeer(MCPeerID!, withCompletionHandler:((NSData!, NSError!) -> Void)!)
Added MCSession.init(peer: MCPeerID!)
Added MCSession.init(peer: MCPeerID!, securityIdentity:[AnyObject]!, encryptionPreference: MCEncryptionPreference)
Added MCSession.securityIdentity
Added MCSession.sendData(NSData!, toPeers:[AnyObject]!, withMode: MCSessionSendDataMode, error: NSErrorPointer) -> Bool
Added MCSession.sendResourceAtURL(NSURL!, withName: String!, toPeer: MCPeerID!, withCompletionHandler:((NSError!) -> Void)!) -> NSProgress!
Added MCSession.startStreamWithName(String!, toPeer: MCPeerID!, error: NSErrorPointer) -> NSOutputStream!
Added MCSessionDelegate
Added MCSessionDelegate.session(MCSession!, didFinishReceivingResourceWithName: String!, fromPeer: MCPeerID!, atURL: NSURL!, withError: NSError!)
Added MCSessionDelegate.session(MCSession!, didReceiveCertificate:[AnyObject]!, fromPeer: MCPeerID!, certificateHandler:((Bool) -> Void)!)
Added MCSessionDelegate.session(MCSession!, didReceiveData: NSData!, fromPeer: MCPeerID!)
Added MCSessionDelegate.session(MCSession!, didReceiveStream: NSInputStream!, withName: String!, fromPeer: MCPeerID!)
Added MCSessionDelegate.session(MCSession!, didStartReceivingResourceWithName: String!, fromPeer: MCPeerID!, withProgress: NSProgress!)
Added MCSessionDelegate.session(MCSession!, peer: MCPeerID!, didChangeState: MCSessionState)
Added MCSessionSendDataMode [enum]
Added MCSessionSendDataMode.Reliable
Added MCSessionSendDataMode.Unreliable
Added MCSessionState [enum]
Added MCSessionState.Connected
Added MCSessionState.Connecting
Added MCSessionState.NotConnected
Added MCErrorDomain
Added kMCSessionMaximumNumberOfPeers
Added kMCSessionMinimumNumberOfPeers