<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/kAudioUnitProperty_CocoaUI",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@Ea@kAudioUnitProperty_ClassInfo@kAudioUnitProperty_CocoaUI"
  },
  "title" : "kAudioUnitProperty_CocoaUI"
}
-->

# kAudioUnitProperty_CocoaUI

A read-only `AudioUnitCocoaViewInfo` data structure valid on the audio unit global scope.

```
var kAudioUnitProperty_CocoaUI: AudioUnitPropertyID { get }
```

## Discussion

An audio unit’s custom Cocoa views. You can determine the number of views an audio unit provides by querying the size of this property. Typically, audio units provide just one view.

---

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)