PictureSharing
| Last Revision: | Version 2.1, 2010-12-01 Fixed a small but significant bug in the handling of the moreComing flag in the browser (r. 8667473). Also, to reduce confusion when there are two services of the same name, the browser now displays the domain of each service and lets you cancel a download by simply clicking on another service to start a new download. (Full Revision History) |
| Build Requirements: | Xcode 3.2 or later |
| Runtime Requirements: | Mac OS X 10.5.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.
© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-12-01)