
2015.03.28
1、 property's synthesized getter follows Cocoa naming convention for returning 'owned' objects
You own any object you create
You create an object using a method whose name begins with “alloc”, “new”, “copy”, or “mutableCopy” (for example, alloc
, newObject
, or mutableCopy
).
一定要注意命名规范,不能以alloc,new,copy,mutableCopy 作为开头命名,比如:newPassword,
2015.04.07
1、@property (assign, nonatomic) NSString *m_08_pushContentValue; // 08、推送消息content的内容(可能发生意想不到的错误,慎用)
@property (strong, nonatomic) NSString *m_08_pushContentValue; // 08、推送消息content的内容
2015.04.10
1、沙盒的路径重启app之后,就会变名字。因此保存文件的时候,不需要保存全路径,只需保存文件名字,然后再次获取沙盒的路径与文件名字组成全路径。
结尾:哈哈