macOS, iOS
'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type
SweetDev
2019. 7. 9. 15:31
https://stackoverflow.com/questions/39806339/uiview-iskindofclass-in-swift-3/40431014
UIView isKindOfClass in Swift 3
So I have this code: if view.isKindOfClass(classType){...} This worked fine in Swift 2, but now that I'm in Swift 3, I get this error: Value of type UIView has no member isKindOfClass How do I...
stackoverflow.com