Releases: 3sidedcube/ThunderBasics
Releases · 3sidedcube/ThunderBasics
v2.1.0
v2.0.1
v2.0.0
Release v2.0.0
See PR (#57) for details.
Breaking Changes
@IBDesignable
properties added via extension of UIView
have been removed. In order to migrate these correctly we suggest:
- Run the
IBMigrationTool
script now found in this project. - Fix any compiler errors within code. All of the properties removed have
CALayer
equivalents as all they did was map down to the layer. - Move any
borderColor
orshadowColor
user defined attributes into code
*Note: * previously UIView.cornerRadius
would set masksToBounds
based on the cornerRadius
property being set to a non-zero value:
/**
The corner radius of the view
*/
@IBInspectable var cornerRadius: CGFloat {
get {
return layer.cornerRadius
}
set {
layer.cornerRadius = newValue
layer.masksToBounds = newValue > 0
}
}
You may have UI in your app that relies on this behaviour, in particular UIImageView
needs masksToBounds = true
to clip the image to it's corner radius, as well as some container views e.t.c.
v1.9.0
In this release we've:
- Added support for the Swift 5.3 compiler and Xcode 12
v1.8.0
v1.7.0
v1.6.0
v1.5.2
Recompiled binary for Swift 5.2.2
v1.5.1
This release is for re-compiling with the Swift 5.2 compiler