Xamarin 3 Unveiled
Tighter integration with Visual Studio among the highlights.
Xamarin, which makes it possible for developers to use C# to build applications for iOS and Android devices, is making news on several fronts today, with an acquisition and release of a new edition of its flagship product.
The bigger news is the announcement by Xamarin co-founder Nat Friedman of the release of Xamarin 3. Most of the upgrades revolve around tighter integration with Visual Studio. Friedman lists upgrades in four main areas:
- Xamarin Designer for iOS. The designer uses the iOS Storyboard format that will be familiar to iOS developers. It's fully integrated with Xamarin Studio, the standalone IDE, and Visual Studio. Xamarin Studio also has a Mac-specific version.
- Xamarin.Forms. This is a UI builder available as a portable class library (PCL). Xamarin.Forms pages "represent single screens within an app," Xamarin says. Connecting common controls like lists, labels and buttons to the shared C# backend code means that a developer could create a page that will display the same across a Windows Phone, iPhone and Android phone.
- IDE Upgrades. This is where a lot of the Visual Studio integration happens. Xamarin says it has combined its iOS and Android extensions into a single Visual Studio extension; added full support for NuGet packages; published complete documentation for the .NET Base Class Libraries (for which they thank Microsoft) into Xamarin Studio; and added support for the growing F# language.
- Code Sharing. Xamarin 3 allows developers to use Shared Projects. They enable code sharing between multiple target projects, including Xamarin applications. "They support compiler directives so that you can conditionally include platform-specific code to be compiled into a subset of the projects that are referencing the Shared Project," according to Xamarin. Shared Projects was originally a part of Visual Studio 2013 Update 2, released May 12.
Xamarin has four versions, beginning with a free Starter edition, up to $1,899/year, per platform, per developer for the Enterprise edition. Xamarin 2.0 was released Feb. 20, 2013.
The other announcement Friedman made was the acquisition of the Visual Studio Extensibility (VSX) Division of Clarius Consulting. Friedman called Clarius "...the world's foremost experts on extending Visual Studio." Some of its extensions include Visual T4, IronPython Studio, Default Browser Switcher and Debugger Canvas.
A page on the Clarius Web site said that the sale of VSX will allow the company to focus on other areas like mobile, cloud and embedded computing. Microsoft is a major Clarius customer, perhaps fueling speculation that Microsoft may still be considering an acquisition of Xamarin. As ZDNet and Redmond Magazine columnist Mary Jo Foley reports, though, there's been no movement on that front lately. The terms of the purchase were not announced.
Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.