Unit testing caveats

There is much controversy regarding test driven development. People do not seem to settle on the time trade-off, the London vs. State school, TDD vs BDD and the list could go on. But before diving into all of these, my first reports from the tranches of unit testing are as follows. Behavior depending on date […]

Working with WebViews in Xamarin.Android

Showing a webpage inside a Xamarin.Android app can be done using a WebView. Here are some tips. Using Directives Pop science says that more choices don’t bring more happiness. Well, yeah. Turns out you have two options for creating an URL. This was half of my problem. Initially, I was referencing the System library, which […]

An easier way of writing conditional code

I love attending code retreats. It’s an great way to learn new things, through the people you pair with and the exercises you practice. And since keeping up with the newest thing is essential to a programmer, what better way to expand your knowledge is there than to let your creativity roam writing code in […]

TeaTimer for Mac

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, […]

iOS7 Image Gallery

This recipe is written for the Xamarin iOS 7 Cook-off. The source code can be found here. iOS 7 introduces a lot of new features. We will explore the gravity and collision behaviors the OS provides natively with its newest version, building a kaleidoscope image gallery. Start by creating a new Xamarin.iOS project. Go to […]