Blog Archives

Drawing in Swift Cocoa

Drawing in Swift – Cocoa In this post we will be implementing some simple drawing using Swift Cocoa. In this sample we have 6 Custom Views and each is a mapped to a custom subclass of NSView Swift – Drawing

Posted in Cocoa, Swift Tagged with: , , , ,

NSBezierPath Curves and Graphs

NSBezierPath Curves and Graphs In this sample code we will create the below output using NSBezierPath. Here we primarily using moveToPoint , lineToPoint & curveToPoint methods of NSBezierPath // // GraphView.h // KSSineCurve // // Created by Debasis Das on 5/13/14.

Posted in Cocoa, Objective C, Swift Tagged with: , , ,

Recent Posts

Hit Counter provided by technology news