きりかノート 3冊め

おあそびプログラミング

Become An Xcoder の Leopard 版が出た

Mac + Xcode での C/Objecive-C プログラミング入門ガイド「Become An Xcoder」(関根さんによる日本語訳)という PDF が配布されているのを知っている人は多いと思うけど、 その Leopad 版が最近公開されました。今は英語のみで、旧版も Tiger 用として入手可能なままとなっている。

簡単に旧版と目次を比較してみた。テキスト化->diff。

 % diff -w -U1 tig-toc.txt leo-toc.txt
@@ -11,5 +11,6 @@
Declaring a variable
-Mathematical operations
+Data Types
Parentheses
Division
+Booleans
Modulus
@@ -27,2 +28,3 @@
Making it all work
+Shielded variables
04: Printing on screen
@@ -63,3 +65,2 @@
Creating the project
-Creating the GUI
Exploring Interface Builder
@@ -69,3 +70,3 @@
Creating our class
-Creating an instance
+Creating an instance in Interface Builder
Creating connections
@@ -101,3 +102,5 @@
Introduction
-The object lifecycle
+Garbage Collection
+Enabling Garbage collection
+Reference Counting: The object lifecycle
The retain count
@@ -105,3 +108,2 @@
Autorelease
-Garbage Collection
15: Sources of Information

ということで、大きくは変わっていないようだ。目次上で差異のあるところを見ていくと、

  • Booleans は増えた
  • Mathematical operations, Shielded variables, Creating th GUI は両方にあるけれど、目次に差異あり(作成時のミス?)
  • メモリまわりは Leopard での GC について具体的な手順が追加

こんなとこ。