All Posts For: August, 2009

Aug 13 2009

Xcode Templates

Aaron Hillegass’ last post on initializers for UIViewController was spot-on. In fact, when you come to our iPhone Bootcamp, you’ll learn all about it.

However, the extra typing every time we create a file is a nuisance. When you create a subclass of a UIViewController, chances are you really want to get to work on the important stuff.…

Aug 6 2009

Dot-notation Syntax

When I teach, I always make sure to mention the dot-notation addition to Objective-C 2.0. Then, I make sure to tell the students never to use it ever, ever, ever again. But why? Why this seemingly irrational hatred of dot-notation? Is this a style choice and us “bracketeers” are being hard-headed?…

Aug 4 2009

Apache Page Caching and Multiview

I just wanted to post a quick note to anyone searching for problems with Rails Page Caching with Apache.

We just helped a client through a tricky issue that manifested itself through some strangely generated cached files.

The Problem

A visit to the resource:

  http://example.com/articles  

Would correctly generate the page:

  /path/to/app/public/articles.html  

Subsequent visits would load the cached page.…