0

Possible Duplicate:
Dot (“.”) operator and arrow (“->”) operator use in C vs. Objective-C

How different is the use of -> in Objective C compared to C.

Community
  • 1
  • 1
Raj
  • 103
  • 11
  • 1
    [Your answer](http://stackoverflow.com/questions/9072688/dot-operator-and-arrow-operator-use-in-c-vs-objective-c?answertab=oldest#tab-top) – Grijesh Chauhan Dec 17 '12 at 06:31

1 Answers1

1

It has an additional meaning, although the actual implementation of that meaning is not different from the C use case. In Objective-C, not only members of struct pointers can be accessed usig this operator, but instance variables too. However, since the Objective-C runtime is implemented in C, objects are just struct pointers, and ivar manipulation is just structure field manipulation.