Storyboard Problems with Xcode 6 - ide

I opened up a project I was working on and have found that all of the items that I have added to the main.storyboard are greyed out as in the screen shot. When I look at the Main.storyboard, it doesn't display anything. The Label that is in black is a label that I added to test that I can add something to the screen. When I run the application it works as expected.
How do I get the greyed out items to not be greyed out any more?

Related

Buttons not working on ipad simulator

I've recently updated my project for iOS 10 and now the buttons on the bottom of the screen don't work in the ipad simulator. Other buttons in the app work while in the ipad simulator and all of the buttons work on all of the other simulators. Tried searching around for this problem but didn't find anything so I'm pretty stumped.
Edit:
Buttons that aren't working are "Bet High", "+", "-", "Bet Low". You can click them and tell they are clicked by the animation but the action linked to the buttons aren't getting called. Clicking the ad works too
screenshot
Edit #2:
Now I feel stupid. After poking around with NSLog I found that the iPad Pro (9.7 inch) simulator thought it was a 3.5 inch display so it was using my storyboard for 3.5 inch displays which didn't have those buttons hooked up to their corresponding actions (still weird though as each storyboard was duplicated from my original storyboard for the 4.7 inch display which had everything hooked up when duplicated)
*face palm
Check the UI like storyboard, buttons and so on. You can try rebuild the button again. If the problem still happen again, copy the sample code from internet like Apple Developer and check your code. You can also the your simulator and run it again.

NSTextField in statsbar menu becomes unresponsive after clicking outside the menu

I'm building a statusbar menu using custom views, and everything seems to work fine except for text fields. The first time I open the menu, everything works fine. If I close the menu by clicking the statusbar icon again, it also continues to work fine.
If I close it by clicking outside the menu, however, the next time I open the menu the text fields will be completely unresponsive. I can sometimes highlight the NSTextField, and even make the "itemEdited" event happen.
Any ideas on this weird issue? Buttons put on the same view work fine.
I've made a sample project to demonstrate the problem: https://github.com/Nic0S/NSTextField-bug

Xcode 6.1.1 Toolbar Icon and Text doesn't show

In Xcode 6.1.1 the Icon and Text doesnt show. It just shows the Icons. If if right click when the the icons are showing it just gives"hide toolbar" as the option and no option to show both Icons and Text.
This is very strange. If I use Xcode 5.x it shows the Icons and Text and right click on the toolbar works properly.
Anyone else having this issue? Also the same used to happen in 6.1 also.
Go ahead and click on 'Hide Toolbar', next you right click on the tool bar again and you can select 'Icon and Text'. Now you should have both Icon and Text as shows below;
I have a problem, it seems I have to click on 'Hide Toolbar' twice for Xcode to response.

Xcode 4.5 hides the tab bar in full screen mode! Can this be fixed?

I just installed Xcode 4.5 and notice that when I'm in full screen mode, the Xcode tab bar disappears along with the menu bar. It used to remain visible even when the menu bar went away. Does anyone else experience this? Has anyone found a preference to keep the tab bar visible?
Well, it turns out that if you turn off full screen and turn it back on, things return to normal. This seems to be a post-upgrade glitch that seems to fix itself.

Graphics error with NSStatusItem

My application uses NSStatusItem to be visible to the user.
So I set 'Application is agent (UIElement)' to YES, which basically hides the menu bar of the application, and hides the icon from the dock.
Now, I didn't delete the menu bar, so I can still react to shortcuts like cmd+W to close the preference window, or cmd+q to quit the application. The problem is, that anytime I use such a command, the menubar get's messed up.
I've noticed that other Apps which run in the background, like Growl 2, have the same issue.
I have no idea how to fix this.
Hopefully someone of you can help me
I'm running Mountain Lion.
thanks!
HINT
It probably has something to do with the 10.8 SKD. I have never noticed this issue before in any application.
How about move the whole Window menu to be Application menu submenu and then hide it?
You will still receive shortcuts and the highlited menu will be the application menu that is by anyway there (i suppose so, how else you will open preferences window? also shortcut?).