Contents

schedule(in:forMode:)

This method should be implemented by a subclass to set up monitoring of a port when added to a given run loop in a given input mode.

Declaration

func schedule(in runLoop: RunLoop, forMode mode: RunLoop.Mode)

Parameters

  • runLoop:

    The run loop to which to add the receiver.

  • mode:

    The run loop mode to which to add the receiver

Discussion

This method should not be called directly.

See Also

Port Monitoring