https://github.com/appcelerator-developer-relations/appc-sample-ti410
Appcelerator Titanium 4.1.0 Sample App
https://github.com/appcelerator-developer-relations/appc-sample-ti410
Last synced: 5 months ago
JSON representation
Appcelerator Titanium 4.1.0 Sample App
- Host: GitHub
- URL: https://github.com/appcelerator-developer-relations/appc-sample-ti410
- Owner: appcelerator-developer-relations
- License: other
- Created: 2015-06-30T12:29:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-20T08:02:57.000Z (about 10 years ago)
- Last Synced: 2024-11-16T00:32:24.038Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://www.appcelerator.com/blog/2015/07/4-1-0-ga-now-available/
- Size: 2.22 MB
- Stars: 38
- Watchers: 24
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://docs.appcelerator.com/platform/release-notes/?version=4.1.0.GA) and [All Fixed Issues](https://jira.appcelerator.org/issues/?filter=16879) on JIRA.

## Features demonstrated in this sample app
### Windows
* Added [Ti.UI.Windows.CommandBar](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Windows.CommandBar) (and the rest of the API) for Windows.

In anticipation of [ALOY-1280](https://jira.appcelerator.org/browse/ALOY-1280) we use a [polyfill](app/lib/polyfill.js) to be able create the CommandBar via Alloy XML via the powerfull `module` attribute.
### iOS & Android
* [TIMOB-17842](https://jira.appcelerator.org/browse/TIMOB-17842): Added [Ti.UI.Tab.titleColor](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Tab-property-titleColor) and [Ti.UI.Tab.activeTitleColor](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Tab-property-activeTitleColor).

Per tab:
#### Map
* [TIMOB-2231](https://jira.appcelerator.org/browse/TIMOB-2231): Added [Modules.Map.Circle](https://docs.appcelerator.com/platform/latest/#!/api/Modules.Map.Circle), [Modules.Map.Polyline](https://docs.appcelerator.com/platform/latest/#!/api/Modules.Map.Polyline) and [Modules.Map.Polygon](https://docs.appcelerator.com/platform/latest/#!/api/Modules.Map.Polygon) to the Map module.
 
#### ListView
* [TIMOB-17621](https://jira.appcelerator.org/browse/TIMOB-17621): Added [Ti.UI.ListView.separatorHeight](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-property-separatorHeight).

* [TIMOB-16244](https://jira.appcelerator.org/browse/TIMOB-16244): Added [Ti.UI.ListView:scrollstart](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-event-scrollstart) and [Ti.UI.ListView:scrollend](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-event-scrollend) events.
 
* [TIMOB-16494](https://jira.appcelerator.org/browse/TIMOB-16494): Added [Ti.UI.ListView.addMarker()](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ListView-method-addMarker) to listen to multiple markers.
 
* [TIMOB-15596](https://jira.appcelerator.org/browse/TIMOB-15596): Added [Ti.UI.ListItem.editActions](https://docs.appcelerator.com/platform/latest/#!/guide/ListViews-section-37521650_ListViews-ActionItems) for [ListView Action Items](https://docs.appcelerator.com/platform/latest/#!/guide/ListViews-section-37521650_ListViews-ActionItems).

#### cacheSize
* [TIMOB-18874](https://jira.appcelerator.org/browse/TIMOB-18874): Parity for [Ti.UI.ScrollableView.cacheSize](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ScrollableView-property-cacheSize)

#### Other
* [TIMOB-17145](https://jira.appcelerator.org/browse/TIMOB-17145): Parity for `PATCH` as method for [Ti.Network.HTTPClient.open()](https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Network.HTTPClient-method-open)

* [TIMOB-18905](https://jira.appcelerator.org/browse/TIMOB-18964): Material Design dialogs on Android 4.x and older.

* [TIMOB-18816](https://jira.appcelerator.org/browse/TIMOB-18816): Added support for regional languages to [Internationalization](http://docs.appcelerator.com/platform/latest/#!/guide/Internationalization-section-29004892_Internationalization-Languagestrings).
 
* [TIMOB-18433](https://jira.appcelerator.org/browse/TIMOB-18433): Added [Ti.UI.TextField.hintTextColor](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TextField-property-hintTextColor) and [Ti.UI.TextArea.hintTextColor](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TextArea-property-hintTextColor).

* [TIMOB-17827](https://jira.appcelerator.org/browse/TIMOB-17827): Added [Ti.UI.Label.lines](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Label-property-lines) and [Ti.UI.Label.maxLines](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Label-property-maxLines).

* [TIMOB-18103](https://jira.appcelerator.org/browse/TIMOB-18103): Added [Ti.App:uncaughtException](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.App-event-uncaughtException) to listen to uncaught JavaScript exceptions.
 
#### tiapp.xml
* [TIMOB-18834](https://jira.appcelerator.org/browse/TIMOB-18834): Added option to use JavaScriptCore instead of TiCore.

* [TIMOB-17993](https://jira.appcelerator.org/browse/TIMOB-17993): Added option to manually set `CFBundleVersion` and `CFBundleShortVersionString`.

See [Gruntfile.js](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 `` 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