Book Image

Application Development in iOS 7

By : Kyle Begeman
Book Image

Application Development in iOS 7

By: Kyle Begeman

Overview of this book

Table of Contents (15 chapters)
Application Development in iOS 7
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Displaying User Data

We have almost completed our application; however, we still have one last major piece of functionality to add. Now that our users can add content, they need to be able to view that data. In this chapter, we will put together a custom cell, build a table view to display a list of data, and build a detail view of the items when a user selects an item from the list. On completing this chapter, we will have a fully functional application.

We will begin by putting together our custom cell in the storyboard. Next, we will add a button to the navigation bar so that users can add food while viewing their current food items. Then, we will set up the table view, load our data, and pass the data to the table view. Lastly, we will implement the detail view of the items when a user selects an item from the table view. Let's get started!