Changes

Jump to: navigation, search

Using Objective-C Preprocessor Directives

13 bytes added, 20:35, 12 November 2009
Changing the Objective-C Language with #define
</pre>
Now suppose that you, rather like the programmer whose code I inherited, dislike the curly braces ({}) used to encapsulate code blocks on Objective-C. You could, if you wish were so inclined, declare the words ''Begin'' and ''End'' to represent the open and close braces as follows:
<tt>#define Begin {</tt><br>

Navigation menu