Introduction

Welcome to Swift for Beginners! Swift is Apple’s new language for developing apps for iOS and Mac OS, and it is destined to become the premier computer language in the mobile and desktop space. As a new computer language, Swift has the allure of a shiny new car—everybody wants to see it up close, kick the tires, and take it for a spin down the road. That’s probably why you’re reading this book—you’ve heard about Swift and decided to see what all the fuss is about.

The notion that Swift is an easy language to use and learn certainly has merit, especially when compared to the capable but harder-to-learn programming language it’s replacing: Objective-C. Apple has long used Objective-C as its language of choice for developing software ...

Get Swift for Beginners: Develop and Design, Second Edition 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.