So far, you’ve built the views for your application and successfully hooked them up to the controllers. You have also finished defining how the user will navigate through the app. Now that you have the wiring in place, let’s move on toward implementing the Twitter integration in the app. For this phase, you will create a TwitterUser model class to keep track of the user and their latest tweet.
The TwitterUser model class, as you will see, is dead simple. It just contains two properties, one for the username and one for the tweet, and that’s it. Model classes are typically very simple like this. Their primary role is keeping track of application data, and as such, they don’t need to do much.
To add the TwitterUser model class, follow ...