View Full Version : [INFOREQ] init or initialize

17 Apr 2012, 8:01 AM
Since I spent most of the last day tearing my hair out over this, does sencha touch use init() or initialize() for components ( inside Ext.define() )?

I finally got my code working, but along the way, found that almost the components support initalize(),
EXCEPT for 'Ext.app.Controller' which uses init()

so which component has the bug (or old dangling code?)

17 Apr 2012, 8:38 AM
Components use initialize. Ext.app.Controller is not a component and uses init which should be renamed to initialize to be honest but little past that for 2.0.x