September 2013
Intermediate to advanced
112 pages
2h 42m
English
For now, our task is simple: display a table with all the letters of the alphabet:

Last I checked there are twenty-six of them, so that’s enough to show off the fancy row reuse that happens with table views. The table is going to be part of our app’s lone controller, so there isn’t a lot of setup to worry about this time.
First we create a new project called TableFun, and the controllers folder in ./app. Our controller will be AlphabetController, so let’s store it in ./app/controllers/alphabet_controllerrb. Our initial implementation should look like this:
| | class ... |
Read now
Unlock full access