浏览代码

Fixing warnings caused by implicit property attributes

Mattt Thompson 12 年之前
父节点
当前提交
321a2af79d
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Example/Classes/Models/User.h

+ 3 - 3
Example/Classes/Models/User.h

@@ -26,9 +26,9 @@ extern NSString * const kUserProfileImageDidLoadNotification;
 
 @interface User : NSObject
 
-@property (readonly) NSUInteger userID;
-@property (readonly) NSString *username;
-@property (unsafe_unretained, readonly) NSURL *avatarImageURL;
+@property (readonly, nonatomic) NSUInteger userID;
+@property (readonly, nonatomic) NSString *username;
+@property (readonly, nonatomic, unsafe_unretained) NSURL *avatarImageURL;
 
 - (id)initWithAttributes:(NSDictionary *)attributes;