(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
Open source MobGUI iOS controls - first draft
Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
Open source MobGUI iOS controls - first draft
LiveCode Development & Training : http://splash21.com
-
- VIP Livecode Opensource Backer
- Posts: 369
- Joined: Sun Dec 19, 2010 1:10 am
- Location: UK
- Contact:
A more familiar looking palette
Made things look like the previous pre LC6 version - everyone seemed to like that palette
Still to come;
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.
LiveCode Development & Training : http://splash21.com
Re: Open source MobGUI iOS controls - first draft
Thank you! I am glad to see this thread is still alive and kicking....I appreciate your efforts
-
- Livecode Opensource Backer
- Posts: 3
- Joined: Fri Feb 22, 2013 1:55 am
Re: Open source MobGUI iOS controls - first draft
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
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