Friday, July 1, 2011

Networking Library for iPhone and iPad

I've added a very useful and complete networking library to my open source GitHub repo. After you clone the repo, open the ikhoyo-public workspace in the workspaces directory, and then look in the ikhoyo-net project.

There is also some example code in the ikhoyo-top project. The sample retrieves some data from Socrata using the networking library. The library is called IkhoyoURLManager, and the Socrata library that wraps it is called IkhoyoSocrata, in the ikhoyo-socrata project.

Socrata has lot's of cool data and a very easy to use REST API. All open. You can also see a full example using all these technologies on Mobile Orchard. The post was authored by me and is called Using SQLite with iOS. The example gets some Socrata data and builds a database table using SQLite.

SQLite on the iPhone and iPad

I'm a guest author at Mobile Orchard. You can see my two posts about using SQLite on the iPhone and iPad:

1. Compiling Your Own Version of SQLite for iOS
2. Using SQLite with iOS

The posts describe using SQLite in great detail. You can find the accompanying code on my GitHub repo.