Before we get coding, we'll assemble a window with a few buttons and a text field, which will facilitate trying out the code as we progress:
- Create a new project using Xcode's Cocoa Application template.
- Add six buttons and a text field to the View Controller Scene, arranged something like this:
As we move on, we'll make the buttons' titles a little more descriptive.