For those who are trying to share some of the business logic between the web and their iOS apps. Take a look.