You should override [UIView initWithFrame:]
and [UIView initWithCoder:]
methods (see the UIView Class Reference).
If you always load the view from a NIB, as opposed to manual creation, it's probably better to override awakeFromNib
(see reference).