Join John Nastos for an in-depth discussion in this video Creating the UI for more advanced table cells, part of Building an iOS Address Book App.
- [Voiceover] Now that there's contact data…being persistently stored in the app,…let's look at what it will take to customize…the initial table view that shows the contacts.…First, I'm going to go to the main storyboard.…You can see that right now, there's a prototype cell…in the table.…It doesn't have anything except for a label.…I'm going to click on the table,…and open up this side panel,…and increase the number of prototype cells…from one to two.…
This gives me a new prototype that I can edit.…So I'm going to click on the cell,…change it from basic to custom,…which removes that label,…and then I'm going to add three of my own labels.…So I've searched for label in the object library,…and I'm going to drag three of them on.…The first label will display the contact's initials.…
The second will display the contact's first name,…and the third will show their last name.…So now that I've added them to the cell,…I want to do a little work to edit the auto layout…so that they appear correctly.…So I'm going to control click on this first label,…
Build the project step-by-step and then use what you've learned to explore your own app ideas.
- Creating the project in Xcode
- Using Auto Layout to design the UI
- Attaching the interface to the code
- Creating the data model, including a Person class
- Adding stored data to the UI
- Displaying a contact's address with MapKit
- Linking contact info to other iOS apps
- Adding persistence
- Working with table views
- Writing tests
- Preparing to publish the app in the App Store