fuzzygoat fuzzygoat -3 years ago 106
Objective-C Question

How do I access Objective C objects without using dot notation?

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) {
}

Answer Source

yes, it's the same.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download