Contents

init(withDataAllocator:data:)

Returns a Quartz event created from a flattened data representation of the event.

Declaration

init?(withDataAllocator allocator: CFAllocator?, data: CFData?)

Parameters

  • allocator:

    The allocator to use to allocate memory for the event object. To use the current default allocator, pass NULL or kCFAllocatorDefault.

  • data:

    The flattened data representation of the event to reconstruct.

Return Value

An event built from the flattened data representation, or NULL if the eventData parameter is invalid.

Discussion

You can use this function to reconstruct a Quartz event received by network transport from another system.

See Also

Functions