How Add outlet from another XIB file?

Discussion in 'iOS Programming' started by Sergio10, Sep 7, 2009.

  1. Sergio10 macrumors regular

    Joined:
    Oct 3, 2007
    #1
    Hi,

    I have two XIB files: MainWindow.xib and MyView.xib.
    Created in "MyApp Delegate"(MainWindow.xib) outlet (myView UIView).
    Now I drag from View (MyView.xib) with CTRL button to the MyApp Delegate. BUT it doesn't work((

    How to add outlet from another XIB file?

    Thank you.
     
  2. KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #2
    You have to make sure that the file owner class of the second nib is the same as the file owen of the first.
     

Share This Page