Skip to content

Swift 5 #268

@zhouhao27

Description

@zhouhao27

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions