- 3
- 0
- 约2.04万字
- 约 111页
- 2017-05-27 发布于未知
- 举报
苹果软件开发基础02-objectivec语言介绍.pdf
IPHONE程序设计基础
2-4/18
田波 tianbo@ /bobtian
厦门大学嘉庚学院 2013秋
介绍内容
• OOP 术语
• C和Objective C 的类型和变量
• NSString 对象
• 类、方法、属性、继承
• 构造器和初始化
• 选择器
• Category
• Protocol
• 集合对象
• 内存管理
OOP 术语
• 类Class: defines the grouping of data and
code, the “type” of an object.
• 实例Instance: a specific allocation of a class.
• 方法Method: a “function ” that an object
knows how to perform.
• 成员(变量)Instance Variable (or “ivar”):
a specific piece of data belonging to an
object.
• 封装Encap
原创力文档

文档评论(0)