iOS Sample Code - BonjourWeb

时间:2015-12-16 05:39:59
【文件属性】:

文件名称:iOS Sample Code - BonjourWeb

文件大小:43KB

文件格式:ZIP

更新时间:2015-12-16 05:39:59

iOS Bonjour Web 代码 iPhone

Shows how to find network services that are advertised by Bonjour. 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. ============================================ BUILD REQUIREMENTS iOS SDK 4.0 ============================================ RUNTIME REQUIREMENTS iOS 4.0


【文件预览】:
BonjourWeb
----main.m(3KB)
----Default.png(2KB)
----BonjourWeb.xcodeproj()
--------project.pbxproj(15KB)
----Icon.png(5KB)
----BonjourWeb_Prefix.pch(3KB)
----BonjourSupport()
--------BonjourBrowser.h(5KB)
--------SimpleEditViewController.h(3KB)
--------DomainViewController.h(4KB)
--------DomainViewController.m(13KB)
--------BrowserViewController.m(15KB)
--------SimpleEditViewController.m(4KB)
--------BonjourBrowser.m(8KB)
--------BrowserViewController.h(4KB)
----Info.plist(1004B)
----en.lproj()
--------Localizable.strings(408B)
--------MainWindow.xib(7KB)
----Classes()
--------BonjourWebAppDelegate.h(3KB)
--------BonjourWebAppDelegate.m(6KB)
----ReadMe.txt(5KB)

网友评论

  • 好用,支持一下