Skip to Main Content
Xcode 5 Start to Finish: iOS and OS X Development
book

Xcode 5 Start to Finish: iOS and OS X Development

by Fritz Anderson
May 2014
Intermediate to advanced content levelIntermediate to advanced
624 pages
19h 43m
English
Addison-Wesley Professional
Content preview from Xcode 5 Start to Finish: iOS and OS X Development

Object Controllers

You’re still in MPRDocument.xib. Type array in the Object library’s search field, which should narrow the list down to “Array Controller,” an instance of NSArrayController, which is a kind of NSController that provides automated access to groups of objects. Drag the icon into the Editor view. The controller won’t show up in the view, but it will appear in the sidebar under a new category, Objects. This is not a placeholder—the controller is literally a part of the XIB.

Make sure the array controller is selected, and use the Attributes inspector to set Mode to Entity Name, and the Entity Name field to Team. Check Prepares Content, which tells the array controller that it is responsible for loading instances of the entity. (If ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Xcode 6 Start to Finish: iOS and OS X Development, Second Edition

Xcode 6 Start to Finish: iOS and OS X Development, Second Edition

Fritz Anderson
Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Objective-C for Absolute Beginners: iPhone, iPad and Mac Programming Made Easy

Stefan Kaczmarek, Brad Lees, Gary Bennett, Mitch Fisher

Publisher Resources

ISBN: 9780133751031Purchase book