This is a based off an original turorial by (http://www.appcoda.com/chat-app-swift-tutorial/) that was written in Swift 2.0. The code has been updated to the latest Swift version and has many additions:
- Unique MCPeerID saved to UserDefaults per Apple's recommendations. This mitigates the issue of phantoms when MultipeerConnectivity is reinitialized
- MPCManger is completely seperated from the rest of the code
- Allows max connections for an individual session
- Uses CoreData to keep track of previously connected Peers
- Much more...