Skip to content

Commit fff8e7c

Browse files
committed
[fix] copy strings instead of retaining them
1 parent 106f04b commit fff8e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/MPNumericTextField.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ IB_DESIGNABLE
4747
@property (nonatomic, strong) IBInspectable UIColor *placeholderColor;
4848
@property (nonatomic, assign) MPNumericTextFieldType type;
4949
@property (nonatomic, strong) NSLocale *locale;
50-
@property (nonatomic, strong) NSString *currencyCode;
50+
@property (nonatomic, copy) NSString *currencyCode;
5151
@property (nonatomic, assign) NSNumber *numericValue;
5252
@property (nonatomic, readonly) id<UITextFieldDelegate> forwardDelegate;
5353

0 commit comments

Comments
 (0)