Arun Stephens

Images showing on iPhone Simulator but not device?

If you’re working on an app (Zoopcast, say) and you’re finding that images that you’ve got in your application bundle are showing up when you’re running in the simulator, but not on the device, check the case of your filenames. I thought there might have been some sort of image format problem that [UIImage imageNamed:] uses, but I was wrong. It was simple case sensitivity. I’m guessing that my computer has a case-insensitive filesystem whereas Read post »

WCF adding trailing slashes

I’ve run into some weird issues, which I’ve finally figured out, when building the Zoopcast web service, which will eventually become the REST API for Zoopcast when we’ve got a useful number of users and a stable API. The problem is that if there is an empty URI, WCF expects a trailing slash, and will helpfully redirect you to it. That’s what you’d usually expect when you get to a directory on a web server. Read post »

CLLocationCoordinate2DMake is new in iOS 4

I hadn’t done any Core Location work before iOS 4 came out. But now I am. And I ran into a very odd EXCBADACCESS bug when running on an iPod touch that’s running iPhone OS 3.1.3. I pinpointed the problem (actually, I think it was only a problem, because I did a lot of other refactoring to get to this point) was with CLLocationCoordinate2DMake. And I finally realised when looking in the header that it’s Read post »

Nexus One update trashes Twitter?

Here’s a weird one. I have just updated my Nexus One to build FRF83D. And the official Twitter app has disappeared. Completely. I had to reinstall it from Android Market. The app was preinstalled with the previous build, and you couldn’t get rid of it. But removing it when it is already installed and being used, without asking, is a little weird. I don’t know if it’s just my phone (and if so, what did I Read post »

To Three20 or not to Three20...

My answer, and one I wish I came to a bit earlier, is not to Three20. And the reason is this. It is a completely different architecture to the native UIKit framework. Which is fine, it’s supposed to be. But because of this, making what should be minor changes to the appearance of a table view cell, for example, can become troublesome. Some of the problems I had were because of the lack of documentation. I’m not complaining Read post »