<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDIEventList/Builder",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core MIDI",
      "CoreMIDI"
    ],
    "preciseIdentifier" : "s:So13MIDIEventListV8CoreMIDIE7BuilderC"
  },
  "title" : "MIDIEventList.Builder"
}
-->

# MIDIEventList.Builder

```
class Builder
```

## Topics

### Initializers

[`init(inProtocol: MIDIProtocolID, wordSize: Int)`](/documentation/CoreMIDI/MIDIEventList/Builder/init(inProtocol:wordSize:))

### Instance Properties

[`var count: Int`](/documentation/CoreMIDI/MIDIEventList/Builder/count)

### Instance Methods

[`func append(timestamp: MIDITimeStamp, words: [UInt32]) -> UnsafePointer<MIDIEventPacket>?`](/documentation/CoreMIDI/MIDIEventList/Builder/append(timestamp:words:))

[`func clear()`](/documentation/CoreMIDI/MIDIEventList/Builder/clear())

[`func withUnsafeMutableMIDIEventListPointer<Result>((inout UnsafeMutableMIDIEventListPointer) -> Result) -> Result`](/documentation/CoreMIDI/MIDIEventList/Builder/withUnsafeMutableMIDIEventListPointer(_:))

[`func withUnsafePointer<Result>((UnsafePointer<MIDIEventList>) -> Result) -> Result`](/documentation/CoreMIDI/MIDIEventList/Builder/withUnsafePointer(_:))

---

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)