【问题标题】:xcode 5 connect xib with ViewController classxcode 5 将 xib 与 ViewController 类连接
【发布时间】:2013-10-18 06:37:11
【问题描述】:

我开始使用 Xcode 5。 我刚刚创建了一个没有 xib 文件的 viecController。 现在我创建了一个 xib 文件来连接我之前创建的 ViewController,但我不能这样做。我需要做什么才能将 xib 与 ViewController 文件连接起来?谢谢

【问题讨论】:

    标签: uiviewcontroller xib xcode5


    【解决方案1】:

    您需要继续您的 xib 并将 File's Owner 中的属性 view 链接到您的视图,如下图所示:

    【讨论】:

      猜你喜欢
      • 2023-03-21
      • 2012-03-28
      • 2013-03-12
      • 2013-03-02
      • 1970-01-01
      • 2017-05-19
      • 2015-10-01
      • 2011-09-28
      • 1970-01-01
      相关资源
      最近更新 更多