---
title: "ColorSyncIterateDeviceProfiles(_:_:)"
framework: colorsync
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.0+, macOS 10.13+]
path: "colorsync/colorsynciteratedeviceprofiles(_:_:)"
---

# ColorSyncIterateDeviceProfiles(_:_:)

Iterates over the profiles registered for all devices, invoking a callback for each.

## Declaration

```swift
func ColorSyncIterateDeviceProfiles(_ callBack: ColorSyncDeviceProfileIterateCallback!, _ userInfo: UnsafeMutableRawPointer?)
```

## Parameters

- `callBack`: The callback to invoke for each registered device profile.
- `userInfo`: Caller-supplied context passed through to the callback. Optional.

## See Also

### Registering and enumerating devices

- [ColorSyncDeviceCopyDeviceInfo(_:_:)](colorsync/colorsyncdevicecopydeviceinfo(_:_:).md)
- [ColorSyncDeviceProfileIterateCallback](colorsync/colorsyncdeviceprofileiteratecallback.md)
- [ColorSyncDeviceSetCustomProfiles(_:_:_:)](colorsync/colorsyncdevicesetcustomprofiles(_:_:_:).md)
- [ColorSyncProfileCreateDeviceProfile(_:_:_:)](colorsync/colorsyncprofilecreatedeviceprofile(_:_:_:).md)
- [ColorSyncRegisterDevice(_:_:_:)](colorsync/colorsyncregisterdevice(_:_:_:).md)
- [ColorSyncUnregisterDevice(_:_:)](colorsync/colorsyncunregisterdevice(_:_:).md)
