Book Image

Swift iOS Programming for Kids

By : Steffen D. Sommer, Jim Campagno
Book Image

Swift iOS Programming for Kids

By: Steffen D. Sommer, Jim Campagno

Overview of this book

This book starts at the beginning by introducing programming through easy to use examples with the Swift Playgrounds app. Kids are regularly encouraged to explore and play with new concepts to support knowledge acquisition and retention – these newly learned skills can then be used to express their own unique ideas. Children will be shown how to create their first iOS application and build their very own movie night application.
Table of Contents (21 chapters)
Swift iOS Programming for Kids
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
2
Getting Set Up

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. We combined all this into our Movie...