Passing data between view controllers

The final bridge to cross for the HelloContacts app is to display some actual information about a selected contact. In order to do this, a couple of new outlets should be added to ContactDetailViewController. The code that fetches contact information also needs to be expanded a little bit so a contact's phone number, email address, and postal address are fetched.

Finally, the contact data needs to be passed from the overview to the details page so the details page is able to actually display the data. The steps involved in this process are the following:

  1. Update the data loading and model.
  2. Pass the model to the details page.
  3. Implement new outlets and display data.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset