O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 15. Optimizing Performance

In this chapter, we will cover the following topics:

  • Memory management with ARC
  • Measuring performance
  • Measuring energy impact
  • On-demand resources

Introduction

Taking care of the app performance is one of the most important topics in iOS. All of us have faced apps that run smoothly without lagging or heating up your device. On the other hand, we have faced apps that lag a lot and cause memory pressure and overhead on the system. To build a successful app, you should take care of its performance and memory usage. Ensure that there isn't any memory pressure or memory leaks. The iOS system is smart enough to monitor the memory of all apps and kill any app that tries to cause memory pressure on the device. The system sends ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required