Changes

Jump to: navigation, search
Objective-C and Dot Notation
== Objective-C and Dot Notation ==
Those familiar with Object object oriented programming in Java, C++ or C# are probably reeling a little from the syntax used in Objective-C. They are probably thinking life was much easier when they could just use something called ''dot notation'' to set and get the values of instance variables. The good news is that one of the features introduction into version 2.0 of Objective-C is support for dot notation.
Dot notation involves accessing an instance variable by specifying a class instance followed by a dot followed in turn by the name of the instance variable or property to be accessed:

Navigation menu