Simulating a Mac Keyboard of UIButtons
Hi
I'm trying to replicate a Mac Keyboard using a collection of UIButtons, and have created a mutable array of key names to assign to the titles.
I'm a little confused as to how to get the buttons in the right order, in such a way that only the first row has § - = , second row tab - return etc
Other than writing separate loops for each row. Eventually the control buttons like tab, shift etc are going to want to be different widths/heights.
I'm going to put this view inside a scroll view.
Any suggestions, multidimensional array perhaps?
Thanks
Joe
|