review of sample source code for iOS