remove(from:forMode:)
Removes the receiver from the specified run loop.
Declaration
func remove(from aRunLoop: RunLoop, forMode mode: RunLoop.Mode)Parameters
Discussion
You can use this method in conjunction with schedule(in:forMode:) to transfer the receiver to a run loop other than the default one. Although it is possible to remove an NSNetService object completely from any run loop and then attempt actions on it, you must not do it.