Example code for Multipeer Connectivity : a somewhat simple and stupid chat app (Mac & iOS)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea Initial commit Jan 15, 2016
Common Initial commit Jan 15, 2016
MCChat.xcodeproj Initial commit Jan 15, 2016
MCChat Initial commit Jan 15, 2016
MCChatiOS Initial commit Jan 15, 2016
LICENSE Initial commit Jan 15, 2016
README.md Create README.md Jan 15, 2016

README.md

MCChat

Example code for Multipeer Connectivity : a somewhat simple and stupid chat app (Mac & iOS)

The talk I gave to Cocoaheads on the topic seemed popular, and the participants eager for some sample code. Here it is.

It is provided as is, there is no test, no memory checks and a horrible system to display messages. It could, however, supper text or image messages, and is a decent example of how to use the framework.

Be aware that it won't ask for confirmiation to connect to peers, and will likely find the first one it can find. This isn't the way you should do it in your code. See Apple's documentation for more information, or feel free to hit me up.