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
About the Authors
About the Reviewer
Customer Feedback
Getting Set Up

Our final application: Movie Night

The final application we will make is called Movie Night and the idea of the app is to be able to write down one's favorite movies:

The interface will have a couple of different elements. First of all, the view will have a title in the top middle. In the upper-right corner, there will be a small button with a plus symbol on it, which will enable the user of the app to add a movie to the list. The main area of the application will contain a list of the added movies. When the user swipes from right to left on a specific item in the list, a button with the Delete label will appear; tapping that button will make the item on the list disappear.

In general, unless one has a strategy for saving data either on the phone or through a web interface, the data will be lost when the user closes the app. This means that all the movies one might have added to the list will disappear the second the user closes the app. To avoid this, we will write some simple code that...