Page 1 of 1

Open source MobGUI iOS controls - first draft

Posted: Sat Apr 13, 2013 10:33 pm
by splash21
(From the use list)
A while ago I started rewriting some controls to use the new before and after behavior handlers. The results are custom controls with no library code in their scripts - I think it's a lot cleaner.

The link below is to the first draft. The library is a one button palette. Just use the button to attach a copy of the library to your stack. After that you can close the original palette as it's not needed any more. The palette now attached to the stack is the one that you use to drag custom controls from. Any time you open your stack in the future, you still just use the attached palette.

I've added a few iOS controls to this palette - if feedback is good and everything works as expected, the other controls can be added.
My tests showed the controls to scale for normal/retina with no problems. Thanks to Dixie who also gave it a test on 5.5.3 and community.

There is a slight glitch on the NavBar - after initially dragged on to your stack, you can double click to snap it to the top of the stack, but it's height is slightly too small - dragging a resize handle solves the problem for now. Each control has an 'mg' custom property set.

https://dl.dropboxusercontent.com/u/796 ... IB-iOS.zip

A more familiar looking palette

Posted: Sun Apr 14, 2013 10:25 am
by splash21
Made things look like the previous pre LC6 version - everyone seemed to like that palette :)

Still to come;
  • Clicking on the device icon will give us the options for device size, etc.
    Selecting a custom control will give the available options for the control.
MGLIB-iOS.zip
(18.11 KiB) Downloaded 558 times

Added the slider control

Posted: Sun Apr 14, 2013 10:53 am
by splash21
MGLIB-iOS.zip
(18.4 KiB) Downloaded 727 times
ScreenShot.png

Re: Open source MobGUI iOS controls - first draft

Posted: Tue Apr 16, 2013 3:43 am
by KennyR
Thank you! I am glad to see this thread is still alive and kicking....I appreciate your efforts

Re: Open source MobGUI iOS controls - first draft

Posted: Wed Jun 26, 2013 4:24 am
by nalexander50
This is amazing!! I am new to LiveCode Community (I pledged on Kickstarter!) and was excited to learn about the MobGUI plugin to create native iOS look and feel. Then, to my dismay, I found out that MobGUI could only be used on Community then I found THIS! I am very excited to start using this, and I hope that you continue development.

A suggested feature (may be implemented and I haven't found it yet?): Have a button/control/option/etc. to automatically resize the stack to the size of an iPhone.

Keep up the good work!!

Thanks,
Nick