NSCustomView This example shows the creation of two custom NSViews, which each paint themselves via different mechanisms. One overrides the draw method and handles the painting there. One arranges a set of Core Graphics layers to handle the drawing.