Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · 15 Results

Contained in: Core Data by Tutorials core data
iOS & Swift

Chapter in Core Data by Tutorials

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…
iOS & Swift

Chapter in Core Data by Tutorials

Your First Core Data App

…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…
iOS & Swift

Chapter in Core Data by Tutorials

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…
iOS & Swift

Chapter in Core Data by Tutorials

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
iOS & Swift

Chapter in Core Data by Tutorials

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…
iOS & Swift

Chapter in Core Data by Tutorials

NSPersistentCloudKit Container

This chapter shows you how to use the new NSPersistentCloudKitContainer to make your Core Data app sync across all the user's devices…
iOS & Swift

Chapter in Core Data by Tutorials

Measuring & Boosting Performance

…poor performance will, at best, receive bad reviews and, at worst, become unresponsive and crash. This is no less true of apps that use Core Data. Luckily, most implementations of Core Data are fast and light already, due to Core Data’s built-in optimizations, such as faulting. However…
iOS & Swift
Core Data by Tutorials
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…
iOS & Swift

Chapter in Core Data by Tutorials

Introduction

What is Core Data? You’ll hear a variety of answers to this question: It’s a database! It’s SQLite! It’s not a database! And so forth. Here’s the technical answer: Core Data is an object graph management and persistence framework in the macOS and iOS SDKs…
iOS & Swift

Chapter in Core Data by Tutorials

NSFetchedResults Controller

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
iOS & Swift

Chapter in Core Data by Tutorials

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…
iOS & Swift

Chapter in Core Data by Tutorials

Multiple Managed Object Contexts

…this 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…
iOS & Swift

Chapter in Core Data by Tutorials

Conclusion

…hope this book has helped you get up to speed with Core Data and Swift! You’re well on your way to developing your own high-performance apps with well-designed models and unit tests. As you’ve seen, you can use Core Data to model all kinds of data
iOS & Swift

Chapter in Core Data by Tutorials

About the Cover

Core Data by Tutorials Cover The North Pacific giant octopus is normally red in color but can quickly assume the color of its surroundings to blend in and hide from predators. Since it has no internal or external skeleton, it can squeeze into extremely small crevices. Core Data
iOS & Swift

Chapter in Core Data by Tutorials

Acknowledgements

Core Data by Tutorials team would also like to thank Saul Morrow for his work as one of the original authors of this book…