Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
什么是 Objective C 属性 (@property) 赋值消息传递符号?
name 是在另一个文件中声明的属性,retain,synthesize ......一切都井井有条。
在 main.mi 中有这一行
计算器.name=@"马丁";
与此等效的消息传递是什么?如何通过消息传递设置属性,语法是什么?
[calculator setName: @"Martin"];
http://cocoacast.com/?q=node/103