Skip to content

Commit

Permalink
Merge pull request #368 from Rightpoint/bugfix/stop-exporting-table-v…
Browse files Browse the repository at this point in the history
…iew-alias

Stop exporting table view compatibility alias
  • Loading branch information
Zev Eisenberg authored Jul 1, 2019
2 parents 5252e15 + 9715a85 commit aaba2ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
6 changes: 5 additions & 1 deletion Example-iOS/StyleViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ class StyleViewController: UITableViewController {

override func viewDidLoad() {
super.viewDidLoad()
tableView.rowHeight = UITableView.automaticDimension
#if swift(>=4.2)
tableView.rowHeight = UITableView.automaticDimension
#else
tableView.rowHeight = UITableViewAutomaticDimension
#endif
tableView.estimatedRowHeight = 50
}

Expand Down
6 changes: 0 additions & 6 deletions Sources/Compatibility.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,6 @@

}

extension UITableView {

public static let automaticDimension = UITableViewAutomaticDimension

}

#endif
#endif
#endif
Expand Down

0 comments on commit aaba2ef

Please sign in to comment.