2005-01-18 Objective-C のgetterとsetter 最近気づいた字面上のはなし。 - (void) setFoo: (Foo*) foo; - (Foo*) foo; Objective-C では、setterの前半を削ると引数部分をgetterに出来る。