티스토리 뷰
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:31https://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
'macOS, iOS' 카테고리의 다른 글
Enter passphrase for key '/Users/userName/.ssh/id_rsa': (0) | 2019.07.10 |
---|---|
UIVisualEffectView로 블러처리하기 (0) | 2019.07.09 |
CGRectMake를 어떻게 수정할까 (0) | 2019.07.09 |
일급객체란? (0) | 2019.07.09 |
Equatable (0) | 2019.07.08 |