Swift 5
Opened this issue · 4 comments
zhouhao27 commented
Are you going to support Swift 5? I got the error:
Showing All Messages
/Pods/RATreeView/RATreeView/RATreeView/Private Files/RATreeView+Enums.m:106:1: Control may reach end of non-void function
The fix is simple:
switch (tableViewStyle) {
case UITableViewStylePlain:
return RATreeViewStylePlain;
case UITableViewStyleGrouped:
return RATreeViewStyleGrouped;
default:
return RATreeViewStylePlain;
}
Is it possible to fix? Thanks.
cqswzqcj commented
iOS 13
Brainyoo commented
I added a pull request.
In this repository, you also get the fix:
https://github.com/Brainyoo/RATreeView.git
rodrigobaroni commented
I added a pull request.
In this repository, you also get the fix:
https://github.com/Brainyoo/RATreeView.git
In my case, simple changing:
pod 'RATreeView', '~>2.1.2'
to
pod "RATreeView", "~> 2.1.3"
doens't work, i needed to reference github repository
pod 'RATreeView', :git => 'https://github.com/Brainyoo/RATreeView'
Brainyoo commented
That's correct, because the pull request isn't merged.
pod 'RATreeView', :git => 'https://github.com/Brainyoo/RATreeView', :tag => 'v2.1.3'