http://developer.apple.com/iPhone/library/samplecode/Reflection/index.html