June 2016
Intermediate to advanced
214 pages
5h 40m
English
Improving performance within Core Data isn’t necessarily only about the repository and order of loading the data. We can do a number of things within the user interface to help performance as well.
Searching the repository can be absolute murder on performance. Whether we’re searching at the request of the user or performing a search in the background, we need to be very careful to avoid impacting the performance of our application.
Just like any conditional, the order of the logic is important. Simple equality is faster than inclusions such as in, contains, and so on. When building the predicate, try to order the logic from left to right, simple to complex. This process allows Core Data to fail quickly and ...
Read now
Unlock full access