NSView category for dynamic block/method drawing