Loading NIB file than Making a Key Window

Discussion in 'Mac Programming' started by Garrett, Jul 15, 2008.

  1. Garrett macrumors regular

    Joined:
    Apr 4, 2007
    #1
    So I wanted to have when I have "About NewApplication" open up a nib file. I can get that to work. But I can't for the life of me get that to be ordered first.

    I don't feel I should have to subclass every window to be able to do this. :(
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
  3. Garrett thread starter macrumors regular

    Joined:
    Apr 4, 2007
    #3
    Yes...that was pretty retarded :p

    When I click on About Clients, this is connected to my delegate:
    [​IMG]
    Then this code is ran:
    [​IMG]

    Then in my GBAbout.m, which is the File's Owners class. This is ran:
    [​IMG]
    The only reason I have this whole new class is because its the only way I could make it become a key window. :mad:
     

Share This Page