<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDICIProfileState/init(enabledProfiles:disabledProfiles:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:objc(cs)MIDICIProfileState(im)initWithEnabledProfiles:disabledProfiles:"
  },
  "title" : "init(enabledProfiles:disabledProfiles:)"
}
-->

# init(enabledProfiles:disabledProfiles:)

Creates a new profile state object for the specified profiles.

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

## Parameters

`enabled`

The enabled MIDI-CI profiles.

`disabled`

The disabled MIDI-CI profiles.

## Return Value

A new profile state instance.

## Discussion

---

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)