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

OOP


Steve Jobs, the former CEO of Apple and probably the person who people most often associate with Apple, was asked the question about what OOP is in an interview (http://www.rollingstone.com/culture/news/steve-jobs-in-1994-the-rolling-stone-interview-20110117#ixzz3CSNRGuIf) with the Rolling Stone magazine in 1994. Here is how he started explaining what OOP is:

Objects are like people. They're living, breathing things that have knowledge inside them about how to do things and have memory inside them so they can remember things. And rather than interacting with them at a very low level, you interact with them at a very high level of abstraction, like we're doing right here.

Note how he suggests that we visualize objects as being people. This is similar to how we suggested one could visualize what a function is in Chapter 6, Making Pizza. He continues his explanation by giving an example:

Here's an example: If I'm your laundry object, you can give me your dirty clothes and send me a message...