I am trying to subclass a custom UIButton
:
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
How do I do that? Also how do I do:
[self performSelectorOnMainThread:@selector(setBackgroundImage:forState:) withObject:image waitUntilDone:YES];
is this possible?