Chapter    3

It’s All About the Data

As you probably know, data is stored as zeros and ones in your computer’s memory. However, zeros and ones are not very useful to developers or app users, so you need to know how your program uses data and how to work with the data that is stored.

In this chapter, you will look at how data is stored on computers and how you can manipulate that data. You then use playgrounds to learn more about data storage.

Numbering Systems Used in Programming

Computers work with information differently than humans do. This section covers the various ways information is stored, tallied, and manipulated by devices such as your iPhone and iPad.


A bit is defined as the basic unit of information used by computers to store ...

Get Swift for Absolute Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.