Contents

init(source:)

Returns a new Quartz event.

Declaration

init?(source: CGEventSource?)

Parameters

  • source:

    The event source, or NULL to use a default source.

Return Value

A new event to be filled in, or NULL if the event could not be created. When you no longer need the event, you should release it using the function CFRelease.

See Also

Functions