Contents

postEvent(_:atStart:)

Forwards the message to the global application object.

Declaration

func postEvent(_ event: NSEvent, atStart flag: Bool)

Parameters

  • event:

    The event to add to the window’s event queue.

  • flag:

    True to place the event in the front of the queue; False to place it in the back.

See Also

Related Documentation

Handling Events