<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Network",
  "identifier" : "/documentation/Network/NetworkBrowser/init(for:using:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Network"
    ],
    "preciseIdentifier" : "s:7Network0A7BrowserC3for5usingACyxGx_AA12NWParametersCSgtcfc"
  },
  "title" : "init(for:using:)"
}
-->

# init(for:using:)

Create a browser that will browse for the service specified by a
BrowserProvider, with parameters.

```
init(for provider: Provider, using parameters: NWParameters? = nil)
```

## Parameters

`provider`

A BrowserProvider that describes the kind of
service to browse for, the browse descriptor,
and parameter configuration.

`parameters`

The parameters that will be used while
browsing.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)