HNHacker News
TopNewBestAskShowJobs

lokimeyburg

22 karma · joined July 22, 2012

submissionscomments
lokimeyburg··on Show HN: Stacker – Kickstart development of hybrid iOS apps
1. If you need to do anything native, like use the camera or GPS for something, then I recommend you trigger navigating to those screens by either using Stacker's javascript bridge or by writing a custom URL action (http://www.lokimeyburg.com/Stacker/docs/custom-actions/).

You're still going to be responsible for doing the native screens. This is by design and kind of nice because my experience with apps are that most of the screens could just be done in HTML/CSS and there's usually only one or two screens that need to be implemented natively.

2. Check out my example to see how I'm doing using a regular UITabBarController. That might give you an idea of where to start.

lokimeyburg··on Show HN: Stacker – Kickstart development of hybrid iOS apps
Correct. The content/controls are up to you. Stacker takes care of navigating around your web app in a native context.

In the example app I'm just using Bootstrap components - nothing fancy. But you could use something completely different in your own app.

lokimeyburg··on Show HN: Stacker – Kickstart development of hybrid iOS apps
There is a "no network connection" error page - but I'm not sure if it will be triggered in this specific edge case.
lokimeyburg··on Show HN: Stacker – Kickstart development of hybrid iOS apps
At first I thought less people would be interested in the video - I was wrong. I've been getting similar feedback about the video. I'll shorten it and make it more prominent.

Thanks for pointing me to App.js - looks neat.