Add a subview in xib to a custom UIView
===

First, I have a exist Asset.m/Asset.h, it is the subclass of UIView. Then I create a empty xib file and change xib's file's owner class to Asset. The I create a view and a label to this xib, and I can drag and create IBOutlet in UIView.

    IBOutlet UIView *videoOverlay;
    IBOutlet UILabel *videoTimeLable;

Then I want to add videoOverlay to Asset.m's view using addSubview.

    self = [super initWithFrame:CGRectMake(0, 0, 0, 0)];
            [self addSubview:videoOverlay];

But the view -- videoOverlay do not show up.

I print out size of videoOverlay, all 0:

        NSLog(@"width =%f height= %f", videoOverlay.frame.size.width, videoOverlay.frame.size.height);

Why ?

