Using sheets

Discussion in 'Mac Programming' started by CEBison, Feb 15, 2013.

  1. macrumors newbie

    Joined:
    Jan 31, 2013
    #1
    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.
     

    Attached Files:

  2. macrumors 6502a

    xShane

    Joined:
    Nov 2, 2012
    Location:
    United States
    #2
    Maybe this will help:

    Link.
     
  3. thread starter macrumors newbie

    Joined:
    Jan 31, 2013
    #3
    That DID help. Thanks loads! It is great to find a great community that is knowledgeable.
     

Share This Page