# 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)
# Tuesday, June 29, 2010

Does your iPhone 4 go from full bars to no bars when you hold the lower portion? Disable the Bluetooth radio and you should see your recption return to (almost) normal.

Tuesday, June 29, 2010 6:37:00 PM (Alaskan Daylight Time, UTC-08:00)