Changes

Using Objective-C Preprocessor Directives

2 bytes added, 19:34, 23 April 2012
no edit summary
or at the command-line when compiling the program:
<tt>gcc clang -framework Foundation -D DEBUG myapp.m -o myapp</tt>
Alternatively, the definition can be defined in Xcode by selecting the ''Project -> Edit Project Settings'' menu option. Within the settings dialog, select the ''Build'' option and change the ''Show'' menu to ''User Defined Settings''. This will display any currently defined user settings. Click on the gear button in the bottom left hand corner of the window and select ''Add User Defined Setting''.