Mac Developer Library

Developer

Foundation Framework Reference NSNetServiceBrowser Class Reference

Options
Deployment Target:

On This Page
Language:

NSNetServiceBrowser

The NSNetServiceBrowser class defines an interface for finding published services on a network using multicast DNS. An instance of NSNetServiceBrowser is known as a network service browser. More...

Inheritance


Conforms To


Import Statement


import Foundation @import Foundation;

Availability


Available in OS X v10.2 and later.
  • Initializes an allocated NSNetServiceBrowser object.

    Declaration

    Swift

    init()

    Objective-C

    - (instancetype)init

    Return Value

    Initialized NSNetServiceBrowser object.

    Import Statement

    import Foundation

    Availability

    Available in OS X v10.2 and later.