---
title: "init(enabledProfiles:disabledProfiles:)"
framework: coremidi
role: symbol
role_heading: Initializer
path: "coremidi/midiciprofilestate/init(enabledprofiles:disabledprofiles:)"
---

# init(enabledProfiles:disabledProfiles:)

Creates a new profile state object for the specified profiles.

## Declaration

```swift
init(enabledProfiles enabled: [MIDICIProfile], disabledProfiles disabled: [MIDICIProfile])
```

## Parameters

- `enabled`: The enabled MIDI-CI profiles.
- `disabled`: The disabled MIDI-CI profiles.

## Return Value

Return Value A new profile state instance.

## See Also

### Creating a Profile State

- [init(channel:enabledProfiles:disabledProfiles:)](coremidi/midiciprofilestate/init(channel:enabledprofiles:disabledprofiles:).md)
