So when I add an NSPopUpButton in Xcode's Interface builder, it automatically has 3 options in the dropdown which can be worked with in the IB; however, I want to have 8 options in my popup. I know I can just add these in code, but it would be much more convenient if there was a way to add them right in the IB, without making the popup button a property. Is there any way to do this?
If you expand the NSPopupButton, there is a "Popup Button Cell". Expand that and you will find a "Menu". You can drag new NSMenuItems to that menu in Interface Builder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With