Skip to content

Comment on The first open source multi-device development framework.

Comments

Can I write in Javascript and your framework will convert it to a native iPhone app? If so, I'm gonna spread the word to my followers and make sure everyone at least tries this

There is such a project already, called PhoneGap: http://www.phonegap.com/

I meant convert it to a real native app, not wrap it. I meant actually converting the Javascript to Objective C. So when you do: <div>Hi there!</div><div padding="5px">Hello!</div>, it gets converted to: frame = CGRectMake(0,0, 10, 10); frame.label.text = "Hi there"; frame2 = CGRectMake(15, 15, ...) frame2.label.text = "Hello";

Titanium from Appcelerator does allow controlling native components from javascript, however the base UI definition is not HTML AFAIK.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.