Thoughts and Code (in no particular order)
Master Your Domain with Swift
In programing we're mostly just taking some input and producing some output. Wether we're talking about gestures on a screen, processing a photo with some Core Image filters, or just formatting some text. One important aspect of this and an area where we sometimes get a little lazy, is in considering the domain, or the set of *valid* inputs.
26 March 2015 — Read more
UICollectionView CocoaHeads SLC
For those of you who were able to attend my UICollectionView presentation at CocoaHeads SLC on the 2nd of July here is the sample code I promised.
17 July 2013 — Read more
UIScrollView: The Workhorse of iOS
Whenever I set out to do anything that involves panning, pinching or zooming, I always ask myself: "Can I just use a UIScrollView for that?"
07 May 2013 — Read more
Visiting Categories
You're all familiar with the visitor pattern. One of its limitations is that it's only really useful for classes you are writing yourself. That is, unless you have a runtime that allows you to add methods to existing classes like the Objective-C runtime allows via categories.
06 May 2013 — Read more