Skip to content

Commit 89f58d3

Browse files
authored
Merge pull request Boris-Em#30 from Boris-Em/patch-1
Fix iOS 10 warnings.
2 parents 4e49b89 + 66152c4 commit 89f58d3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
language: objective-c
2-
osx_image: xcode6.4
3-
# xcode_project: Sample Project/CheckBox.xcodeproj
4-
# xcode_scheme: CheckBoxTests
5-
# xcode_sdk: iphonesimulator
2+
osx_image: xcode7.3
3+
64
script:
7-
- xcodebuild clean build test -project "Sample Project/CheckBox.xcodeproj" -scheme CheckBox -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO
5+
- xcodebuild clean build test -project "Sample Project/CheckBox.xcodeproj" -scheme CheckBox -sdk iphonesimulator9.3 -destination "OS=9.3,name=iPhone 5S" ONLY_ACTIVE_ARCH=NO

Classes/BEMCheckBox.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ NS_ASSUME_NONNULL_BEGIN
1515

1616
/** Tasteful Checkbox for iOS.
1717
*/
18+
#if __IPHONE_OS_VERSION_MAX_ALLOWED > __IPHONE_9_3
19+
IB_DESIGNABLE @interface BEMCheckBox : UIView <CAAnimationDelegate>
20+
#else
1821
IB_DESIGNABLE @interface BEMCheckBox : UIView
22+
#endif
1923

2024
/** The different type of boxes available.
2125
* @see boxType

0 commit comments

Comments
 (0)