Directly accessing the NSPopupButtonCell of an NSPopupButton (Cocoa OSX) -


i know not recommended need access nspopupbuttoncell of nspopupbutton. there way this?

[mypopup cell]; 

kind of obvious, when think it. ;)

really, tho'; nspopupbutton : nsbutton : nscontrol; nscontrol has -[cell], nspopupbutton too.

i guess i'm trying say, is; if can't find method object looking @ must have, check superclasses. (or use text completion in xcode , few lucky guesses. ;)


Comments

Popular posts from this blog

php - How to build a web site which gives a sub-domain dynamically to every registered user? -

c# - Add item to Generic List / Collection using reflection -