Kodeco Forums

OS X Core Controls Tutorial: Part 2/2

Learn the basics of the fundamental UI core controls in OS X development. In part 2: sliders, date pickers, radio buttons, check boxes and image views!


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/2034-os-x-core-controls-tutorial-part-2-2

Hi Ray,
thanks for this tutorial, it really helps!

By the way, I have a question about this part: “A Place to Call Home – Adding Radio Buttons”.
I use XCode 7.3.1 and it’s no longer possible to use a Matrix with radio buttons. Instead, radio button must be placed individually on the same superview.
OK, great! How I can add a superview?
Could you modify (or give me a link) your tutorial to explain how doing that? I’ve browsed the Internet but I didn’t find something as clear as you’ve done here. Impossible for me to have the job done.

Well,

I’ve just found the way to do it.
Place radio buttons, select them and select Editor > Embed In > Matrix

After the Build I only can activate one radio button at a time.
Now I’ll try to obtain the behavior I’d like via Outlet and Action.

Hello!

It sounds like you figured out how to add radio buttons to the “matrix” ;].

Best practices regarding UI suggests, that radio buttons are generally used to choose one item from a selection. If you would like to select multiple items, you might want to go with check box buttons.

Keep on coding! :]