This folder contains classes reused throughout the code samples.
To use these classes, add this code on top of your app.js
file:
Ext.Loader.setConfig({
paths: {
'AkoLib': '../AkoLib'
}
});
This gives you access to the following classes:
AkoLib.view.SplitView
(xcode:splitview
) which provides a Sencha Touch component that behaves similarly to theUISplitViewController
class in iOS.AkoLib.model.Item
represents an individual entry in a demo screen, which contains atext
parameter (displayed to the user) and ascreen
parameter that is treated as thextype
of the corresponding component.
The file in the AkoLib/scripts/scroll.js
enables mouse scrolling in
Sencha Touch templates, which simplifies the development of
applications. Do not use this file in production builds!