property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
You own any object you create
alloc
, newObject
, or mutableCopy
).
一定要注意命名规范,不能以alloc,new,copy,mutableCopy 作为开头命名,比如:newPassword,
stephen510 博主文章分类:iphone ©著作权
You own any object you create
alloc
, newObject
, or mutableCopy
).
一定要注意命名规范,不能以alloc,new,copy,mutableCopy 作为开头命名,比如:newPassword,
下一篇:iOS自定义的模态提示对话框
作用:给一段指定的内存空间起名,方便操作这段内存语法:数据类型 变量名 = 初始值;eg。
标题:命名空间 支持多范型编程 引用的简洁性 主体的简洁性 优劣比较 C++ +1 +1 -1 9 Java -1 +1 -1 8
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M