A base class for NSView