Chapter 26. Runtime

The runtime environment of an Objective-C application has some traits that you should be aware of. These include the information about the Mac OS X process that comprises your running application, its environment variables, the connections with its parent process, and so on. Some are inherited from the operating system, while others are features of Objective-C and the Cocoa framework. Many have already been described in other chapters. We will briefly review them here along with other important aspects of the runtime environment.

Process

In Mac OS X, every Objective-C program executes as a process. Technically, Java bytecode executes in an abstract virtual machine; but most virtual machines run in a process and embody almost ...

Get Learn Objective-C for Java Developers 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.