Core Data by: Tutorials: Persisting iOS App Data with Core Data in Swift,7th Edition



Book Description
By finelybook

Core Data by: Tutorials: Persisting iOS App Data with Core Data in Swift,7th Edition
by: Aaron Douglas
Released: 2020

Print Length 页数: 295
Language 语言: English
Print Length 页数: PDF/EPUB/CODE
Size: 114 Mb


Book Description
By finelybook

In this book,you’ll master Core Data in iOS using Swift. Comprehensive coverage of Core Data,from beginner to advanced topics. Covers setting up a Core Data Stack,data modeling,versioning and migration,unit testing,improving performance,and much more.
Learn Core Data with Swift!
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.
Start with with the basics like setting up your own Core Data Stack all the way to advanced topics like migration,performance,multithreading,and more!
Your First Core Data App
You’ll click File\New Project and write a Core Data app from scratch! This chapter covers the basics of setting up your data model and then adding and fetching records.
NSManagedObject Subclasses
NSManagedObject is the base data storage class of your Core Data object graphs. This chapter will teach you how you customize your own managed object subclasses to store and validate data.
The Core Data Stack
Under the hood,Core Data is made up of many parts working together. In this chapter,you’ll learn about how these parts fit together,and move away from the starter Xcode template to build your own customizable system.
Intermediate Fetching
Your apps will fetch data all the time,and Core Data offers many options for getting the data to you efficiently. This chapter covers more advanced fetch requests,predicates,sorting and asynchronous fetching.
NSFetchedResultsController
Table views are at the core of many iOS apps,and Apple wants to make Core Data play nicely with them! In this chapter,you’ll learn how NSFetchedResultsController can save you time and code when your table views are backed by: data from Core Data.
Versioning & Migration
As you update and enhance your app,its data model will almost certainly need to change. In this chapter,you’ll learn how to create multiple versions of your data model and then migrate your users forward so they can keep their existing data as they upgrade.
Unit Testing
Testing is an important part of the development process,and you shouldn’t leave Core Data out of those tests! In this chapter,you’ll learn how to set up a separate test environment for Core Data and see examples of how to test your models.
Measuring & Boosting Performance
No one ever complained that an app was too fast,so it’s important to be vigilant about tracking performance. In this chapter,you’ll learn how to measure your app’s performance with various Xcode tools and then pick up some tips for dealing with slow spots in your code.
Multiple Managed Object Contexts
In this final chapter,you’ll expand the usual Core Data stack to include multiple managed object contexts. You’ll learn how this can improve perceived performance and help make your app architecture less monolithic and more compartmentalized.
Core Data & CloudKit – New
This chapter shows you how to use the new NSPersistentCloudKitContainer to make your Core Data app sync across all the user’s devices!
Core Data by Tutorials 7th Edition.rar

相关文件下载地址

打赏
未经允许不得转载:finelybook » Core Data by: Tutorials: Persisting iOS App Data with Core Data in Swift,7th Edition

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫