Turns out it was a problem with the nib file, which was not a problem for the "old way" of registering nibs.
I recreated a new swift class + xib file and then it worked. Couldn't see what the difference was though...
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: