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

Chapter 11.  Simon Says

Until now, the programs we have written have been focused on text; they have been console applications as described in Chapter 3, Say Hello. A very central part of an iPhone application is the User Interface (UI)-the interface in which the user is able to do gestures, such as drag, force-touch, swipe, and more; the interface in which the user is able to communicate back and forth with the running application.

The following two chapters will focus on the UI in an iOS application. The reader will acquire the necessary knowledge and skills in order to be able to write programs that leverage a UI. To summarize, this chapter will cover the following topics:

  • A recap of the concept of a Graphical User Interface (GUI)

  • A guide to setting up a new iOS project that will include a UI

  • An introduction to how we can lay out a view using Xcode's built-in tool Interface Builder (IB) and something called storyboards

  • A guide to building a small application called Simon Says, that uses...