Possible Duplicate:
Should I always use accessors for instance variables in Objective-C?
Lets suppose my .h
file contains
Node *firstNode
Inside the .m
file
What is the difference between
[firstNode doSomething];
and
[[self firstNode] doSomething];