File tree 3 files changed +8
-2
lines changed
Examples/Objective-C/XLForm.xcodeproj
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 637
637
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
638
638
GCC_WARN_UNUSED_FUNCTION = YES;
639
639
GCC_WARN_UNUSED_VARIABLE = YES;
640
- IPHONEOS_DEPLOYMENT_TARGET = 7 .0;
640
+ IPHONEOS_DEPLOYMENT_TARGET = 8 .0;
641
641
ONLY_ACTIVE_ARCH = YES;
642
642
SDKROOT = iphoneos;
643
643
};
669
669
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
670
670
GCC_WARN_UNUSED_FUNCTION = YES;
671
671
GCC_WARN_UNUSED_VARIABLE = YES;
672
- IPHONEOS_DEPLOYMENT_TARGET = 7 .0;
672
+ IPHONEOS_DEPLOYMENT_TARGET = 8 .0;
673
673
SDKROOT = iphoneos;
674
674
VALIDATE_PRODUCT = YES;
675
675
};
Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ - (BOOL)canBecomeFirstResponder
59
59
60
60
-(BOOL )becomeFirstResponder
61
61
{
62
+ if (self.isFirstResponder ){
63
+ return [super becomeFirstResponder ];
64
+ }
62
65
_beforeChangeColor = self.detailTextLabel .textColor ;
63
66
BOOL result = [super becomeFirstResponder ];
64
67
if (result){
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ - (BOOL)canBecomeFirstResponder
42
42
43
43
-(BOOL )becomeFirstResponder
44
44
{
45
+ if (self.isFirstResponder ){
46
+ return [super becomeFirstResponder ];
47
+ }
45
48
_beforeChangeColor = self.detailTextLabel .textColor ;
46
49
BOOL result = [super becomeFirstResponder ];
47
50
if (result){
You can’t perform that action at this time.
0 commit comments