Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Nov 16, 2010, 03:41 PM   #1
macrumors 6502
Join Date: Mar 2009
Location: NZ
copy bindings from one nsmenuitem to another

I have an NSMenu that was created in IB and some of the items have bindings on them. (specifically some of them have their 'value' bound to the user default so that the tick will appear/disappear when clicked)

i have a menu that shows up in other places and i want all the menu items from the menu created in IB to show up in the new one.

I know i can't just add the item from the IB menu to the new menu so I went to just create new menu items and copy the title, action, and keyequivalent over.
but how do i copy the bindings?
Chirone is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Bindings question: default value Qaanol Mac Programming 4 Nov 20, 2013 12:15 PM
[SOLVED] IB - Bindings Inspector - Search Predicate KieferThomas Mac Programming 2 May 13, 2013 11:05 AM
Cocoa bindings questions jeanlain Mac Programming 3 Oct 6, 2012 03:20 PM
Resolved: Change image when NSMenuItem highlights? ArtOfWarfare Mac Programming 0 Jun 9, 2012 05:41 PM
NSPopupButton Bindings knightlie Mac Programming 0 Jun 4, 2012 11:32 AM

Forum Jump

All times are GMT -5. The time now is 05:02 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC