News for hackers. Stuff that matters.
Re:Building DSLs in Swift by jawngee on Monday October 15, 2018 @03:55AM (#18218107)
Actually, iOS will automagically load your xib for your view controllers at runtime.

- In the storyboard, delete the root view for the view controller.

- Create a new xib named the same as the view controller's class and that will get loaded without having to do anything additional.

Here's a quick example of what I'm talking about: https://github.com/jawngee/StoryboardWithXibs

There are no comments on this comment yet.