Skip to content

Commit

Permalink
Update simple example for 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Baris Sencan committed Feb 26, 2015
1 parent 7bdb608 commit 9ad9e07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Examples/SimpleExample/Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "isair/ManualLayout" "0.2.0"
github "isair/ManualLayout" "0.2.1"
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ internal final class ExampleViewController: UIViewController {

override func viewWillLayoutSubviews() {
titleLabel.sizeToFit()
titleLabel.top = 40
titleLabel.top = top + 20
titleLabel.centerX = view.centerX
subtitleLabel.sizeToFit()
subtitleLabel.top = titleLabel.bottom + 8
subtitleLabel.centerX = view.centerX
yinView.top = view.height / 2
yinView.right2 = view.width
yinView.bottom2 = view.height
yinView.bottom2 = bottom
}

private func generateTextStyle(smaller: Bool = false) -> [NSObject: AnyObject] {
Expand Down

0 comments on commit 9ad9e07

Please sign in to comment.