Pro iOS Apps Performance Optimization

Book description

Today's iPhone and iPad apps developers are often running into the need to refine, improve and optimize their apps performances. As more complex apps can be created, it is even more important for developers to deal with this critical issue.

Pro iOS Apps Performance Tuning and Optimization covers many common but difficult problems when tuning and optimizing performance for iPhone and iPad apps and how to resolve these problems efficiently. This book gives you the following:

  • Basic knowledge on common problems in iPhone apps

  • Advanced knowledge over data structure, algorithms, multithreading, and network data in iPhone apps

  • Comparison with problems and solutions for Android and Windows Phone apps

After reading this must-have book, you'll be ready to make the most of the processing power of the iPhone with your apps performance optimization know-how.

"The ebook version does not provide access to the companion files."

Table of contents

  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Preface
  9. Chapter 1: Introduction to iOS Performance Optimization
    1. A New Era of Smartphone
    2. Why Performance Matters
    3. Who Should Use This Book?
    4. My Teaching Style
    5. What Do You Need?
    6. How to Use This Book
    7. An Overview of the Book
    8. Source Code
    9. Contact the Author
  10. Chapter 2: Benchmark Your Apps with Tools: Simulators and Real Device Test
    1. Simulator and Device
    2. Memory and Performance
    3. Tools
    4. Summary
  11. Chapter 3: Increase and Optimize UITableView Performance
    1. Introduction to the Examples
    2. Other Techniques
    3. Performance for Editing/Reordering
    4. Summary
  12. Chapter 4: Increase App Performance Using Image and Data Caching Techniques
    1. Differences in Performance Between Network, File, and Memory Processing
    2. Introduction to Caching
    3. What You Should Cache
    4. Summary
  13. Chapter 5: Tune Your App Using Algorithms and Data Structures
    1. First Example
    2. Theoretical Issues of Measuring Algorithmic Performance
    3. Practical Measurement
    4. Data Structure and Algorithms
    5. Other Algorithms and Problem-Solving Approaches
    6. Summary
  14. Chapter 6: Improve Parallel Data Access using Multithreading Techniques
    1. What Are Threads and Multithreading?
    2. Threading Terminology
    3. First Example
    4. Benefits of Multithreading
    5. How to Write Multithreaded Applications
    6. Thread Instrument for iPhone
    7. Summary
  15. Chapter 7: Optimize Memory Usage for Better Performance
    1. A Little Review
    2. Automatic Reference Counting
    3. Advanced Memory Issues
    4. UIViewController
    5. Object Copy
    6. Advanced Autorelease Pool
    7. Instruments
    8. Summary
  16. Chapter 8: Integrate Multithreading and Efficient Memory Usage for Multitasking Apps Performance
    1. What is Multitasking in iPhone?
    2. Background Services
    3. Dealing with iOS Versions
    4. Summary
  17. Chapter 9: Improve Performance with Native C/C++
    1. Benefits and Costs
    2. Basic C and C++ programming
    3. A Practical Example
    4. Summary
  18. Chapter 10: Comparing Android and Windows Phone Performance Problems
    1. Benchmarking on Emulator and Devices
    2. Data Caching
    3. Data Structure and Algorithms
    4. Multithreading
    5. Memory Management
    6. Multitasking
    7. Support of C/C++ Programming
    8. Summary
  19. Index

Product information

  • Title: Pro iOS Apps Performance Optimization
  • Author(s):
  • Release date: November 2011
  • Publisher(s): Apress
  • ISBN: 9781430237174