iOS 11 Swift Programming Cookbook: Solutions and Examples for iOS Apps

Vandad Nahavandipoor

  • 出版商: O'Reilly
  • 出版日期: 2018-01-23
  • 售價: $2,380
  • 貴賓價: 9.5$2,261
  • 語言: 英文
  • 頁數: 648
  • 裝訂: Paperback
  • ISBN: 1491992476
  • ISBN-13: 9781491992470
  • 相關分類: Apple Developer
  • 海外代購書籍(需單獨結帳)

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

商品描述

Swift 4 and Xcode 9, alongside iOS 11, bring a lot of new APIs for iOS developers to work with. In the iOS 11 Swift Programming Cookbook, you will see all that is new and exciting in iOS 11, plus new ways of using Swift 4 and Xcode 9 to make your day-to-day development life easier. You will learn about Travis, Xcode server, and fastlane as Continuous Delivery and Continuous Integration systems. We then expand upon CI and CD by learning about snapshot testing and how you can create user interfaces that match your business and UI specifications to the last detail, and ensuring that you find and correct issues in our UI by catching the issues early on through automatic snapshot tests that can run on Travis or Xcode server.

You will also learn about all the cool new features in Swift 4, such as built-in JSON parsing and typed array extensions. Apple made quite a lot of improvements to UIKit as well this year during WWDC, such as new ways of scaling fonts and the ability for iOS apps to support drag and drop between applications as well as inside a single app container. You will learn all about that in this edition of iOS 11 Swift Programming Cookbook.

Document-based applications are a big part of this year’s WWDC, so there is no wonder that we have dedicated a whole chapter to the new document browser. We show how to utilize it to create great document based apps that not only allow opening existing documents, but also creating new documents of either existing types or a whole new data type that only your application is able to handle, such as a custom image type.

Some of the important subjects that this book covers include:

  • Travis, Xcode server and fastlane
  • Swift 4 and Xcode 9’s new features
  • Snapshot testing and test automation
  • Creating document based applications
  • Map view and Core Location and their new features
  • UI Testing with Apple’s own UI Testing suite
  • Security and Password Autofill in iOS 11
  • Core Data, all you need to know about data storage
  • UI Dynamics and creating lively user interfaces
  • iMessage applications and creating sticker packages
  • Siri Kit and integrating Siri into your apps
  • Apple Watch, and creating fascinating apps for it
  • Contacts, and manipulating the contacts database

商品描述(中文翻譯)

Swift 4 和 Xcode 9 與 iOS 11 一同推出了許多新的 API,供 iOS 開發人員使用。在《iOS 11 Swift 程式設計食譜》中,您將看到 iOS 11 中所有新的和令人興奮的功能,以及使用 Swift 4 和 Xcode 9 使您的日常開發更輕鬆的新方法。您將學習有關 Travis、Xcode 伺服器和 fastlane 作為持續交付和持續整合系統的知識。然後,我們通過學習快照測試來擴展 CI 和 CD,以及如何創建符合業務和 UI 規格的用戶界面,以及通過在 Travis 或 Xcode 伺服器上運行的自動快照測試及早發現和修正 UI 問題。

您還將了解 Swift 4 中的所有新功能,例如內建的 JSON 解析和類型化陣列擴展。蘋果在今年的 WWDC 中也對 UIKit 進行了許多改進,例如新的字體縮放方式以及 iOS 應用程式支援應用程式之間和單個應用程式容器內的拖放功能。您將在這本《iOS 11 Swift 程式設計食譜》中學到所有這些。

基於文件的應用程式是今年 WWDC 的重要部分,因此我們專門為新的文件瀏覽器撰寫了一整章。我們展示了如何利用它來創建出色的基於文件的應用程式,不僅允許打開現有文件,還可以創建新的文件,無論是現有類型還是只有您的應用程式能夠處理的全新資料類型,例如自定義圖像類型。

本書涵蓋的一些重要主題包括:
- Travis、Xcode 伺服器和 fastlane
- Swift 4 和 Xcode 9 的新功能
- 快照測試和測試自動化
- 創建基於文件的應用程式
- 地圖視圖和核心定位及其新功能
- 使用蘋果自家的 UI 測試套件進行 UI 測試
- iOS 11 中的安全性和密碼自動填充
- Core Data,關於資料儲存的一切
- UI 動力學和創建生動的用戶界面
- iMessage 應用程式和創建貼圖套件
- Siri Kit 和將 Siri 整合到您的應用程式中
- Apple Watch,以及為其創建迷人的應用程式
- 聯絡人,以及操作聯絡人資料庫