<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ColorSync",
  "identifier" : "/documentation/ColorSync/ColorSyncProfileIterateCallback",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "ColorSync"
    ],
    "preciseIdentifier" : "c:@T@ColorSyncProfileIterateCallback"
  },
  "title" : "ColorSyncProfileIterateCallback"
}
-->

# ColorSyncProfileIterateCallback

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

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)