2 Mar 2012 7:01 AM #1
Class System documentation change for apply and update methods.
Just a note on the documentation on the class system.
Your documentation here http://docs.sencha.com/touch/2-0/#!/guide/class_system says that there is an applyXXX method for the XXX config items. But it appears that there are actually 2 methods that should be taken into account applyXXX for transforming incoming values and updateXXX to perform side effects. http://mobile.dzone.com/articles/class-system-sencha-touch-2.
I've seen the update functions around occasionally and hadn't known really what they were for until I found this article. It would be good to clarify in the official documentation.
2 Mar 2012 8:52 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The update method has been around since the start so not sure how that was missed in the tutorial. Thank you for catching it and we will get that updated!Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
27 Mar 2012 3:15 PM #3