Titanium Redux - JSS, short-hand instantiation of controls, and more...
My brother just created an external js file that you can include in your projects that addresses some of Appcelerator's shortcomings:
https://github.com/dawsontoth/Appcelerator-Titanium-Redux
Some highlights:
JSS (similar to CSS)
Shorthand form for creating controls: var label = new Label()
Ability to set defaults for controls: $.setDefault('helloWorld', { text: 'Hello, World!', color: 'red' });
Check it out and let me know what you think!
4 Answers
-
Just had a gander through the readme.. Looks great. I am curious if you have experienced any issues with performance?
other then that.. I can't wait to give it a shot.
-
Hopefully the folks over at Titanium view this post and incorporate some of these things into the next release…
-
Oh, brilliant!
Looks great, have you noticed any performance drop using this?
-
Checking it out..