One of the fun aspects of iPhone programming is that it challenges and encourages programmers to think about multi-threading and resource constraints. Thus you might notice that apart from improved performance, ComicBookLover 0.4 for iPhone downloads and installs much faster than before. This is because it’s been on a diet!
The original Alpha release made use of FaceBook’s Three20 framework, which was useful to bootstrap rapid development of an app, but eventually I would have to write my own code especially as I was only using some of Three20’s image viewing classes, which were rather generic, and trying to subclass unfamiliar code can be a painful exercise. If you look around, you might notice that one or two other iPhone comic readers make use of Three20…
It was also easy to reduce the overall app bundle size by simply removing two free comics from the distribution. Instead, the app now includes one free comic at a decent resolution, which looks great on both iPhone and iPad.
The result is an app which no longer weighs in at over 20MB (the limit for installing apps over 3G), but instead at around 10MB, meaning the app can be installed over 3G as well as WiFi. This limit is worth remembering as AT&T and O2 have announced that they will be removing unlimited downloads from their iPhone data plans once the iPhone 4 ships.