jpriebe / TitanUp

The TitanUp library for Titanium Mobile development
Other
46 stars 17 forks source link

TitanUp is a library of utility functions for Titanium Mobile that provides a number of custom views like GalleryView, ViewPager, SimplePicker, ModalView, SelectBar, and utilities for building dynamic multi-density user interfaces, managing themes, and window management.

Everything in TitanUp is designed to be cross-platform. My Titanium philosophy says that if you're not doing cross-platform development, why are you using Titanium in the first place? The way to maximize your benefit from the platform is to go cross-platform.

TitanUp relies on some third-party Titanium modules for a couple of its views:

If you aren't using these classes, you don't need to install these modules.

This distribution includes a demo app that uses all the features of the library, so it should be fairly apparent how to use it.

To use TitanUp, be sure to set your default unit to "dip" by adding this to your tiapp.xml:

<property name="ti.ui.defaultunit">dip</property>

The app will log a warning if you don't do this.

Class overview

TU.LocationManager

TU.Globals

TU.Logger

TU.Device

TU.Context

TU.UI

TU.UI.EventThrottle

TU.UI.Theme

TU.UI.Sizer

TU.UI.TWGM

TU.UI.DrawerMenuWM

TU.UI.OAWindow

TU.UI.Views.GalleryView

TU.UI.Views.ModalView

TU.UI.Views.RemoteImageView

TU.UI.Views.SelectBar

TU.UI.Views.SimplePicker

TU.UI.Views.TextField

TU.UI.Views.ViewPager

MIGRATING FROM VERSION 1.0