Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import UIKit
  2. import PlaygroundSupport
  3. var vc = UIViewController()
  4. if let v = vc.view {
  5. var 🤔 = UILabel(frame: CGRect(x: 0, y: 0, width: 128, height: 128))
  6. 🤔.center = CGPoint(x: v.frame.width / 2 - 40, y: 120)
  7. 🤔.font = UIFont.systemFont(ofSize: 64)
  8. 🤔.text = "🤔"
  9. 🤔.textAlignment = NSTextAlignment.center
  10. v.addSubview(🤔)
  11. }
  12. PlaygroundPage.current.liveView = vc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement