Last Revision:
Version 2.9, 2010-06-16
Updated to work with iOS SDK 4.0.
(Full Revision History)
Build Requirements:
iOS SDK 4.0
Runtime Requirements:
iOS 4.0

This application illustrates the fundamentals of browsing for network services using Bonjour. The BonjourBrowser hierarchically displays Bonjour domains and services as table views in a navigation controller. The contents of the table views are discovered and updated dynamically using NSNetServiceBrowser objects. Tapping an item in the services table causes the corresponding NSNetService object to be resolved asynchronously. When that resolution completes, a delegate method is called which constructs a URL and opens it in Safari.