cocoa - Converting an NSComboBox to and NSTextField Easily -


I have an NSComboBox and I was wondering if this is an easy way to convert into a simple NSTextField? Keeping NSCombBox in mind, this is the subclass of NSTextField, I think it's an easy way to turn on / off but I can not understand it.

These are two separate controls, you only have to swap one for another if you have time to build the interface builder Looking at this to happen, it is mind-numbingly simple. If you are looking to do this in code, then it is not very difficult (especially if you already have both controls made and your XIB Somewhere configured in an off-screen view).

Describe what you are trying to accomplish (i.e., why you want to swap control) Without a bit more information about your goals, it is difficult to answer briefly.


Comments