1.IOS消息机制
消息能够接受参数
消息可以嵌套调用
消息可以发送给Objective-C对象,也可以发送给类
(1)消息的参数
一个没有参数的消息是这样的
[object methodWithoutParamerer]
若带有参数
[object methodWithOneParameter:value]
若带有多个参数
[object methodWithFirstParamether:value1 withSecondParamerer:value2]
(2)消息的嵌套
[textView setTextColor:[UIColor whiteColor]]