Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Swift iOS Programming for Kids

You're reading from   Swift iOS Programming for Kids Help your kids build simple and engaging applications with Swift 3.0

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781787120747
Length 260 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Steffen D. Sommer Steffen D. Sommer
Author Profile Icon Steffen D. Sommer
Steffen D. Sommer
Jim Campagno Jim Campagno
Author Profile Icon Jim Campagno
Jim Campagno
Arrow right icon
View More author details
Toc

Summary

Wow, you just created an application to store your favorite movies! The application persists your movies and you are able to install the application on your phone so that you are able to bring it with you and show it to your friends and family. Good job!

This chapter introduced lists using the UITableView and UITableViewController types. We looked at the two related protocols-UITableViewDataSource and UITableViewDelegate-and some of the most central methods defined in these protocols. We then looked at how to set up an interface that uses a table view and how we can populate lists using the UITableViewController. We added a navigation controller in order to set a title for our app and to have a place for adding a button to add items to our list. We also looked at how we can delete items from the list using swipe gestures. Lastly, we looked at how we can persist data using UserDefaults so that our items stay in the list even after we close our app...

lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image