Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Views aren't straight #8

Open
lfarah opened this issue May 24, 2016 · 0 comments
Open

Views aren't straight #8

lfarah opened this issue May 24, 2016 · 0 comments

Comments

@lfarah
Copy link
Contributor

lfarah commented May 24, 2016

screen shot 2016-05-24 at 12 07 41 am

My code:

let width = view.frame.width - 30
let myView1 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60)
myView1.backgroundColor = .redColor()

let myView2 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60)
myView2.backgroundColor = .greenColor()

let myView3 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60)
myView3.backgroundColor = .blueColor()

let alert = TKSwarmAlert()
alert.show(type: .BrightBlur, views: [myView1, myView2, myView3])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant