Skip to content

Commit

Permalink
Remove separator from tableviews (#46)
Browse files Browse the repository at this point in the history
- Table view should not be responsible for cell design.
  • Loading branch information
elland committed Nov 2, 2016
1 parent f5a4b52 commit c2b1a77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/SweetTableController.swift
Expand Up @@ -7,6 +7,7 @@ open class SweetTableController: UIViewController {
public init(style: UITableViewStyle = .plain) {
let view = UITableView(frame: .zero, style: style)
view.translatesAutoresizingMaskIntoConstraints = false
view.separatorStyle = .none
self.tableView = view

super.init(nibName: nil, bundle: nil)
Expand Down

0 comments on commit c2b1a77

Please sign in to comment.