Changes

Jump to: navigation, search

Objective-C 2.0 Operator Precedence

1 byte added, 17:39, 9 October 2009
Objective-C Operator Precedence and Associativity
== Objective-C Operator Precedence and Associativity ==
When addressing the issue of operator precedence in some scripting and programming languages, all that is generally required is a table listing the operators in order of precedence from highest to lowest. Objective-C has more in common with languages such as Java and C# in that operators are grouped together at different precedence levels. When operators from the same precedence level are found within the context of a single expression, a rule as to the order in which the operators are to be evaluated is followed. This rule is referred to as the ''associativity'' and differs from on one group to the next. The following table outlines the operator precedence groups and corresponding associativity for Objective-C:
<table cellspacing="1" cellpadding="5" border="0">

Navigation menu