Feeds

Xamarin tool lets devs build .Net apps for Mac OS X

Code for Macs the Microsoft way

Internet Security Threat Report 2014

Cross-platform developer tools vendor Xamarin has released Xamarin.Mac, a new toolkit that allows developers to build applications for deployment to Apple's Mac App Store using Microsoft's C# language and the .Net Framework.

"With the release of Xamarin.Mac, it is now possible to build apps in C# for over 2.2 billion devices worldwide: 1.2 billion Windows devices, and using Xamarin, 1 billion Android, iOS, and Mac devices," the company said in a blog post on Wednesday.

Like Xamarin's other products, the new tools are based on the Mono Project, an open source implementation of C# and .Net with a complex history. It was first developed by a company called Ximian in 1999, but later came under Novell's wing when Novell acquired Ximian in 2003.

After Novell itself was snapped up by Attachmate in 2011, Ximian cofounders Miguel de Icaza and Nat Friedman broke off and formed a new company – Xamarin – and proceeded to release Mono-based cross-platform developer tools for Android and iOS.

With the launch of Xamarin.Mac, the company extends its reach to OS X, allowing developers to use the same techniques to develop Mac apps as they would to build mobile apps using Xamarin's earlier tools.

Because Xamarin's products for Android, iOS, and OS X are all based on the same language, runtime, and libraries, developers can even share substantial amounts of code between apps for all three operating systems.

While Xamarin.Mac apps may share internals with apps for other platforms, however, they look and feel like native OS X applications. Developers build UIs for their apps using Apple's XCode Interface Builder, so the resulting apps use native controls and widgets.

On the back end, Xamarin has exposed the native Cocoa APIs in such a way that coders can access them using the C# language, rather than Apple's preferred Objective-C. Developers are also free to mix Cocoa system calls with existing .Net libraries, giving them access to a wide range of tools for rapid development.

This first release of Xamarin.Mac isn't perfect. Currently it lacks a 64-bit runtime, and therefore it can't access certain OS X frameworks that only work in 64-bit mode. Xamarin.Mac apps can't access Apple's CommonCrypto cryptography stack, either, and the platform does not yet support Mac OS X Binding Projects, so developers can't easily connect C# projects with native Objective-C libraries that were created for OS X.

All of these features are on Xamarin's roadmap, however, and the company says to expect "frequent" updates.

Although Mono is an open source project, Xamarin.Mac grants developers a commercial license to the Mono runtime and associated libraries, freeing them to deploy their apps as they choose (including to the Mac App Store, which explicitly forbids software licensed under the Gnu GPL).

That license doesn't come cheap, though. Although a free trial is available, a one-user license for personal use costs $399, and it only allows distribution via the Mac App Store. Enterprise licenses allow developers to distribute their apps directly, but they start at $999 per seat and go up to $2,499 per seat for a license with bundled priority support. ®

Remote control for virtualized desktops

More from The Register

next story
PEAK APPLE: iOS 8 is least popular Cupertino mobile OS in all of HUMAN HISTORY
'Nerd release' finally staggers past 50 per cent adoption
Microsoft to bake Skype into IE, without plugins
Redmond thinks the Object Real-Time Communications API for WebRTC is ready to roll
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
Mozilla: Spidermonkey ATE Apple's JavaScriptCore, THRASHED Google V8
Moz man claims the win on rivals' own benchmarks
Yes, Virginia, there IS a W3C HTML5 standard – as of now, that is
You asked for it! You begged for it! Then you gave up! And now it's HERE!
FTDI yanks chip-bricking driver from Windows Update, vows to fight on
Next driver to battle fake chips with 'non-invasive' methods
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
Ubuntu 14.10 tries pulling a Steve Ballmer on cloudy offerings
Oi, Windows, centOS and openSUSE – behave, we're all friends here
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Choosing a cloud hosting partner with confidence
Download Choosing a Cloud Hosting Provider with Confidence to learn more about cloud computing - the new opportunities and new security challenges.