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 3.  Say Hello

For historic reasons, the first program we usually make when learning a new programming language is a program that simply outputs the text Hello World to the console. Printing to the console is reasonably simple and is, therefore, often a good starting point to ensure that everything is set up correctly. To honor traditions, we will do the same with our very first program written in the Swift programming language:

print("Hello World")

Exciting! To achieve this, the chapter will cover the following topics:

  • Introducing a console application
  • Setting up our first Xcode playground and taking a look at the most important parts of a playground
  • Writing our first Hello World program using Swift and a playground
  • A quick look at how Xcode playground communicates errors and how we can use autocompletion to write code faster and more safely
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