 <p>Found my problem, had to specify the owner (self) when loading my nib:</p> <pre><code>self.view.addSubview(UINib(nibName: "KeyboardView", bundle: nil).instantiateWithOwner(self, options: nil)[0] as UIView) </code></pre>