内容提要:
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 the basics like setting up your own Core Data Stack all the way to advanced topics like 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.
ISBN:1942878613
年份:2018
总页数:280
语言:English
文件大小:40.6 MB
文件格式:PDF, ePub
下载:关注本站公众号(右侧二维码),在 个性化-联系客服 中输入本文链接可获取文件下载链接。