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

Chapter 4. Favorite Things

This chapter will introduce you to the concept of variables and constants. It will cover how we use them to manage state in an iOS application. We will take what you've learned in the last chapter in working with print statements and build upon that to help you understand the problem that is solved using variables and constants.

The topics this chapter covers are as follows:

  • Creating variables and constants

  • Assigning a value to a variable

  • Reading a value from a variable