Changes

Jump to: navigation, search

Objective-C Operators and Expressions

23 bytes removed, 19:58, 31 March 2011
m
Compound Assignment Operators
== Compound Assignment Operators ==
<google>IOSBOX</google>
In an earlier section we looked at the basic assignment operator (=). Objective-C provides a number of operators designed to combine an assignment with a mathematical or logical operation. These are primarily of use when performing an evaluation where the result is to be stored in one of the operands. For example, one might write an expression as follows:

Navigation menu