In this chapter, you will be introduced to the concept of managing your application data to ensure that your application will perform at an optimal level during runtime. The following topics will be covered:
Resource optimization
Disk and memory caching
Serialization
Different forms of data saving
Pros and cons of various data saving methods
We will also cover some common pitfalls and assumptions that people commonly associate with the development of iOS applications. One example will be image loading, where if the developers are not careful in planning the proper architecture of their application, they will encounter situations where the application will lag or run out of memory and lead to an application crash.