Преглед изворни кода

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;