© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
A. NekrasovSwift Recipes for iOS Developershttps://doi.org/10.1007/978-1-4842-8098-0_1

1. Working with Data

Alexander Nekrasov1  
(1)
Moscow, Russia
 

Data processing is a core feature of all computing devices. And iPhones are mobile computers. Your profile on social networks, cookies on websites, emails and SMS messages, even user interfaces – all of them are data structures. For example, iOS storyboards have an XML format; you can open them in a text editor.

That’s why it’s important to learn how to handle data as a starting point. We will work with the Data class representing binary data; we will convert data types and handle conversion errors, extract data ...

Get Swift Recipes for iOS Developers: Real-Life Code from App Store Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.