I have a question about a certain type of method syntax.
For example I know what this does ..
NSString *theString = [[NSString alloc]init...blablabla];
The alloc is performed on the class (NSString in this case) and the init is performed on the instance of the class..
If we have
[variable method];
I know how that functions too.. the method is performed on "variable"
if I have
variable = [instance method];
the "method" method is performed on instance and stored in variable..
But where I get lost is at something that looks like this ..
[[CCDirector sharedDirector]something:parameter];
I'm not sure what action is being performed where..