<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDIObjectAddRemoveNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:@S@MIDIObjectAddRemoveNotification"
  },
  "title" : "MIDIObjectAddRemoveNotification"
}
-->

# MIDIObjectAddRemoveNotification

A message that describes the addition or removal of an object.

```
struct MIDIObjectAddRemoveNotification
```

## Topics

### Inspecting the Notification

[`messageID`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/messageID)

The message type.

[`messageSize`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/messageSize)

The message size.

[`parent`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/parent)

The parent object of the added or removed child.

[`parentType`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/parentType)

The parent object type.

[`child`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/child)

The added or removed child object.

[`childType`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/childType)

The child object type.

### Initializers

[`init()`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/init())

[`init(messageID:messageSize:parent:parentType:child:childType:)`](/documentation/CoreMIDI/MIDIObjectAddRemoveNotification/init(messageID:messageSize:parent:parentType:child:childType:))



---

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)