There was an error while loading. Please reload this page.
2 parents c5c60df + d24b33f commit b9dc665Copy full SHA for b9dc665
ios/RNCSegmentedControl.h
@@ -11,7 +11,6 @@
11
12
@interface RNCSegmentedControl : UISegmentedControl
13
14
-@property (nonatomic, copy) NSArray<NSString *> *values;
15
@property (nonatomic, assign) NSInteger selectedIndex;
16
@property (nonatomic, copy) RCTBubblingEventBlock onChange;
17
ios/RNCSegmentedControl.m
@@ -25,7 +25,6 @@ - (instancetype)initWithFrame:(CGRect)frame
25
26
- (void)setValues:(NSArray<NSString *> *)values
27
{
28
- _values = [values copy];
29
[self removeAllSegments];
30
for (NSString *value in values) {
31
[self insertSegmentWithTitle:value atIndex:self.numberOfSegments animated:NO];
0 commit comments