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 looked at how Xcode runs our playground and what a program can look like without the concept of functions. The concept of functions was introduced on a metaphorical level with tips on how one can visualize a function, with three common characteristics of a function being the following:

  • It can receive some input

  • It can be pure

  • It can return something

Further, we looked at different examples of functions written in Swift before creating our own function for simulating the task of creating a pizza.

In the next chapter, we will explore new and exciting concepts of programming, such as arrays and dictionaries, which are useful for storing our values in boxes.