views:

174

answers:

1

Hey Everyone,

I have this code:

[hudWindow orderFront:nil];

And when I debug it and run the command does not seem to work. hudWindow is a NSPanel. Please help me solve this problem.

Thanks Kevin

A: 

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.

Peter Hosey