Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Swift iOS Programming for Kids
  • Toc
  • feedback
Swift iOS Programming for Kids

Swift iOS Programming for Kids

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

Variables and constants

What's your favorite Disney song? Our is A Whole New World from Aladdin. What's your favorite ice cream flavor? For us, nothing beats vanilla. If we wanted to print out some of our favorite items in a playground file, we know how to do that!

Create a new playground file and name it FavoriteThings, as illustrated. Save it wherever you like; we recommend saving all of this work in a place you can remember. That way, you can access it easily when you need to reference it later on:

Variables and constants

Clear out all the code that a newly created playground file provides to you; that way, you're left with a completely blank file:

Variables and constants

We mentioned earlier that our favorite Disney song is A Whole New World. We also mentioned that our favorite ice cream flavor is vanilla. Let's pretend, for a second, that your best friend just asked you those questions. Instead of speaking to them, you decide to write some Swift code (because you...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete