開発のプロが教える Swift標準ガイドブック

渡辺龍司、 富家将己、 鈴木晃、 加藤寛人[著]

丸山弘詩[編集]

ISBN978-4-8399-5354-6

2014/12/24 初版第1刷

 

 

 

サンプルファイル

本書に掲載したサンプルのファイルです。

・使用方法については、書籍の本文をご参照ください。
・サンプルファイルに含まれているイラストおよびプログラムはすべて著作物であり、著作権はそれぞれの著作者にあります。このサンプルファイルはあくまで本書籍学習用として提供されているものです。

===== 1章 =====
セクション 1-3 :Section1_3.playground.zip

===== 2章 =====
セクション 2-2 : Section2_2.playground.zip

===== 3章 =====
セクション 3-1 : chap3/Section3_1.playground.zip
セクション 3-2 : Section3_2.playground.zip
セクション 3-3 : Section3_3.playground.zip
セクション 3-4 : Section3_4.playground.zip
セクション 3-6 : chap3/Section3_6.playground.zip
セクション 3-7 : Section3_7.playground.zip

===== 4章 =====
セクション 4-2 : Section4_2.playground.zip
セクション 4-3 : Section4_3.playground.zip
セクション 4-4 : Section4_4.playground.zip

===== 5章 =====
セクション 5-1 : Section5_1.playground.zip
セクション 5-2 : Section5_2.zip

===== 6章 =====
セクション 6-2-3 : Section6-2-3.zip
セクション 6-2-4 : Section6-2-4.zip

===== 7章 =====
セクション 7-1 : Section7_1_2.zip
セクション 7-4 : chap7/7-4_Sample_SwiftCam.zip

===== 8章 =====
セクション 8-2  : 8-2_SwiftMrb.zip
セクション 8-3-1 : 8-3-1_SwiftJsonSample.zip
セクション 8-3-2 : 8-3-2_AlamofireSample.zip
セクション 8-3-3 : 8-3-3_EmitterKitSample.zip
セクション 8-3-4 : 8-3-4_SurgeSample.zip
セクション 8-3-5 : 8-3-5_GCDKitSample.zip

訂正・補足情報

■初版第1刷の訂正(2015/4/2更新)------------------------------

以下のミスがございました。

ページ 章・節・項 箇所
4 Chap01-1-1 本文15行目 swich switch
16 Chap01-3-1 コード1.5 var count var counter
33 Chap02-1-5 本文下から2行目 swich switch
50 Chap02 コラム「LiteralConvertibleとは」 ListeralConvertible LiteralConvertible
93 Chap03-1-6 本文下から3行目 input inout
109 Chap03-3-3 コード3.35の6行目 return (end - start) + start return (end - start)/2 + start
112 Chap03-3-3 コード3.39の下から2行目 コメントを削除   
307 Chap07-4-5 「キャプチャセッションの開始・停止」の項、第1段落の最後に1文追加。   また、キャプチャセッションのセットアップを1回だけ行うため、viewDidLoad()にsetupCaptureSession()を記述します。
314 Chap07-4-7 コード7.76の下から2行目 if error != nil if error == nil
315 Chap07-4-7 コード7.77の下から5行目 if (error != nil) if (error == nil)
316 Chap07-4-8 コード7.78の上から6行目 if error != nil if error == nil
316 Chap07-4-8 コード7.78の下から3行目 CMSampleBufferRef CMSampleBuffer