I see APIs in Quartz for drawing lines and circles. But all I want to do is to specify the (x,y) cartesian coordinate to color a pixel a particular value. How do I do that
swift 3 :
UIRectFill(CGRect(x: x, y: y, width: 1, height: 1))