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


In this chapter, we introduced the notion of a console interface and a GUI. We saw how to create Xcode playgrounds and went over the most important parts of the playground interface. We looked at the common first program every new developer will probably create, which is printing Hello World in the console, and how this can be implemented using Swift and a playground. We quickly looked at how Xcode playgrounds communicate errors in our program and how to interpret them. Lastly, we looked at how Xcode offers something called autocompletion to help us write code in a faster and safer manner.

In the next chapter, we will cover a fundamental concept in programming-the use of variables and constants. These are very handy as they, for example, help us reference our favorite ice cream without having to write the complete name of the ice cream everywhere in our program.