Reputation: 2022
i want to design a very attractive UI in titanium " animation and complex component " ! so does titanium support HTML5 and CSS3 if yes HOW ? do i have to embed a webview in the application ?
Upvotes: 0
Views: 553
Reputation: 53830
To answer your questions, yes it supports HTML5 and CSS3, and yes, you have to use a WebView. The WebView is technically provided by the platform, but all modern devices support this.
Upvotes: 0
Reputation: 312
When using Titanium Mobile you can do both. You can embed HTML and CSS in webviews and you can use its' Javascript API to create scrollviews, views, textareas and the like which will be compiled to objective C. The latter being faster of course.
Titanium Desktop, however seems to work slightly different. I've only started my research but by the looks of it you create your views in HTML and CSS and that's that.
I suppose it depends what you want to do.
Appcelarator have great docs and some really handy videos by the way: http://training.appcelerator.com/zero-to-app
Good Luck!
Upvotes: 1
Reputation: 33345
if you are focused on creating you UI with HTML5 and CSS then Titanium is not the correct tool for you.
In Titanium your UI is created using native components the exact way you would do it using objective c
Upvotes: 2