Application Development with Swift
暫譯: 使用 Swift 進行應用程式開發

Hossam Ghareeb

  • 出版商: Packt Publishing
  • 出版日期: 2015-08-31
  • 售價: $1,660
  • 貴賓價: 9.5$1,577
  • 語言: 英文
  • 頁數: 122
  • 裝訂: Paperback
  • ISBN: 1785288172
  • ISBN-13: 9781785288173
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

Develop highly efficient and appealing iOS applications by using the Swift language

About This Book

  • Develop a series of applications with Swift using the development kits and new/updated APIs
  • Use the new features of iOS 8 to add new flavor to your applications
  • A hands-on guide with detailed code snippets to aid you in developing powerful Swift applications

Who This Book Is For

If you are an iOS developer with experience in Objective-C, and wish to develop applications with Swift, then this book is ideal for you. Familiarity with the fundamentals of Swift is an added advantage but not a necessity.

What You Will Learn

  • Use playgrounds in Xcode to make the writing of Swift code productive and easy
  • Get acquainted with the advanced features of Swift and make complete use of them in your code
  • Add a new method for authentication to your app using Touch ID
  • Develop health-related apps using HealthKit
  • Take your apps to the next level of performance and capability using Metal
  • Develop applications for wearables using WatchKit
  • Use Notification Center to easily access all your notifications
  • Make your users devices more stylish by using Apple's built-in Quick Type keyboard, instead of the native one

In Detail

After years of using Objective-C for developing apps for iOS/Mac OS, Apple now offers a new, creative, easy, and innovative programming language for application development, called Swift. Swift makes iOS application development a breeze by offering speed, security and power to your application development process. Swift is easy to learn and has awesome features such as being open source, debugging,interactive playgrounds, error handling model, and so on. Swift has simplified its memory management with Automatic Reference Counting (ARC) and it is compatible with Objective-C.

This book has been created to provide you with the information and skills you need to use the new programming language Swift. The book starts with an introduction to Swift and code structure. Following this, you will use playgrounds to become familiar with the language in no time. Then the book takes you through the advanced features offered by Swift and how to use them with your old Objective-C code or projects. You will then learn to use Swift in real projects by covering APIs such as HealthKit, Metal, WatchKit, and Touch ID in each chapter. The book's easy to follow structure ensures you get the best start to developing applications with Swift.

Style and approach

The book achieves its end goal by dividing its content into two parts. Part 1 will take the readers, who are new to Swift, through its architecture and basics. Part 2 of the book will cover content on application development with Swift.

商品描述(中文翻譯)

使用 Swift 語言開發高效且吸引人的 iOS 應用程式

本書介紹



  • 使用開發工具包和新/更新的 API 開發一系列 Swift 應用程式

  • 利用 iOS 8 的新功能為您的應用程式增添新風味

  • 提供詳細的程式碼片段的實用指南,幫助您開發強大的 Swift 應用程式

本書適合誰閱讀


如果您是一位有 Objective-C 經驗的 iOS 開發者,並希望使用 Swift 開發應用程式,那麼這本書非常適合您。熟悉 Swift 的基本概念將是額外的優勢,但並非必要。

您將學到什麼



  • 在 Xcode 中使用 playgrounds,使 Swift 程式碼的編寫變得高效且簡單

  • 熟悉 Swift 的進階功能,並在您的程式碼中充分利用它們

  • 使用 Touch ID 為您的應用程式新增身份驗證方法

  • 使用 HealthKit 開發健康相關的應用程式

  • 利用 Metal 將您的應用程式提升到更高的性能和能力

  • 使用 WatchKit 開發可穿戴設備的應用程式

  • 使用通知中心輕鬆訪問所有通知

  • 使用 Apple 內建的 Quick Type 鍵盤,讓您的用戶設備更具風格,而非使用原生鍵盤

詳細內容


在多年使用 Objective-C 開發 iOS/Mac OS 應用程式後,Apple 現在提供了一種新的、創新的、簡單的和具創意的程式語言,稱為 Swift。Swift 使 iOS 應用程式開發變得輕而易舉,為您的應用程式開發過程提供速度、安全性和強大功能。Swift 容易學習,並擁有開源、除錯、互動式 playgrounds、錯誤處理模型等出色功能。Swift 簡化了其記憶體管理,採用自動引用計數(ARC),並與 Objective-C 兼容。


本書旨在提供您使用新程式語言 Swift 所需的信息和技能。本書從 Swift 的介紹和程式碼結構開始。接下來,您將使用 playgrounds 快速熟悉這種語言。然後,本書將帶您了解 Swift 提供的進階功能,以及如何將它們與您舊的 Objective-C 程式碼或專案結合使用。接下來,您將學習如何在實際專案中使用 Swift,涵蓋每一章中的 API,如 HealthKit、Metal、WatchKit 和 Touch ID。本書易於跟隨的結構確保您能夠順利開始使用 Swift 開發應用程式。

風格與方法


本書通過將內容分為兩部分來實現其最終目標。第一部分將帶領對 Swift 新手的讀者了解其架構和基本概念。第二部分將涵蓋使用 Swift 進行應用程式開發的內容。