zoukankan      html  css  js  c++  java
  • Outlets 和Referencing Outlets的区别

    转自:http://blog.sina.com.cn/s/blog_4431c7610100sypy.html

    我的理解就是连接与被连接的关系吧

    Outlets里面显示的是你的属性, 以及连接着的目标.
    Referencing Outlets是你被连接到了别人的属性上面.

    比如UITableViewController的view属性连到UITableView上面, 在UITableViewController看来UITableView是它的Outlets, 反之则是Referencing Outlets.

    同时UITableView的delegate属性又连到UITableViewController上面. 则此时在UITableView看来UITableViewController就成了它的Outlets了.



    Outlets <wbr>和Referencing <wbr>Outlets的区别 
     

  • 相关阅读:
    Spring----Day03
    Spring----Day02
    python
    python
    python
    python
    python
    python
    python
    python
  • 原文地址:https://www.cnblogs.com/wangpei/p/3537591.html
Copyright © 2011-2022 走看看