阅读背景:

视图控制器层次结构中IBOutlet子视图控制器的引用类型(弱或强)?

来源:互联网 

Sorry if this is a dumb question; I think I already know the answer for this but would like to confirm. For a while it's been Apple-approved to embed viewcontrollers within viewcontrollers (i.e. a viewcontroller hierarchy). Typically, with IBOutlet connections to objects within a viewcontroller I would use weak references since the container view would presumably own these items. Is this different for embedded viewcontrollers? Sorry if this is a dumb question; I think I alr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: