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

Outlets

Nine of the 14 labels in the billboard view display names, dates, and statistics that are taken from the Passer Rating data store. There has to be a way to get them from the model onto the screen. In the Model-View-Controller design model, that’s the job of a controller—in this case PRGameListController. The question then becomes, how does the view controller get to the labels?

When an Interface Builder product is loaded into a running program, an object in the program is designated as the owner—in this case it will be a PRGameListController. The file carries in it a list that pairs objects (your choice) to outlets in the owner. In modern practice, the outlets take the form of declared properties. The @interface flags the outlets it ...

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