Swift without Interface Builder for MacOS
Many tutorials on writing apps try to do almost everything graphically and use very little code.
Many tutorials on writing apps try to do almost everything graphically and use very little code.
Radio Buttons using NSMatrix has been deprecated and information on how to use Radio Buttons without NSMatrix is difficult to find. So this is documentation of a way to use the new Radios Buttons using Xcode 7.2.1 and Swift 2.1.1.
Create a new Xcode project and choose Cocoa Application under OS X Application. Call it Radio Buttons and check Swift. Do not check Use Storyboards, Create Document-Based Application or Use Core Data.
Swift is a new programming language that builds from Objective C. Since I liked working with Objective C it only seemed natural to spend time learning Swift. This article uses Xcode 7.2.1 and Swift 2.1.1.