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

# UnsafeMutableMIDIEventListPointer

```
struct UnsafeMutableMIDIEventListPointer
```

## Topics

### Initializers

[`init?(UnsafeMutablePointer<MIDIEventList>?, wordSize: Int)`](/documentation/CoreMIDI/UnsafeMutableMIDIEventListPointer/init(_:wordSize:))

[`init(UnsafeMutablePointer<MIDIEventList>, wordSize: Int, inProtocol: MIDIProtocolID)`](/documentation/CoreMIDI/UnsafeMutableMIDIEventListPointer/init(_:wordSize:inProtocol:))

### Instance Properties

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

[`var lastPacket: UnsafeMutablePointer<MIDIEventPacket>?`](/documentation/CoreMIDI/UnsafeMutableMIDIEventListPointer/lastPacket)

[`var listSizeInBytes: Int`](/documentation/CoreMIDI/UnsafeMutableMIDIEventListPointer/listSizeInBytes)

[`var midiProtocol: MIDIProtocolID`](/documentation/CoreMIDI/UnsafeMutableMIDIEventListPointer/midiProtocol)

### Instance Methods

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

[`func clear()`](/documentation/CoreMIDI/UnsafeMutableMIDIEventListPointer/clear())

## Relationships

### Conforms To

[`Sequence`](/documentation/Swift/Sequence)

---

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)