code samples to accompany Cocoaheads talk