Application Development with Swift

Hossam Ghareeb

  • 出版商: Packt Publishing
  • 出版日期: 2015-08-31
  • 售價: $1,640
  • 貴賓價: 9.5$1,558
  • 語言: 英文
  • 頁數: 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開發經驗且希望使用Swift開發應用程式的iOS開發者,那麼本書非常適合您。對Swift基礎的熟悉是一個優勢,但不是必需的。

您將學到什麼
- 使用Xcode中的playgrounds使Swift程式碼的編寫更具生產力和簡單性
- 熟悉Swift的高級功能,並充分利用它們在您的程式碼中
- 使用Touch ID為您的應用程式添加新的身份驗證方法
- 使用HealthKit開發與健康相關的應用程式
- 使用Metal將您的應用程式提升到更高的性能和功能水平
- 使用WatchKit開發可穿戴設備的應用程式
- 使用通知中心輕鬆訪問所有通知
- 使用Apple內建的Quick Type鍵盤,使用者設備更具時尚感,而不是使用原生鍵盤

詳細內容
多年來,我們一直使用Objective-C開發iOS/Mac OS應用程式,現在蘋果提供了一種新的、創新的、易於使用的程式語言Swift。Swift通過提供速度、安全性和強大的應用程式開發過程,使iOS應用程式開發變得輕鬆。Swift易於學習,具有開源、調試、互動式playgrounds、錯誤處理模型等出色功能。Swift通過自動引用計數(ARC)簡化了內存管理,並且與Objective-C兼容。

本書旨在為您提供使用新的程式語言Swift所需的信息和技能。本書首先介紹Swift和程式碼結構,然後使用playgrounds讓您迅速熟悉該語言。接著,本書將帶您深入了解Swift提供的高級功能,以及如何與舊的Objective-C程式碼或專案一起使用它們。每章還將介紹如何在真實專案中使用Swift,包括HealthKit、Metal、WatchKit和Touch ID等API。本書易於理解的結構確保您能夠最好地開始使用Swift開發應用程式。

風格和方法
本書將內容分為兩個部分,以實現其目標。第一部分將引導對Swift新手了解其架構和基礎知識。第二部分將涵蓋使用Swift進行應用程式開發的內容。