Appendix    A

A Swift Introduction to Swift

Until recently, writing an iPhone or iPad application meant working with Objective-C. Because of its unusual (some would say elegant) syntax, Objective-C is one of the more polarizing programming languages—you either love it or you hate it. At the World Wide Developer Conference in 2014, Apple changed all that by unveiling an alternative—a new language called Swift. Swift’s syntax is designed to be more recognizable to programmers who are used to more popular object-oriented programming languages like C++ and Java, therefore making it easier to start writing applications for iOS (and for Macs, since Swift is also fully supported as a development language on OS X). This appendix covers the parts of Swift ...

Get Beginning iPhone Development with Swift: Exploring the iOS SDK 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.