O'Reilly logo

Swift in 24 Hours, Sams Teach Yourself by BJ Miller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 2. Learning Swift’s Fundamental Data Types

What You’ll Learn in This Hour:

Image Understand the differences between constants and variables

Image How to declare and use constants and variables

Image How Swift uses type inference for automatic type setting

Image Swift’s common data types

How to specifically declare data types with type annotation

In the first hour, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required