---
title: "init(content:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nsobjectcontroller/init(content:)"
---

# init(content:)

Initializes and returns an NSObjectController object with the given content.

## Declaration

```swift
init(content: Any?)
```

## Parameters

- `content`: The content for the receiver.

## Return Value

Return Value The initialized object controller, with its content object set to content.

## See Also

### Related Documentation

- [NSPredicate](foundation/nspredicate.md)
- [Core Data](coredata.md)
- [Cocoa Bindings](appkit/cocoa-bindings.md)
