I know the idea of a DI container scares a lot of people though! I like it as a declarative approach personally
Conversation
Replying to
Oh, no, I like that too. I just wouldn’t override UIStoryboard to do it—too dangerous. That thing’s coupled all over the place.
Replying to
storyboards don’t provide many good seams for it though :( where would you put the code that supplies dependencies?
I’d use composition instead of inheritance. Make a “wireframe” which composes a UIStoryboard and your own logic.

