tags:

views:

32

answers:

1

Writing the code below without dot notation, do I have this right?

FROM:

if(self.yellowViewController.view.superview == nil) {
}

TO:

if([[[self yellowViewController] view] superview] == nil) {
}

gary

+2  A: 

yes, it's the same.

Johannes Rudolph
thank you, much appreciated.
fuzzygoat