fix variable name and ident in iOS cookbook