---
title: "add(_:)"
framework: modelio
role: symbol
role_heading: Instance Method
path: "modelio/mdlobjectcontainercomponent/add(_:)"
---

# add(_:)

Adds the specified object as a child of this object.

## Declaration

```swift
func add(_ object: MDLObject)
```

## Parameters

- `object`: The object to add.

## See Also

### Working with Child Objects

- [objects](modelio/mdlobjectcontainercomponent/objects.md)
- [remove(_:)](modelio/mdlobjectcontainercomponent/remove(_:).md)
