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

Some Test Data

Passer Rating won’t work without data. In a finished product, that would be easy: The user provides his own data. But we don’t want to wait on having a full suite of editors in the app to see how it works. You need some test data to preload into the app.

This can take the form of a CSV file. I have a script, generate-games.rb, that will produce a good-enough data set:

firstName,lastName,attempts,completions,interceptions, ...Jimmy,Carter,37,11,1,0,56,2010-03-24,Boise Bearcats,2, ...Andy,Jackson,33,8,1,1,30,2010-03-24,Modesto Misanthropes,9, ...James,Madison,20,15,0,4,241,2010-04-14,San Bernardino Stalkers,47, ...Quinn,Adams,9,3,1,1,17,2010-04-14,San Bernardino Stalkers,47, ......

Note

The script runs ...

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