I have a simple UIView
subclass where I place a UILabel
within, in order to give such UIView
a certain frame, background color and text format for its label from a UIViewController
.
I'm reading the View Programming Guide for iOS but there are some things that I'm not fully understanding... when your view has only system standard subviews, such my UILabel
, should I override the drawRect:
method? Or is that only intended for Core Animation
staff? If I shouldn't setup standard subviews within such method, what is the correct place to do so? Should I then override the init
method?
Thanks in advance