and ios6 cookbook
and iOSProgramming chapter 7