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

Chapter 6.  Making Pizza

Until now, we have been looking at how to create certain types and how to use variables as a tool for representing values in our programs. These are all fundamental concepts to understand when learning how to program, and this chapter will build upon that. In this chapter, we will take a look at something called functions.

As you have learned from Chapter 4Favorite Things, a variable can represent a value in our program. This means that without knowing the actual value, we can use the variable throughout our program to represent that value. In a way, you could say that we are reusing the value throughout the program by just using our variable. A function shares similar advantages in the sense that we are also reusing code when we use a function. We say that a function abstracts an amount of work we only have to define once. This idea of reusing code is central to programming and functions are just a tool to help programmers...

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