【问题标题】:Xcode 8.3 can't connect Action which is defined in AppDelegateXcode 8.3 无法连接 AppDelegate 中定义的 Action
【发布时间】:2017-07-06 06:07:21
【问题描述】:

一步一步跟着Ry的可可书,但一切都没有本书中的演示那么好。

我使用的是最新的 Xcode8.3,而一个名为 storyboard 的东西真的让我很困惑,不存在 xnib 文件...

我该怎么办

【问题讨论】:

标签: objective-c xcode cocoa


【解决方案1】:

为动作指定类名。

- (IBAction)sayHello: (NSButton *)sender {

}

【讨论】:

    猜你喜欢
    • 2017-08-25
    • 2016-10-22
    • 2014-07-08
    • 1970-01-01
    • 2015-10-19
    • 1970-01-01
    • 2018-03-10
    • 2017-12-09
    • 1970-01-01
    相关资源
    最近更新 更多