<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.2.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NetServiceBrowserDelegate/netServiceBrowser(_:didFind:moreComing:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(pl)NSNetServiceBrowserDelegate(im)netServiceBrowser:didFindService:moreComing:"
  },
  "title" : "netServiceBrowser(_:didFind:moreComing:)"
}
-->

# netServiceBrowser(_:didFind:moreComing:)

Tells the delegate the sender found a service.

```
optional func netServiceBrowser(_ browser: NetServiceBrowser, didFind service: NetService, moreComing: Bool)
```

## Parameters

`browser`

Sender of this delegate message.

`service`

Network service found by `netServiceBrowser`. The delegate can use this object to connect to and use the service.

`moreComing`

<doc://com.apple.documentation/documentation/Swift/true> when `netServiceBrowser` is waiting for additional services. <doc://com.apple.documentation/documentation/Swift/false> when there are no additional services.

## Discussion

The delegate uses this message to compile a list of available services. It should wait until `moreServicesComing` is <doc://com.apple.documentation/documentation/Swift/false> to do a bulk update of user interface elements.

### Special Considerations

If the delegate chooses to resolve `netService`, it should retain `netService` and set itself as that service’s delegate. The delegate should, therefore, release that service when it receives the [`netServiceDidResolveAddress(_:)`](/documentation/Foundation/NetServiceDelegate/netServiceDidResolveAddress(_:)) or [`netService(_:didNotResolve:)`](/documentation/Foundation/NetServiceDelegate/netService(_:didNotResolve:)) delegate messages of the  [`NetService`](/documentation/Foundation/NetService) class.

## See Also

[`searchForServices(ofType:inDomain:)`](/documentation/Foundation/NetServiceBrowser/searchForServices(ofType:inDomain:))

Starts a search for services of a particular type within a specific domain.



---

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)