开发者

How can i access instance variables in a higher up view?

I have a UIView class, classA, initiated inside of viewA, but viewA has other objects i want to access from c开发者_如何学GolassA. How do i do this?


You can access viewA from classA using the superview property of UIView.

viewA == [classA superview]
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜