I was hoping to do something like this:
In netServiceBrowser:didFindService:moreComing:
[self.foundServices addObject:aNetService];
And in netServiceBrowser:didRemoveService:moreComing:
[self.foundServices removeObject:aNetService];
However, the services returned aren't retained by the NetServiceBrowser, and so the service given in didRemoveService
isn't the same object as those in the array. How do I compare the services to ensure that the one I remove is the correct one?