I was able to to do something like this (using version 4.10.1
):
extension UIImageView {
func test() {
self.kf.indicatorType = .activity
}
}
now with version 5.0.0 this is no longer possible with the following error:
Cannot assign to property: 'self' is immutable
I still can set it normally from outside the extension. Is there a way to set the indictorType from inside the UIImageView
extension?