MonkeySpace is the official cross platform and open-source .NET conference, a great place to collaborate, share, and socialize about the latest things in mobile and *nix platforms development. The 2014 edition will be hosted in Dublin, Ireland, on the 9th-11th of June.
If you’d like to see what happened in previous editions, take a look at the sessions from MonkeySpace 2012 and MonkeySpace 2013.
This year I am lucky enough to share the stage with other awesome speakers and I will be sharing tips and tricks about cross-platform development. My session will be called “Maximizing code sharing across platforms” and will start at 17:30, on the second day (June 10th). A strong point of the Xamarin SDK is that it allows code to be shared across platforms and from architecture to libraries, we’ll explore together some ways to maximize the code reuse.
See you there!
MonoGame is the little brother of Mono: a small and cool platform for making (mostly) 2D games. It’s an open source implementation of XNA and is compatible with iOS, Android, Mac, MacOS, Linux and Windows 8 (support for more platforms is coming). If however, more complex and 3D games is your thing, you can head out to Unity3D, also in the Mono family.
1. Get MonoGame from CodePlex
Download the latest MonoGame version from Codeplex. The is are multiple versions: a Windows one, a MonoDevelop one and, finally, the one we need, the Xamarin version. They each come as an .mpack, which needs to be installed in the corresponding IDE.
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