© Khaled El-Morabea and Hassaan El-Garem 2021
K. El-Morabea, H. El-GaremModularizing Legacy Projects Using TDDhttps://doi.org/10.1007/978-1-4842-7428-6_10

10. Taming Core Data

Khaled El-Morabea1   and Hassaan El-Garem2
(1)
Giza, Egypt
(2)
Cairo, Egypt
 
Core Data is one of the most famous frameworks known to iOS developers. Core Data has been available since the release of iOS 3, and it has evolved a lot since then. A common misconception is that Core Data is a database or a database wrapper. Though persisting data is one of its features, Core Data is much more than that. The essence of Core Data is that it manages our application’s object graph. An object graph is basically a collection of objects connected with relationships (Figure 10-1). Core Data ...

Get Modularizing Legacy Projects Using TDD: Test-Driven Development with XCTest for iOS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.