Beginning Core Data - Part 3: Managed Objects | Ray Wenderlich

Managed objects are what you use to construct your Core Data objects. In this video, you'll get started by making one.

This is a companion discussion topic for the original entry at

Why is the name attribute of our Friend entity optional even though we unchecked the optional box while creating the attribute?

This is a bug in the Xcode code generation even though they have an optional checkbox, unchecking it does not seem to change the generated code. Unfortunately, this results in you having to manually change the generated code and if you re-generate the code, it will overwrite your changes.

Maybe Apple will fix it at some point but till then, I’m afraid that you are stuck with doing the changes manually to the generated code.