Changes

Jump to: navigation, search

Objective-C Operators and Expressions

No change in size, 15:17, 7 October 2009
The Ternary Operator
</pre>
The above code example will evaluate whether x is greater than y. Clearly this will evaluate to false resulting in y being returned to the NSLOG NSLog call for display to the user:
<pre>

Navigation menu