Guest User

Untitled

a guest
Dec 13th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. import Cocoa
  2.  
  3. class DrawLine: NSView {
  4. override func draw(_ dirtyRect: NSRect) {
  5. NSBezierPath.strokeLine(from: CGPoint(x: 20, y: 20), to: CGPoint(x: 0, y: 100))
  6. }
  7. }
Add Comment
Please, Sign In to add comment