Stec Records Forum

Tools to make music

News: We are back.  We've updated the look of the forum with a new "theme" that works better on mobile devices. Also note that we check all new user requests for spam violations. If you believe you have been rejected unfairly please contact us and we will attempt to resolve it with you.  - Stecrew

Sheets Aren't Connected to Window (Read 1889 times)

  • Administrator
  • Hero Member
  • Chief Administrator
  • Posts: 771
  • Karma: +0/-0
  • Time reveals truth.
    • Bob Sellon's Home Page
#1 Sheets Aren't Connected to Window
January 16, 2011, 11:54:17 AM
If you are creating a sheet (beginSheet), but the sheet doesn't want to attach itself to the window even though everything is set up properly (it floats in the middle of the app instead of dropping down from behind the title bar), make sure that "Visible At Launch" is NOT checked in the NIB. Spent hours chasing this stupid problem down. Bloody hell.

This can also happen if you try to access IBOutlets before the window appears. The sheet still appears but is floating.

This is xcode circa 3.2.5 but I've seen it on earlier versions as well.