seppo0010 / nios

Node.js port for iOS
Other
98 stars 6 forks source link

Native iOS APIs #1

Closed mattapperson closed 12 years ago

mattapperson commented 12 years ago

Have you considered doing native APIs on the iOS platform like Titanium Mobile both for UI and others?

seppo0010 commented 12 years ago

Yes, I have. I actually create a javascript module with two simple functions to vibrate and show an UIAlertView as a proof of concept.

However, I don't feel like the mechanism is good enough to build complete apps in javascript, I would recommend using WebViewJavascriptBridge to pass along messages, but keep the UI in objective-c for responsiveness.

seppo0010 commented 12 years ago

Alternatively, full HTML5 apps, and WebViewJavascriptBridge for the features that may not be available like using the accelerator or the address book is possible.

mattapperson commented 12 years ago

Could you explain what you mean by "the mechanism is good enough to build complete apps in javascript"

seppo0010 commented 12 years ago

Sorry, I meant "is not". The responsiveness for GUI applications isn't good enough.