I have subclassed NSView and I added it to another view like this:
clockT = [[CustomView alloc]initWithFrame:NSMakeRect(0, 0, 156, 155)];
[holderView addSubview:clockT];
[clockT setNeedsDisplay:YES];
clockT.tZone = @"Canada/Yukon";
The view was created and added to holderView but not visible. It is visible during resizing the Window. Note: I am using a transparent Window.