Brian’s Brain

I Need a Tagline

Pholio Coder's Guide: Understanding the Source Code for an iPad Photo Gallery

I’ve learned Objective-C, Cocoa Touch, and iPhone / iPad development through the massive amount of community content available on the Internet.

This is my gift back to the Internet: the full source code for Pholio, made available under the Apache license. If you’re new to iPhone / iPad development, then I think you can learn a lot by studying Pholio. It’s large enough to be a “real” program – it’s not just a small sample. But it’s small enough that you can understand how everything works in just a few evenings of study.

What you’re reading is the Pholio Coder’s Guide. It’ll walk you through the ins-and-outs of Pholio. It’s a work in progress, so keep checking back for content updates. You can also follow me on Twitter (@bdewey); I’ll tweet when I’ve made updates to this guide, and also update the blog – so you can watch that or subscribe to the feed.

And if you want to know what Pholio does, check out this video:

…or see the project page.

Table of Contents

  1. Step-by-step: Building Pholio
  2. The Big Picture
  3. How Pholio does it: Picking Pictures
  4. Tiling large images
  5. Tips for effective image resizing
  6. Developing a custom grid control
  7. Maintainability: Unit testing, OCMock, coding conventions