Open fabiopelosin opened 12 years ago
That's cool!
Have you tried the other cells too? They also have initialization code on initWithStyle: method.
I haven't tried the other cells but I think that the same logic applies.
One note, commonInit
is often used in this scenario and experienced some difficulties after implemented this change because I was overriding it :-) What do you think about name-spacing it as prettyCommonInit
?
Ok, so the other cells would need to extract the initialization from the constructor and add a new initWithCoder. Could you try that? I'm not familiar with Storyboards, as I've been always giving support to iOS 4 and as a result I've never used it.
It's ok for me to change the common initializer. You can choose prettyCommonInit as suggest. It's your contribution, so feel free :)
I'm affected of this issue too. i've merged this pull request and now custom cells works as expected from storyboards
UIStoryboard calls
initWithCoder:
.