Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Swift iOS Programming for Kids
  • Table Of Contents Toc
  • Feedback & Rating feedback
Swift iOS Programming for Kids

Swift iOS Programming for Kids

By : D. Sommer, Campagno
4.2 (5)
close
close
Swift iOS Programming for Kids

Swift iOS Programming for Kids

4.2 (5)
By: D. Sommer, 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 (15 chapters)
close
close
2
2. Getting Set Up
10
10. Pokémon Battle
13
13. Space Pizza Delivery

How the iPhone runs our program


To understand what a function is and how it works, it makes sense to first have a look at how a computer, let's say the iPhone, understands or runs our program. Remember from Chapter 1What is Programming?, that we can think of the code in our program as a recipe for the iPhone to interpret in order to know how our application should work. The way that an iPhone will read our recipe is to go through it line by line, beginning from the top and moving to the bottom, just as we would normally do with a text, book, or recipe. Maybe you already noted it in our earlier playgrounds that anything we print to the console will be printed in the same order as Xcode reads our code, line by line, from the source editor.

To make it clear, let's revisit our playground from Chapter 3, Say Hello. This was how we left it:

print("Hello World")
print("We love Swift programming")
print("My favorite ice cream is vanilla")

If you click on the small button with an arrow pointing upwards...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Swift iOS Programming for Kids
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon