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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.