An open API service indexing awesome lists of open source software.

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

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.

![screenshots](screenshots.png)

## 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.
![Windows](https://img.shields.io/badge/OS-Windows-red.svg?style=flat-square)

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).
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square)

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.
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square) ![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)

#### 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).
![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [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.
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square) ![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [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.
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square) ![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [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).
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square)

#### 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)
![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)

#### 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)
![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [TIMOB-18905](https://jira.appcelerator.org/browse/TIMOB-18964): Material Design dialogs on Android 4.x and older.
![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [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).
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square) ![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [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).
![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [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).
![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)
* [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.
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square) ![Android](https://img.shields.io/badge/OS-Android-green.svg?style=flat-square)

#### tiapp.xml

* [TIMOB-18834](https://jira.appcelerator.org/browse/TIMOB-18834): Added option to use JavaScriptCore instead of TiCore.
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square)
* [TIMOB-17993](https://jira.appcelerator.org/browse/TIMOB-17993): Added option to manually set `CFBundleVersion` and `CFBundleShortVersionString`.
![iOS](https://img.shields.io/badge/OS-iOS-blue.svg?style=flat-square)

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