Core Data by Tutorials Fourth Edition: iOS 11 and Swift 4

raywenderlich.com Team, Aaron Douglas, Saul Mora, Matthew Morey, Pietro Rea

  • 出版商: Razeware LLC
  • 出版日期: 2017-11-16
  • 售價: $2,110
  • 貴賓價: 9.5$2,005
  • 語言: 英文
  • 頁數: 256
  • 裝訂: Paperback
  • ISBN: 1942878362
  • ISBN-13: 9781942878360
  • 相關分類: Apple Developer
  • 無法訂購

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

商品描述

Learn Core Data with Swift!

Take control of your data in iOS apps using Core Data, through a series of high quality hands-on tutorials.

Start with with the basics like setting up your own Core Data Stack all the way to advanced topics like syncing with iCloud, migration, performance, multithreading, and more! By the end of this book, you’ll have hands-on experience with Core Data and will be ready to use it in your own apps.

Who This Book Is For:This book is for intermediate iOS developers who already know the basics of iOS and Swift development but want to learn how to use Core Data to save data in their apps.

Topics Covered in Core Data by Tutorials:

  • Your First Core Data App: You’ll click File\New Project and write a Core Data app from scratch!
  • NSManagedObject Subclasses: Learn how to create your own subclasses of NSManagedObject - the base data storage class in Core Data.
  • The Core Data Stack: Learn how the main objects in Core Data work together, so you can move from the starter Xcode template to your own system.
  • Intermediate Fetching: This chapter covers how to fetch data with Core Data - fetch requests, predicates, sorting and asynchronous fetching.
  • NSFetchedResultsController: Learn how to make Core Data play nicely with table views using NSFetchedResultsController!
  • Versioning and Migration: In this chapter, you’ll learn how to migrate your user’s data as they upgrade through different versions of your data model.
  • Unit Tests: In this chapter, you’ll learn how to set up a test environment for Core Data and see examples of how to test your models.
  • Measuring and Boosting Performance: Learn how to measure your app’s performance with various Xcode tools and deal with slow spots in your code.
  • Multiple Managed Object Contexts: Learn how multiple managed object contexts can improve performance and make for cleaner code.

商品描述(中文翻譯)

學習使用 Swift 的 Core Data!

通過一系列高質量的實踐教程,掌握在 iOS 應用中使用 Core Data 控制數據的能力。

從基礎知識開始,例如設置自己的 Core Data 堆棧,一直到高級主題,例如與 iCloud 同步、遷移、性能、多線程等等!通過閱讀本書,您將獲得實際的 Core Data 使用經驗,並準備好在自己的應用中應用它。

適合閱讀本書的讀者:

本書適合已經掌握 iOS 和 Swift 開發基礎知識的中級 iOS 開發者,他們希望學習如何使用 Core Data 在應用中保存數據。

Core Data by Tutorials 中涵蓋的主題:

- 第一個 Core Data 應用:您將點擊「文件」>「新建項目」,並從頭開始編寫一個 Core Data 應用!

- NSManagedObject 子類:學習如何創建自己的 NSManagedObject 子類 - Core Data 中的基礎數據存儲類。

- Core Data 堆棧:學習 Core Data 中的主要對象如何協同工作,以便您可以從起始的 Xcode 模板過渡到自己的系統。

- 中級數據擷取:本章介紹如何使用 Core Data 擷取數據 - 擷取請求、謂詞、排序和異步擷取。

- NSFetchedResultsController:學習如何使用 NSFetchedResultsController 讓 Core Data 與表視圖協同工作!

- 版本控制和遷移:在本章中,您將學習如何在不同版本的數據模型升級時遷移用戶的數據。

- 單元測試:在本章中,您將學習如何為 Core Data 設置測試環境,並看到如何測試您的模型的示例。

- 測量和提升性能:學習如何使用各種 Xcode 工具測量應用的性能,並處理代碼中的慢點。

- 多個托管對象上下文:學習如何使用多個托管對象上下文來提升性能並編寫更整潔的代碼。