Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from Tuccuay/patch-demoframe
Browse files Browse the repository at this point in the history
fix Demo: add frame to red color View
  • Loading branch information
HaloWang committed Apr 28, 2016
2 parents f261d50 + 0647231 commit 076fe77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HaloDemo/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ extension ViewController {
.superView(view)
.backgroundColor(Red)
.cornerRadius(5, borderWidth: 1, borderColor: Red.alpha(0.5))
.frame(x: 100, y: 100, width: 100, height: 100)
}

override func viewWillLayoutSubviews() {
Expand Down

0 comments on commit 076fe77

Please sign in to comment.