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.
KeywordsObject Pointer Garbage Collection Memory Management Source File Seamless Integration
Unable to display preview. Download preview PDF.