Thursday, May 09, 2013

Xamarin Studio - quick run through for iPhone with MvvmCross and Xamarin.iOS (MonoTouch)

You will no doubt have noticed that almost all my work at the moment is in Visual Studio


There are three main reasons for this:

  1. I work with WindowsPhone and WindowsStore and these need Visual Studio
  2. Resharper owns me
  3. The Portable Class Library support in Xamarin Studio fails very often


Don't get me wrong - I love the work that Xamarin did last year (before XS) in making MonoDevelop better - the Intellisense really transformed at some point during 2012. However, right now, it's just not a platform I can do my everyday work on. And I need to work in order to eat :)



However, if you are Mac bound and you want to play with MvvmCross, then I've made this short demo video for you - 10 minutes to a working app.









The source code I wrote is: https://github.com/slodge/NPlus1DaysOfMvvmCross/tree/master/Z-%20MacOnly/MyApp



The MvvmCross binaries used are downloaded from: https://github.com/slodge/MvvmCross-Binaries/




All binaries are built against Xamarin stable products - but I do know others who have built binaries from https://github.com/slodge/MvvmCross using the Alpha products - but I can't help you there :)




If you want to do a Droid version, then do a similar app - just use the Droid folder instead of the Touch one - and look in https://github.com/slodge/NPlus1DaysOfMvvmCross/tree/master/N-00-FirstDemo for inspiration :)



Hope that helps :)

2 comments:

  1. I have to agree with you, VS+R# is far superior to Xamarin Studio. As my development environment is OS X, I finally installed Windows 8 + VS in parallels and found the joy you are talking about.

    ReplyDelete
    Replies
    1. But there are some really nice touches in XS too - I do think that they should also turn on their code analysis by default because it really is pretty good and it's a shame that it's hidden away!

      Delete