# Saturday, July 03, 2010

I’ve followed MonoDevelop for a long time. In that time, I’ve seen it go from a barely usable product, to now a fairly capable IDE. Out of the box, it look and acts much like Visual Studio. I do like that that a dedicated unit testing tab is present as a constant reminder that, “Hey, you know you should probably write those unit tests you’ve always talked about writing.”

One thing I was somewhat surprised to not see, at least on the Mac edition of MonoDevelop is a built-in scheme for the VS keybindings. On the down side, I have been able to crash MonoDevelop when I didn’t have some setup code in the right place and I ended up with a null ref trying to talk to some Cocoa widgets.

More to come as I spend more time with MonoDevelop.

.NET | Mono | MonoMac
Saturday, July 03, 2010 8:00:00 AM (Alaskan Daylight Time, UTC-08:00)
# Friday, July 02, 2010

When Miguel De Icaza first announced MonoMac back in April I was pretty excited! Its been my goal for the past two years to write a half-decent, native looking, Mac OSX application with .NET. I’ve looked at the various Cocoa binding strategies for Mono and always found them lacking. Some like CocoaSharp haven’t been updated in ages, and the WinForms stuff on Mac looked plain fugly. Like Windows 95 fugly.

I found Michael Hutchinson’s quick-start post on writing a simple .NET app using MonoMac. Because I had previous experience using Interface Builder, I was able to muddle my way through building his simple app. But at the end, I wanted something more. “Hello World” is great to show you the most basic syntax of a language, and maybe how to use the compiler, but it honestly does nothing for me.

So, I set out to write real, although somewhat contrived image viewing application. Having an extensive background writing WinForms, ASP.NET and some WPF apps, the hardest part for me was trying to figure out the Cocoa equivalent to things like PictureBox, and FolderBrowserDialog. But Google as always was my friend.

I’m not going to dive into how to write the app tonight, but I will post a screen shot, and the ImageViewer source!
image

Nits

Yes Cocoa is based on an MVC architecture, and yes I should have put some of the code into a business class, but I didn’t.

.NET | C# | Mac OS X | Mono | MonoMac
Friday, July 02, 2010 7:22:00 AM (Alaskan Daylight Time, UTC-08:00)
# Thursday, July 01, 2010

When I started blogging 3+ years ago, I found Windows Live Writer and really loved it. Since I’ve started blogging again, I’ve switched from blogging on my PC to my Mac. Mainly because I’m trying to use and understand Mono on the Mac. Unfortunately I’ve been unable to find any decent free blogging software on the Mac.

Switching back and forth to my PC to write blog posts isn’t my idea of fun. So, I decided to fire up my Windows VM, installed WLW, and put VMware into Unity mode. I must say, I’m pretty impressed. I was able to write a blog post in WLW, take a screen capture on my Mac, and paste it into WLW with absolutely no issues. Consider me sold :)

Now, if only I could figure out how to get the link that WLW opens after making a post to open in Chrome on my Mac instead of Chrome on my VM :)

Thursday, July 01, 2010 8:25:00 AM (Alaskan Daylight Time, UTC-08:00)