Skip to content

Commit 745a0b2

Browse files
author
Daniel Beard
committed
Property explicitness
1 parent e1e0245 commit 745a0b2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

RegExCategories.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,16 @@
8181
*/
8282

8383
@interface RxMatch : NSObject
84-
@property (retain) NSString* value; /* The substring that matched the expression. */
85-
@property (assign) NSRange range; /* The range of the original string that was matched. */
86-
@property (retain) NSArray* groups; /* Each object is an RxMatchGroup. */
87-
@property (retain) NSString* original; /* The full original string that was matched against. */
84+
@property (nonatomic, copy) NSString* value; /* The substring that matched the expression. */
85+
@property (nonatomic, assign) NSRange range; /* The range of the original string that was matched. */
86+
@property (nonatomic, copy) NSArray* groups; /* Each object is an RxMatchGroup. */
87+
@property (nonatomic, copy) NSString* original; /* The full original string that was matched against. */
8888
@end
8989

9090

9191
@interface RxMatchGroup : NSObject
92-
@property (retain) NSString* value;
93-
@property (assign) NSRange range;
92+
@property (nonatomic, copy) NSString* value;
93+
@property (nonatomic, assign) NSRange range;
9494
@end
9595

9696

0 commit comments

Comments
 (0)