File tree 4 files changed +10
-9
lines changed
4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : swift
2
2
xcode_project : ThunderBasics.xcodeproj # path to your xcodeproj folder
3
- osx_image : xcode11.6
3
+ osx_image : xcode12
4
4
env :
5
5
global :
6
6
- LC_CTYPE=en_US.UTF-8
7
7
- LANG=en_US.UTF-8
8
8
matrix :
9
9
include :
10
10
- xcode_scheme : ThunderBasics-iOS
11
- xcode_destination : platform=iOS Simulator,OS=13.6 ,name=iPhone 11 Pro Max
11
+ xcode_destination : platform=iOS Simulator,OS=14.0 ,name=iPhone 11 Pro Max
12
12
- xcode_scheme : ThunderBasics-macOS
13
13
xcode_destination : platform=macOS
Original file line number Diff line number Diff line change 1
1
# Thunder Basics
2
2
3
- [ ![ Build Status] ( https://travis-ci.org/3sidedcube/ThunderBasics.svg )] ( https://travis-ci.org/3sidedcube/ThunderBasics ) [ ![ Swift 5.2 ] ( http://img.shields.io/badge/swift-5.2 -brightgreen.svg )] ( https://swift.org/blog/swift-5-2 -released/ ) [ ![ Apache 2] ( https://img.shields.io/badge/license-Apache%202-brightgreen.svg )] ( LICENSE.md )
3
+ [ ![ Build Status] ( https://travis-ci.org/3sidedcube/ThunderBasics.svg )] ( https://travis-ci.org/3sidedcube/ThunderBasics ) [ ![ Swift 5.3 ] ( http://img.shields.io/badge/swift-5.3 -brightgreen.svg )] ( https://swift.org/blog/swift-5-3 -released/ ) [ ![ Apache 2] ( https://img.shields.io/badge/license-Apache%202-brightgreen.svg )] ( LICENSE.md )
4
4
5
5
Thunder Basics is a set of useful utilities for handling basic iOS development tasks.
6
6
@@ -10,7 +10,7 @@ Setting up your app to use ThunderBasics is a simple and quick process. You can
10
10
11
11
## Carthage
12
12
13
- - Add ` github "3sidedcube/ThunderBasics" == 1.8 .0 ` to your Cartfile.
13
+ - Add ` github "3sidedcube/ThunderBasics" == 1.9 .0 ` to your Cartfile.
14
14
- Run ` carthage update --platform ios ` to fetch the framework.
15
15
- Drag ` ThunderBasics ` into your project's _ Linked Frameworks and Libraries_ section from the ` Carthage/Build ` folder.
16
16
- Add the Build Phases script step as defined [ here] ( https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos ) .
Original file line number Diff line number Diff line change 854
854
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
855
855
MACH_O_TYPE = mh_dylib;
856
856
MACOSX_DEPLOYMENT_TARGET = 10.12;
857
- MARKETING_VERSION = 1.7 .0;
857
+ MARKETING_VERSION = 1.9 .0;
858
858
PRODUCT_BUNDLE_IDENTIFIER = com.threesidedcube.ThunderBasicsMac;
859
859
PRODUCT_NAME = ThunderBasics;
860
860
SDKROOT = macosx;
884
884
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
885
885
MACH_O_TYPE = mh_dylib;
886
886
MACOSX_DEPLOYMENT_TARGET = 10.12;
887
- MARKETING_VERSION = 1.7 .0;
887
+ MARKETING_VERSION = 1.9 .0;
888
888
PRODUCT_BUNDLE_IDENTIFIER = com.threesidedcube.ThunderBasicsMac;
889
889
PRODUCT_NAME = ThunderBasics;
890
890
SDKROOT = macosx;
1080
1080
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1081
1081
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1082
1082
MACH_O_TYPE = mh_dylib;
1083
- MARKETING_VERSION = 1.8 .0;
1083
+ MARKETING_VERSION = 1.9 .0;
1084
1084
ONLY_ACTIVE_ARCH = NO;
1085
1085
PRODUCT_BUNDLE_IDENTIFIER = "com.threesidedcube.$(PRODUCT_NAME:rfc1034identifier)";
1086
1086
PRODUCT_NAME = ThunderBasics;
1109
1109
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
1110
1110
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
1111
1111
MACH_O_TYPE = mh_dylib;
1112
- MARKETING_VERSION = 1.8 .0;
1112
+ MARKETING_VERSION = 1.9 .0;
1113
1113
PRODUCT_BUNDLE_IDENTIFIER = "com.threesidedcube.$(PRODUCT_NAME:rfc1034identifier)";
1114
1114
PRODUCT_NAME = ThunderBasics;
1115
1115
SKIP_INSTALL = YES;
Original file line number Diff line number Diff line change @@ -77,11 +77,12 @@ public class ScaleBasedConstraint: NSLayoutConstraint {
77
77
open override func prepareForInterfaceBuilder( ) {
78
78
79
79
super. prepareForInterfaceBuilder ( )
80
+ // We don't set layer.shadowColor here because it clashes when compiling
81
+ // with `UILabel`'s own `shadowColor` property.
80
82
layer. cornerRadius = cornerRadius
81
83
layer. borderColor = borderColor? . cgColor
82
84
layer. borderWidth = borderWidth
83
85
layer. shadowRadius = shadowRadius
84
- layer. shadowColor = shadowColor? . cgColor
85
86
layer. shadowOpacity = shadowOpacity
86
87
}
87
88
You can’t perform that action at this time.
0 commit comments