I’ve placed a simple Bonjour Network Browser application over on GitHub at https://github.com/tjpetz/NetworkBrowser. This is a simple iOS app in Swift 3. I’ve created this app as an example to familiarize myself with Swift and the changes to Swift 3.
Note, it’s rough around the edges but provides a working example of browsing a local network for services that advertise themselves using mDNS/Bonjour.
I used this article to figure out how to simply configure sharing Xcode to GitHub. It’s written for XCode 6 but works just fine with XCode 8.