Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将 a 拖到UITableViewControllerXIB
UITableViewController
如果我点击UITableViewController我看到它有一个视图属性。
但是,如果我点击UITableView那里,我看到它没有参考出口
UITableView
如果您右键单击 ,UITableViewController您会看到有一个名为 的插座view。您不需要单独引用UITableViewController. tableView 知道它是 的一部分UITableViewController,你不需要它的出口。UITableViewController不一样UITableView,行为也不同。根据我的经验,我发现它UITableViewController的限制性更强,没有任何真正的好处,而不是常规UIViewController和UITableView其中。
view
UIViewController