Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Mac App in Swift has greyed menu items. Help?

This isn't exactly to do with iOS, but it's the closest category.

I wrote this into my ViewController.swift file:

@IBAction func myMenuItemAction(sender: AnyObject) { }

Then on my menu item I set an action to go to the First Responder which has that IBAction in it. However when I build the app the menu item is grey out.

alt text

Help please?