问题描述
所以我从可可粉和ObjC开始.我正在尝试遵循oreilly编写的,可运行的目标C/可可书中的示例.我的applicationDidFinishLaunching似乎没有被调用.我认为我将所有事情都挂在IB中的方式是有问题的.
So I'm starting out with cocoa and ObjC. I'm trying to follow the example in the up and running objective C/cocoa book from oreilly. My applicationDidFinishLaunching doesn't seem to be getting called. I think it's a problem with the way I hooked everything up in the IB.
标题: http://pastebin.com/6AdQt1uN
类别: http://pastebin.com/VCQWJWkj
IB: http://img265.imageshack.us/img265/4616/screenshot20110216at111. png
有人能看到我未经训练的眼睛看不到的明显东西吗?
Does anyone see anything obvious that my untrained eyes do not?
推荐答案
您的Application
对象是否将其委托设置为您的Application App Delegate
对象?右键单击IB窗口中的Application
,并将delegate
插座设置为您的Application App Delegate
对象.
Does your Application
object have it's delegate set to your Application App Delegate
object? Right click on Application
in your IB window and set the delegate
outlet to be your Application App Delegate
object.
这篇关于applicationDidFinishLaunching没有运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!