Transitioning to Swift (Paperback)

Scott Gardner

  • 出版商: Apress
  • 出版日期: 2014-12-17
  • 售價: $1,010
  • 貴賓價: 9.5$960
  • 語言: 英文
  • 頁數: 240
  • 裝訂: Paperback
  • ISBN: 1484204077
  • ISBN-13: 9781484204078
  • 相關分類: Apple Developer
  • 下單後立即進貨 (約1週~2週)



Developing apps for Apple’s broadening platform of devices is an exciting topic these days. Apple created the Swift programming language to build state-of-the-art apps using the latest Apple technologies.

In this 200-page book, author Scott Gardner articulates the similarities and differences between traditional Objective-C based programming and Swift, revealing what you need to know from syntax changes to emerging best practices and paradigm shifts, to write powerful, expressive, and flexible code in Swift.

Written at a brisk pace and in a methodical style, you'll learn how to apply your Objective-C skills to successfully transition to programming in Swift.

What you’ll learn

• What is Swift and how does it compare to Objective-C

• How to become proficient in Swift by leveraging your existing Objective-C skills

• How to take advantage of new capabilities in Swift

• What are the emerging best practices in Swift programming

Who this book is for

This book reaches out to all developers who are interested in creating state-of-the-art apps for Apple’s broadening platform of devices for both consumers and enterprise. Apple's introduction of the new Swift programming language raises many questions. This book addresses those questions directly, and prepares developers for building the next generation of apps in Swift to surprise and delight users the world over.

Table of Contents

1. Getting Started

2. Declaring Variables and Constants

3. Working with Strings and Collections

4. Performing Operations

5. Controlling Program Flow

6. Creating Functions

7. Constructing Classes, Structures, and Enumerations

8. Defining and Adopting Protocols

9. Subclassing and Extending

10. Controlling Access

11. Programming in Generics