Transitioning to Swift (Paperback)

Scott Gardner

  • 出版商: Apress
  • 出版日期: 2014-12-15
  • 售價: $1,240
  • 貴賓價: 9.5$1,178
  • 語言: 英文
  • 頁數: 240
  • 裝訂: Paperback
  • ISBN: 1484204077
  • ISBN-13: 9781484204078
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

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

商品描述(中文翻譯)

開發蘋果不斷擴大的設備平台的應用程式是當今令人興奮的話題。蘋果創造了Swift程式語言,以使用最新的蘋果技術來建立最先進的應用程式。

在這本200頁的書中,作者Scott Gardner闡述了傳統的基於Objective-C的程式設計和Swift之間的相似性和差異,揭示了從語法變化到新興最佳實踐和範式轉變所需的知識,以在Swift中編寫強大、表達力強和靈活的程式碼。

以輕快的節奏和有條理的風格撰寫,您將學習如何將您的Objective-C技能應用於成功過渡到Swift程式設計。

您將學到什麼:
• 什麼是Swift,它與Objective-C相比如何
• 如何通過利用您現有的Objective-C技能來熟練使用Swift
• 如何利用Swift的新功能
• Swift程式設計中的新興最佳實踐是什麼

這本書適合對於為蘋果不斷擴大的設備平台為消費者和企業創建最先進的應用程式感興趣的所有開發人員。蘋果引入新的Swift程式語言引起了許多問題。這本書直接回答了這些問題,並為開發人員準備在Swift中建立下一代應用程式,以驚喜和滿足全球用戶。

目錄:
1. 入門
2. 宣告變數和常數
3. 使用字串和集合
4. 執行操作
5. 控制程式流程
6. 創建函數
7. 構建類別、結構和列舉
8. 定義和採用協議
9. 繼承和擴展
10. 控制訪問權限
11. 泛型程式設計