Reputation: 2824
How can I make an NSButton light up blue (ie. default) in Xcode 4? I've been trying various options in the interface builder but nothing seems to work. I've even tried setting the key equivalent to enter which also doesn't work.
Any idea?
Upvotes: 2
Views: 1469
Reputation: 61
swift:
@IBOutlet var testBtn: NSButton!
testBtn.keyEquivalent = "\r"
Upvotes: 6