I'm trying to figure out what the equivalent of 'custom controls' from visual-studio-land are, in Xcode. I want a custom re-usable control that's just a text box beside a segmented control with some custom behavior thrown in, but I don't know how to make it.
I've found articles on making a totally custom control, with its own rendering, but that's massive overkill. I want to combine existing controls, not make totally new ones.
I've tried creating a new 'View' and using that as the custom control, putting a text box and a checkbox on it. But that view doesn't show up in the list of things I can drag onto other views (where the buttons and sliders and etc are listed).
I can make a blank view inherit from my custom view using the 'Custom Class' pane in the right-hand window, but the inheriting view continues to just be... blank. Shouldn't the underlying controls be drawn in the designer, and shouldn't I be able to twiddle exposed properties?
I know this is trivial, I just don't know what trivial thing I have to do to make it work.