Is there any way to add a second parameter in a custom UIView class in the drawRect method?
I am currently using a UIView to draw a text string but the text itself is set in the drawRect method. Is there any way to pass in the text variable in something like
- (void) drawRect:(CGRect)rect(NSString *)text
and if not are there any alternative work arounds?
Thanks