Advertisement

Mixing C and Objective-C

Abstract

One of the great strengths of Objective-C is that it allows seamless integration with C functions and variables. This gives you direct access to the vast wealth of existing CAPIs. This chapter discusses the basic ways to mix C and Objective-C code in the same application, and covers Core Foundation, a C library that includes data structures that are interchangeable with Objective-C objects. Mixing languages creates some interesting memory management issues, which are explained toward the end of the chapter.

Keywords

Object Pointer Garbage Collection Memory Management Source File Seamless Integration 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© James Bucanek 2009

Personalised recommendations