Table of Contents

 

Copyright

Brief Table of Contents

Table of Contents

Preface

Acknowledgments

About this book

About the author

Chapter 1. Get ready to build apps with Swift!

Your “I can do it!” journey begins

What is an app, anyway?

The pieces of a good app

What is programming?

From idea to app

What is Swift?

What’s so special about Swift?

Swift can’t do everything

Prepping your app toolbox

Gather hardware

Install Xcode

Set up an optional developer account

Start Xcode for the first time

Write code and see it work in the Swift Playground

What is the playground?

Create a playground

Play with code in the playground

Check your app knowledge

Chapter 2. Create your first app

Hello apps!

Your first app: Hello World!

What does this app do?

Set up the project

The Xcode interface

Create the UI

Run your app

Discover the user interface

What is a UI?

Develop an app on your own

Change text colors