Determines the run loop and mode that the connection uses to call methods on its delegate.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Runinstance to use when calling delegate methods.
The mode in which to call delegate methods.
By default, a connection is scheduled on the current thread in the default mode when it is created. If you create a connection with the
init(request: method and provide
false for the
start parameter, you can schedule the connection on a different run loop or mode before starting it with the
start() method. You can schedule a connection on multiple run loops and modes, or on the same run loop in multiple modes.
You cannot reschedule a connection after it has started.
It is an error to schedule delegate method calls with both this method and the