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

# ColorSyncIterateInstalledProfilesWithOptions(_:_:_:_:_:)

Iterates over the installed profiles, using the given options.

## Declaration

```swift
func ColorSyncIterateInstalledProfilesWithOptions(_ callBack: ColorSyncProfileIterateCallback?, _ seed: UnsafeMutablePointer<UInt32>?, _ userInfo: UnsafeMutableRawPointer?, _ options: CFDictionary?, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>?)
```

## Parameters

- `callBack`: A pointer to a client-provided function (can be NULL).
- `seed`: A pointer to a cache seed owned by the client.
- `userInfo`: User-defined data passed to the callback.
- `options`: A dictionary with iteration options, for example doc://com.apple.colorsync/documentation/ColorSync/kColorSyncWaitForCacheReply to wait for the cache to finish updating before returning.
- `error`: On failure, a pointer to an error describing the problem. Optional.

## See Also

### Installing profiles

- [ColorSyncProfileInstall(_:_:_:_:)](colorsync/colorsyncprofileinstall(_:_:_:_:).md)
- [ColorSyncProfileUninstall(_:_:)](colorsync/colorsyncprofileuninstall(_:_:).md)
- [COLORSYNC_PROFILE_INSTALL_ENTITLEMENT](colorsync/colorsync_profile_install_entitlement.md)
- [kColorSyncProfileComputerDomain](colorsync/kcolorsyncprofilecomputerdomain.md)
- [kColorSyncProfileUserDomain](colorsync/kcolorsyncprofileuserdomain.md)
