1.
@符号在参数前代表它是一个object—c对象
2.
一般一个完整类包括2个文件.h和.m
.h定义类
.m实现类
3.
metod就是传递messages给Object
发消息=调函数
4.
- (void)someMethod;
The minus sign (-) at the front of the method name indicates that it is an instance method, which can be calledon any instance of the class.
符号(-)表明这是个实例函数,需要被实例化后调用
+ 类似静态函数