PictureSharing

Last Revision:
Version 2.2, 2013-08-15
A relatively minor update to adopt the latest techniques and fix two developer-reported bugs (r. 10081345) (r. 12682482).
(Full Revision History)
Build Requirements:
Xcode 4.6.3 or later
Runtime Requirements:
OS X 10.8 or later

This sample demonstrates how to use NSNetService to publish and discover a service using Bonjour, and how to use a run loop based concurrent NSOperation to transfer files. It includes both the server (PictureSharing) and client (PictureSharingBrowser) projects. Once you start the PictureSharing server, PictureSharingBrowser clients will be able to view pictures being shared by that server.