---
title: ColorSyncProfileIterateCallback
framework: colorsync
role: symbol
role_heading: Type Alias
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 13.0+, macOS 10.13+, tvOS 16.0+, visionOS 1.0+, watchOS 9.0+]
path: colorsync/colorsyncprofileiteratecallback
---

# ColorSyncProfileIterateCallback

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

## Declaration

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

## Parameters

- `profileInfo`: A dictionary describing the profile.
- `userInfo`: The user info passed to the iteration function.

## Discussion

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

## See Also

### Finding installed profiles

- [ColorSyncIterateInstalledProfiles(_:_:_:_:)](colorsync/colorsynciterateinstalledprofiles(_:_:_:_:).md)
