■「2-4 条件分岐」の103ページのabs関数の機能の解説
誤:整数の乱数の取得
↓
正:絶対値の取得
■「4-3 テキストフィールド」の190ページの表4-3-2
誤:UITextBorderStyleBevel ベベル
↓
正:UITextBorderStyleBezel ベゼル
■「4-4 テキストビュー」「4-5 スライダーとスイッチ」「4-9 ピッカービュー」のソースコード
TextViewEx.m、SliderEx.m、PickerViewEx.mに不要なretain(ローカル変数でのretain)があったので削除(修正版ソースコード)
■「6-1 カメラとフォトアルバム」のリスト6-1-2 CameraEx.m
//ビューコントローラのビューを開く(5)
//[self presentModalViewController:picker animated:YES];
↓
//ビューコントローラのビューを開く(5)
if ([[UIDevice currentDevice].model rangeOfString:@"iPad"].location==NSNotFound) {
[self presentModalViewController:picker animated:YES];
} else {
UIButton* button=[[self.view subviews] objectAtIndex:1];
UIPopoverController* popoverCtl=[[UIPopoverController alloc]
initWithContentViewController:picker];
[popoverCtl presentPopoverFromRect:[button bounds] inView:button
permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
}