Hacker News new | ask | show | jobs
by mshron 5465 days ago
There is such a project already, called PhoneGap: http://www.phonegap.com/
1 comments

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.