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

iOS 13 new UITableViewStyle #275

Open
br-zm opened this issue Oct 14, 2019 · 1 comment
Open

iOS 13 new UITableViewStyle #275

br-zm opened this issue Oct 14, 2019 · 1 comment

Comments

@br-zm
Copy link

br-zm commented Oct 14, 2019

RATreeView does not handle the new UITableViewStyle UITableViewStyleInsetGrouped in the method below and the default is not handled.

+ (RATreeViewStyle)treeViewStyleForTableViewStyle:(UITableViewStyle)tableViewStyle
{
  switch (tableViewStyle) {
    case UITableViewStylePlain:
      return RATreeViewStylePlain;
    case UITableViewStyleGrouped:
      return RATreeViewStyleGrouped;
  }
}

and therefore compilation fails as control may reach end of non-void function.

@mgfjx
Copy link

mgfjx commented Oct 17, 2019

pod 'RATreeView', :git => 'https://github.com/mgfjxxiexiaolong/RATreeView'
可以暂时先用我修改的, 估计作者体验生活去了,没时间维护了,简单的加了default:

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

2 participants