Skip to content

Commit

Permalink
Remove addSubview calls from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
alldritt committed Jan 13, 2018
1 parent d1ab684 commit 6cf397a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class ViewController: FormViewController {
// Construct the view for the cell
cell.view = UIView(frame: CGRect(x: 0, y: 0, width: 100, height: 200))
cell.view?.backgroundColor = UIColor.orange
cell.contentView.addSubview(cell.view!)
}
}
}
Expand Down Expand Up @@ -55,7 +54,6 @@ class ViewController: FormViewController {

cell.view = nib.instantiate(withOwner: self, options: nil)[0] as? MyView
cell.view?.backgroundColor = cell.backgroundColor
cell.contentView.addSubview(cell.view!)
}
}
}
Expand Down

0 comments on commit 6cf397a

Please sign in to comment.