<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSObjectController/init(content:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSObjectController(im)initWithContent:"
  },
  "title" : "init(content:)"
}
-->

# init(content:)

Initializes and returns an `NSObjectController` object with the given content.

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

## Parameters

`content`

The content for the receiver.

## Return Value

The initialized object controller, with its content object set to `content`.

## See Also

  <doc://com.apple.documentation/documentation/Foundation/NSPredicate>

  <doc://com.apple.documentation/documentation/CoreData>

[Cocoa Bindings](/documentation/AppKit/cocoa-bindings)

Automatically synchronize your data model with your app’s interface using Cocoa Bindings.



---

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)