开发者

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

Writing the cod开发者_Go百科e below without dot notation, do I have this right?

from:

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

to:

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


yes, it's the same.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜