Skip to content

Commit 1854bd4

Browse files
author
Martin Barreto
committedJul 25, 2015
minor fix.
1 parent bb1d4be commit 1854bd4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
 

‎Examples/Objective-C/XLForm.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@
637637
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
638638
GCC_WARN_UNUSED_FUNCTION = YES;
639639
GCC_WARN_UNUSED_VARIABLE = YES;
640-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
640+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
641641
ONLY_ACTIVE_ARCH = YES;
642642
SDKROOT = iphoneos;
643643
};
@@ -669,7 +669,7 @@
669669
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
670670
GCC_WARN_UNUSED_FUNCTION = YES;
671671
GCC_WARN_UNUSED_VARIABLE = YES;
672-
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
672+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
673673
SDKROOT = iphoneos;
674674
VALIDATE_PRODUCT = YES;
675675
};

‎XLForm/XL/Cell/XLFormDateCell.m

+3
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ - (BOOL)canBecomeFirstResponder
5959

6060
-(BOOL)becomeFirstResponder
6161
{
62+
if (self.isFirstResponder){
63+
return [super becomeFirstResponder];
64+
}
6265
_beforeChangeColor = self.detailTextLabel.textColor;
6366
BOOL result = [super becomeFirstResponder];
6467
if (result){

‎XLForm/XL/Cell/XLFormInlineSelectorCell.m

+3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ - (BOOL)canBecomeFirstResponder
4242

4343
-(BOOL)becomeFirstResponder
4444
{
45+
if (self.isFirstResponder){
46+
return [super becomeFirstResponder];
47+
}
4548
_beforeChangeColor = self.detailTextLabel.textColor;
4649
BOOL result = [super becomeFirstResponder];
4750
if (result){

0 commit comments

Comments
 (0)
Please sign in to comment.