Referencing Outlet vs. Outlet
http://www.iphonedevsdk.com/forum/iphone-sdk-development/11838-referencing-outlet-vs-outlet.html
An outlet is an IBOutlet. I'll assume you know what that is.
The term referencing outlet means an outlet in another object that
references, or points to, the current object.
As an example, say you have a nib that has a File's Owner and a
UITableView in it, among other things. In order for a tableview to work
it has a datasource and delegate, which are outlets and can be
connected in IB. From the standpoint of the tableview the datasource
and delegate are outlets. From the standpoint of the File's Owner the
datasource and delegate in the tableview are referencing outlets.
本文探讨了在iOS开发中,如何区分和使用Referencing Outlet与Outlet的概念,通过实例展示了两者之间的联系与区别,有助于开发者更高效地利用Interface Builder进行界面设计与逻辑连接。
238

被折叠的 条评论
为什么被折叠?



