Swift 4
Closed this issue · 3 comments
sarrathy commented
Declarations from extensions cannot be overridden yet
MikeNatty commented
Have just encountered this. Will attempt a fix.
MikeNatty commented
expose the base class to objc:
@objcMembers
open class CRRefreshComponent: UIView {
....
}
MikeNatty commented
OT, but a Quick-n-dirty solution to the other Swift 4 compilation issues:
- declare the UIColor extensions methods public. e.g.
public convenience init(rgba: String, defaultColor: UIColor = UIColor.clear) {
...
}