Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Blakeasd

macrumors 6502a
Original poster
Dec 29, 2009
643
0
Hello everyone,
I am having some problems working with NSToolbar. I am trying to make a simple toolbar in Interface Builder, but my toolbar items are grayed out. Here is what I did:
Dragged an NSToolbar Instance to my Window
Dragged a toolbar item to the allowed items sheet
gave it the name Download
Dragged my toolbar item for the allowed items to my toolbar
When I looked at it it appeared grayed out. When I ran my app I couldn't click on the item. Does anyone know what's wrong?
 
Hello everyone,
I am having some problems working with NSToolbar. I am trying to make a simple toolbar in Interface Builder, but my toolbar items are grayed out. Here is what I did:
Dragged an NSToolbar Instance to my Window
Dragged a toolbar item to the allowed items sheet
gave it the name Download
Dragged my toolbar item for the allowed items to my toolbar
When I looked at it it appeared grayed out. When I ran my app I couldn't click on the item. Does anyone know what's wrong?

Is the item connected to an IBAction in an instantiated object?
 
Yes

Yes it is connected to an IBAction, but it's still grayed out :confused:
Please Help!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.