Compilation issue: var current: `Self`
akshardarji opened this issue · 3 comments
akshardarji commented
Hello @KyoheiG3,
'Self' is only available in a protocol or as the result of a method in a class; did you mean 'BlurLayer'?
var current: Self {
presentation() ?? self
}
Hope for your soonest solutions.
- DynamicBlurView pod version: [5.0.2]
- Xcode version: [11.3]
- Your application language: [Swift-4.2]
KyoheiG3 commented
Hi @akshardarji
Can you update Xcode to 11.4 or later? 5.0.2 requires Swift version 5.2.
Thanks.
akshardarji commented
@KyoheiG3 Thanks for your quick response.
I have discussed with my team for upgrading the Xcode 11.4, however, we can't do at the moment because of other dependencies hence can you show me any other way?
Hope for your soonest response.
KyoheiG3 commented
@akshardarji You can try 5.0.3.
Self
means BlurLayer
, So it was changed.
Thanks.