NSPopUpButton subclass attributedTitle
<p>I'm facing some confusion with how I'm subclassing <code>NSPopUpButton</code>, namely that I can't set the <code>attributedTitle</code> like on a button (to get a custom font, color, and baseline offset).</p>

<p>The following code has no effect:</p>

<pre><code>class CustomPopUpButton: NSPopUpButton {
    required init?(coder: NSCoder) {
        super.init(coder: coder)
        self.wantsLayer = true
        self.layerContentsRedrawPolicy = .OnSetNeedsDisplay

        self.attributedTitle = NSAttributedString(string: self.title, attributes: [
            NSFontAttributeName: NSFont(name: "Impact", size: 15)!,
            NSForegroundColorAttributeName: NSColor(calibratedRed: 0.2, green: 0.270588235, blue: 0.031372549, alpha: 1),
            NSBaselineOffsetAttributeName: 2
        ])
    }
}
</code></pre>