This article will cover how to build a Mac application with Mono.Mac, making use of XCode interface builder and NSComboBoxDataSource. TeaTimer will let us chose a tea variety and it will the time how long it will take to make it.
Open Xamarin studio and start a new project. Select a Mono.Mac application.
Open the MainWindow.xib, which will be our main application window. This will start up XCode interface builder. From the Object library, drag and drop onto the existing window:
- a combo box, which will display our tea menu,
- a button, to start the timer,
- two labels: one for displaying the current time and one for additional information