TTPickerTextFieldDemo icon indicating copy to clipboard operation
TTPickerTextFieldDemo copied to clipboard

Demonstrates the ability use a TTPickerTextField from the Three20 library, outside the TTMesageController

TTPickerTextFieldDemo

I put together this demo to demonstrate the ability to implement a TTPickerTextField outside the TTMessageController. The project uses a model object of States (TTModel) which holds a static array of US State names. A sectioned datasource TTSectionedDataSource is connected to the picker and a standard view controller containing a scroll view with a TTPickerTextField subview completes the stack.

I hope someone finds this useful as we all know, the Three20 project could use more documentation! :)

Building TTPickerTextFieldDemo

The Three20 libary (AppStore safe, see: uprise78/three20-P31) is configured to point to the included Git submodule, "three20-P31/" in the project's root directory. After cloning the project, run the following commands to initialize and pull the submodule into place.

git submodule init
git submodule update