Chapter 9

Improve Performance with Native C/C++

In this chapter, you will learn about:

  • The benefits and costs to integrating C/C++ code into your iPhone application.
  • Basic concepts in C programming
    • Data types
    • Pointer
    • Memory management
  • Basic concepts in C++ programming
    • Class
    • Memory management
    • Inheritance
    • Template
  • How to work through a real example with SQLite, a database that has a C API.
  • How to integrate C++ and Objective-C++ into your iPhone application.

In this chapter, you will learn about low-level programming with C/C++, which is important for high performance applications. It's true that Objective-C is a superset of C and also a native programming language, but Objective-C adds a wrapper over the C language that reduces performance. ...

Get Pro iOS Apps Performance Optimization 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.