Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have been building something similar for iOS called RESTMagic that does this automatically using the URL structure of your API.

http://RESTMagic.org http://github.com/RESTMagic/RESTMagic

If you build a twitter app (such as the example one with the project) and try and open a URL, the app handles it and opens the right view controller, if it doesn't exist it tries to get the json and match it with an HTML template. If the server just returns HTML is presents that. Magic.

The app even looks at your obj-c class prefix and looks if you made a subclass of the main view used for presenting HTML and uses that instead system wide.

Haven't posted it here yet but would love feedback, email address is on the RESTMagic page.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: