epub | eng | | Author: T. Michael Rogers
Create an NSButton using a CGRect to define its frame: var button = NSButton(frame: CGRect(x: 100, y: 100, width: 80, height: 30)) Call setbuttonType: using a value from the NSButtonType ...
Swift