Contents

ColorSyncProfileIterateCallback

A callback that the framework invokes for each installed profile during iteration.

Declaration

typealias ColorSyncProfileIterateCallback = (CFDictionary?, UnsafeMutableRawPointer?) -> Bool

Parameters

  • profileInfo:

    A dictionary describing the profile.

  • userInfo:

    The user info passed to the iteration function.

Discussion

The framework passes only validated profiles to the callback. Return false to stop the iteration.

See Also

Finding installed profiles