Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift 5 #268

Open
zhouhao27 opened this issue Aug 15, 2019 · 4 comments
Open

Swift 5 #268

zhouhao27 opened this issue Aug 15, 2019 · 4 comments

Comments

@zhouhao27
Copy link

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
Copy link

iOS 13

@Brainyoo
Copy link

Brainyoo commented Sep 4, 2019

I added a pull request.
In this repository, you also get the fix:
https://github.com/Brainyoo/RATreeView.git

@rodrigobaroni
Copy link

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
Copy link

That's correct, because the pull request isn't merged.

pod 'RATreeView', :git => 'https://github.com/Brainyoo/RATreeView', :tag => 'v2.1.3'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants