Ray's playground

 

2010年10月18日

Categories and Protocols(Chapter 11 of Programming in Objective-C 2.0)

摘要: codeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1#import“Fraction.h”2@interfaceFraction(MathOps)3-(Fraction*)add:(Fraction*)f;4-(Fract... 阅读全文

posted @ 2010-10-18 21:37 Ray Z 阅读(264) 评论(0) 推荐(0) 编辑

More on Variables and Data Types(Chapter 10 of Programming in Objective-C 2.0)

摘要: You can put four directives in front of your instance variables when they are declaredin the interface section, to more precisely control their scope:  @protected—Methods defined in the class an... 阅读全文

posted @ 2010-10-18 20:40 Ray Z 阅读(184) 评论(0) 推荐(0) 编辑

导航