swift版本兼容
youlianchun opened this issue · 5 comments
youlianchun commented
啥时候进行版本迁移? 'Self' is only available in a protocol or as the result of a method in a class;
jkpang commented
你使用的Swift是什么版本,PPBadgeViewSwift 2.1.0在Swift 4.1环境下编译没有问题 @youlianchun
youlianchun commented
最新的,xcode10下,应该是swift4.2
jlaws commented
XCode 10 support requires line 36 of PPBadgeLabel to add the required keyword. Can we get an updated podspec with the fix now that the Xcode 10 GM is out? Thanks for the great library!
jkpang commented
PPBadgeViewSwift release v2.2.0, support Xcode10 and Swift4.2,Thanks for feedback! @jlaws @youlianchun
Thanks @12789 for pull request.