See title. It feels dirty, but is this the recommended appr开发者_StackOverflow社区oach?
I understand why you might feel this way, but don't confuse a xib with the view. The xib may contain your View, but the xib itself isn't the view.
I personally don't use the interface builder, but as far as I am concerned it doesn't matter how you create the controller. I understand your point, but I wouldn't say that the interface builder's ability to create controllers violates the MVC pattern. It's still MVC, the only thing is that the controllers are created with a tool that you would expect to only create views with.
精彩评论