[cleanup] [ios] Fixed non-copying property of immutable NSCopying type.

This commit is contained in:
Ilya Grechuhin 2017-01-10 16:20:25 +03:00
parent 0f71cb83de
commit 05651dcc61
6 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
@interface UIButton (RuntimeAttributes)
@property(nonatomic) NSString * localizedText;
@property(copy, nonatomic) NSString * localizedText;
- (void)setBackgroundColorName:(NSString *)colorName;
- (NSString *)backgroundColorName;

View file

@ -1,3 +1,3 @@
@interface UILabel (RuntimeAttributes)
@property (nonatomic) NSString * localizedText;
@property (copy, nonatomic) NSString * localizedText;
@end

View file

@ -2,7 +2,7 @@
@interface UITextField (RuntimeAttributes)
@property (nonatomic) NSString * localizedPlaceholder;
@property (copy, nonatomic) NSString * localizedPlaceholder;
@property (nonatomic) MWMInputValidator * validator;
@property (nonatomic, readonly) BOOL isValid;

View file

@ -6,6 +6,6 @@
@interface MWMTextView (RuntimeAttributes)
@property (nonatomic) NSString * localizedPlaceholder;
@property (copy, nonatomic) NSString * localizedPlaceholder;
@end

View file

@ -3,7 +3,7 @@
@interface WebViewController : MWMViewController <UIWebViewDelegate>
@property (nonatomic) NSURL * m_url;
@property (nonatomic) NSString * m_htmlText;
@property (copy, nonatomic) NSString * m_htmlText;
// Set to YES if external browser should be launched
@property (nonatomic) BOOL openInSafari;

View file

@ -11,6 +11,6 @@
@property (nonatomic) BOOL selected;
@property (nonatomic) UIImage * iconImage;
@property (nonatomic) NSString * localizedText;
@property (copy, nonatomic) NSString * localizedText;
@end