Writing app in XCode for OSX using OSX 10.8 SDK. All of my Windows work fine, until I use Interface Building to get rid of the title bar in the nib (I uncheck the Title Bar
param on the Attributes Inspector of the window element). The windows still show, but all the subviews are disabled. I can no longer input text and process bars are all greyed out.
Does anyone know why this is happening? and how to have a Window without a title bar, but with all subviews enabled?
Here is what my view looks like with a title bar:
And here's what it looks like without:
As you can see, everything is disabled.
Update
Someone asked about code to display windows. For this example I didn't use any code. For the two screens above here are the steps I followed:
- Created a new cocoa application using XCode. (Automatically creates a xib).
- Dragged out two controls (Text field and progress bar) onto the existing window.
- Ran, and took a screen shot
- Closed and checked off the
Title Bar
attribute for the window. - Restarted the app. Took the second screen shot.