开发者

OrderFront - NSPanel

I have this code:

[hudWindow orderFront:nil];

hudWindow is a NSPanel.

开发者_StackOverflow

When I debug it and run, the command does not seem to work. I don't get any error messages in the console, and the HUD Window doesn't appear when I call it.


Make sure you hooked up the hudWindow outlet in IB. If you didn't, the outlet variable contains nil, so you're sending a message to nil, which does nothing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜