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?


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


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