Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

CEBison

macrumors newbie
Original poster
Jan 31, 2013
5
0
I am writing a simple little program to learn the basic ins and outs of XCode and Cocoa. Right now, I'm trying to have pop-up sheets (like the open/save file dialogs), I'm calling:
Code:
[NSApp beginSheet: Panel modalForWindow: MainWindow modalDelegate:self didEndSelector:NULL contextInfo:nil];
and all that happens is that the panel does is pop up in the predetermined location.
The settings for Panel is attached.

I hope this is enough information.
 

Attachments

  • Screen Shot 2013-02-15 at 1.24.34 PM.png
    Screen Shot 2013-02-15 at 1.24.34 PM.png
    129.1 KB · Views: 158
  • Screen Shot 2013-02-15 at 1.24.49 PM.png
    Screen Shot 2013-02-15 at 1.24.49 PM.png
    128.1 KB · Views: 168
I am writing a simple little program to learn the basic ins and outs of XCode and Cocoa. Right now, I'm trying to have pop-up sheets (like the open/save file dialogs), I'm calling:
Code:
[NSApp beginSheet: Panel modalForWindow: MainWindow modalDelegate:self didEndSelector:NULL contextInfo:nil];
and all that happens is that the panel does is pop up in the predetermined location.
The settings for Panel is attached.

I hope this is enough information.

Maybe this will help:

Link.
 
That DID help. Thanks loads! It is great to find a great community that is knowledgeable.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.