Xib2Js

Xib2Js for Titanium Mobile is an application to convert the .xib file to the JavaScript codes.

Just drag and drop the .xib file to the application then the JavaScript code will be automatically generated.

howtouse

The .xib parser is not good enough to generate the whole things perfectly so please do not expect too much but it will be much more easy to start creating Titanium application rather than writing the JavaScript code from scratch.

Please download from the following and give your feedback via twitter about this application.

[Application]

xib2js110.zip

[Source code]

The source code is available here.

[Documents]

[Important notice]

The version of the .xib file which is supported by this tool is “7.10″.

The tool will rewrite the existing files without confirmation while save, so please take care!

[Release Note]

Ver 1.1 (6-Apr)

Supported the following controls and views.

  • UIDatePicker
  • UITableViewCell for custom cell
  • UIView for custom view

The parser detects the color of the controls and views.


Ver 1.0 (22-Mar)

The first release.