How to make iPhone Apps and Influence People Musings on the iPhone development process

27Aug/100

Recent iOS Version statistics from Delhi City Metro

Not long after iOS 4.0 was released I pushed a small update to Delhi City Metro to keep track of some basic (anonymous) user statistics. I'm keen to gauge the audience of any specific iOS 4 features I might consider adding and now that I've been able to visualise these, I thought I'd share them here.

To add a geographic angle to the iOS usage statistics you can see in the second graph that the majority of Delhi City Metro users are from India.

Several weeks after the launch of iOS4 the split between iOS 4 and iOS 3 is 4.x 64% and 3.1.x 31% with iOS 3.2 at 4%. (Delhi iOS Statistics 13-26/8/2010)

Overall Delhi Sale Statistics

1Jul/100

Adding the ‘pull down to refresh’ effect to UITableView

Today I was tooling around with some interface concepts and playing with apps like foursquare and Twitter (previously Tweetie) and I wondered if I could implement something similar to the now famous 'pull down to refresh' method of initialising a refresh of the content within a UITableView.

As it turns out it wasn't as difficult as I thought; There were already a couple of elegant solutions out and about. The first example I found was by Oliver Dropnik, which talked about altering an existing solution posted on git hub by user devindoty called EGOTablePullViewRefresh.

Oliver's code looked like it was a good addition to devindoty's because he had decided to subclass UITableViewController which leads to a much more complete solution that's easier to move between projects. My only issue with Oliver's code was (apart from not supplying a some working source doe) that it refactored a lot of the underlying implementation, where I didn't see too much wrong with it.

I decided to come up with a half way measure; I moved the majority of the grunt work into a subclass of UITableViewController, cleaned up the XCode Demo project included with the source code and pushed it all back up to git hub. If you're at at all interested in this, I'd suggest checking out my fork of the EGOTablePullViewRefresh project on Git Hub.

Get a pull-to-refresh effect like Tweetie 2 and foursuare

   

Switch to our mobile site