Selaa lähdekoodia

Fixing warnings caused by implicit property attributes

Mattt Thompson 12 vuotta sitten
vanhempi
commit
321a2af79d
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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;