Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import UIKit
- import XCPlayground
- let view = UIView(frame:CGRect(x: 0, y: 0, width: 320, height: 320))
- XCPShowView("This is the title!", view)
- let rect = CGRect(x: 0, y: 0, width: 320, height: 320)
- func addSubview(rect: UIVIew)
- XCPShowView(rect)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement