Control set

In IOS, is it possible to create an array of buttons like a control set in desktop application ? And if not, is there a ‘best’ way to mimmick it ?

Trying to name 2 buttons the same, I got an error message stating that “Control arrays on iOS are not supported at this time.”

Control arrays are not supported
Write one method and have your buttons call that method in their events

Thank you.

So, I have to create my own radio buttons if I need them ?

Radio buttons in a control set don’t act as a group on the desktop.
Web is different because its a different target & grouping is done differently on the web than on the desktop.

Switches are the more common UI control and those are already present.

[quote=152151:@Gilles Rioux]Thank you.

So, I have to create my own radio buttons if I need them ?[/quote]

Since they seem to be concentric circles, it seems easy enough to roll with a Canvas.

But switches could perhaps be used for the same purpose.

Yes, it seems that canvas is the solution so ! created a workaround.

But now, ! need a crash course in auto-layout…

Read the second sub heading:
http://xojo.helpdocsonline.com/getting-started-with-ios

Thank you.