Question

I'm pretty sure i've seen this somewhere (not counting the help menu), and I feel like you could just drag one in under ib in leopard. Not that it matters, but it will either go into a dock menu or a service. Thanks

Was it helpful?

Solution

Try setting an NSTextField as the view of an NSMenuItem.

You can do this in IB by dragging the text field into the nib as a top-level object and setting the menu item's view outlet to point to the field.

Tricky thing you may need to solve in your app: In the IB simulator, at least, pressing return/enter did not dismiss the menu.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top