The Editor Table
The editor table doesn’t have to do much. It must keep track of its text fields and their contents; and it has to accept and return the strings the fields edit. If we choose the names of the fields and the properties that back them, we can automate much of the task of running the data from field to controller to PRPasser
properties. The PRPasser
values are firstName
, lastName
, and currentTeam
. The names of everything else will be, or be derived from, those names.
Now that we have class files, we can link the fields to PRPasserEditTableController
. Rig your Interface Builder tab so the Assistant editor is visible and the first segment of its jump bar set to Automatic; and the Navigator and Utility areas are hidden to make room. ...
Get Xcode 5 Start to Finish: iOS and OS X Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.