The Goal

A desktop application is a different sort of thing from a mobile app. Desktop apps present their information in windows, and users expect data-handling windows to be documents, each of which stores its data in its own file. Mac Passer Rating could present only one window for only one data set, but as you’ll see, it’s not much more trouble to work with documents. That way, the user can organize passer statistics into leagues, which he can exchange with others.

The top level of the iOS Passer Rating app was a list of passers. Does that make sense if you have more than one document? If you have documents for discrete leagues, it may be better if you take teams as the root of the data set. This will entail a slight rework of the data model, ...

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.