开发者

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

开发者 https://www.devze.com 2022-12-19 06:23 出处:网络
Writing the cod开发者_Go百科e below without dot notation, do I have this right? from: if(self.yellowViewController.view.superview == nil) {

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

精彩评论

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

关注公众号