Database Reference
In-Depth Information
parameters, such as swell height or period, and rate the session from 1 to 5. Dude,
if you're not fond of hanging ten and getting barreled, no worries, brah. Just
replace the surfing terminology with your favorite hobby of choice!
Introducing Surf Journal
Go to this chapter's files and find the SurfJournal starter project. Open the
project, then build and run the app.
On startup, the application lists all previous surf session journal entries. Tapping on
a row in the list brings up the detail view of a surf session with the ability to make
edits.
As you can see, the sample app works and has data. Tapping the Export button on
the top-left exports the data to a comma-separated values (CSV) file. Tapping the
plus (+) button on the top-right adds a new journal entry. Tapping a row in the list
opens the entry in edit mode, letting you make changes or view the details of a surf
session.
Although the sample project appears simple, it actually does a lot and will serve as
a good base to add multi-context support. First, make sure you have a good
understanding of the various classes in the project.
Open the project navigator and take a look at the full list of files in the starter
project:
Search WWH ::




Custom Search