Appcelerator Titanium 4.1.0 Sample App
This app demonstrates new features in Titanium 4.1.0. For more information about new and changed API's, see the Release Notes and All Fixed Issues on JIRA.
Features demonstrated in this sample app
Windows
- Added Ti.UI.Windows.CommandBar (and the rest of the API) for Windows.
In anticipation of ALOY-1280 we use a polyfill to be able create the CommandBar via Alloy XML via the powerfull module
attribute.
iOS & Android
Per tab:
Map
- TIMOB-2231: Added Modules.Map.Circle, Modules.Map.Polyline and Modules.Map.Polygon to the Map module.
ListView
- TIMOB-17621: Added Ti.UI.ListView.separatorHeight.
- TIMOB-16244: Added Ti.UI.ListView:scrollstart and Ti.UI.ListView:scrollend events.
- TIMOB-16494: Added Ti.UI.ListView.addMarker() to listen to multiple markers.
- TIMOB-15596: Added Ti.UI.ListItem.editActions for ListView Action Items.
cacheSize
- TIMOB-18874: Parity for Ti.UI.ScrollableView.cacheSize
Other
- TIMOB-17145: Parity for
PATCH
as method for Ti.Network.HTTPClient.open() - TIMOB-18905: Material Design dialogs on Android 4.x and older.
- TIMOB-18816: Added support for regional languages to Internationalization.
- TIMOB-18433: Added Ti.UI.TextField.hintTextColor and Ti.UI.TextArea.hintTextColor.
- TIMOB-17827: Added Ti.UI.Label.lines and Ti.UI.Label.maxLines.
- TIMOB-18103: Added Ti.App:uncaughtException to listen to uncaught JavaScript exceptions.
tiapp.xml
- TIMOB-18834: Added option to use JavaScriptCore instead of TiCore.
- TIMOB-17993: Added option to manually set
CFBundleVersion
andCFBundleShortVersionString
.
See Gruntfile.js for an example of how you can bump an integer build version number for Android and iOS while leaving it up to Titanium to use <version>
for the release version number.
npm install
# to bump release 4.1.0 to 4.2.0 and build 123 to 124
grunt version:minor
# to bump build 124 to 125
grunt version