September 13, 2009

iPhone gets .Net app development

Novell technology lets developers use .Net and C# instead of C or Objective-C to build applications for Apple's handheld

Novell on Monday will offer a kit for developers to build Apple iPhone and iPod Touch business applications using Microsoft's .Net Framework instead of the Apple-designated C or Objective-C languages.

Leveraging Novell's Mono runtime for running Windows applications on non-Windows systems, Novell's MonoTouch 1.0 is a commercial software development kit that lets developers utilize code and libraries written for .Net and programming languages like C#.

[ See InfoWorld's report on the case for supporting and using Mono. | Looking for business-class iPhone apps? Start with InfoWorld's free, interactive iPhone app finder. It separates the wheat from the chaff and makes it easier to find iPhone apps for business and IT users. ]

"What's important here is that C# and .Net are considerably more productive development environments than the native iPhone language, which is Objective-C," said Miguel de Icaza, vice president of the developer platform at Novell and the leader of the Mono project.  With MonoTouch, the Mono runtime provides such developer services as garbage collection, thread management, type safety, and Web services, de Icaza said.

Novell anticipates applications being developed ranging from productivity applications to line of business systems, health care applications, and games, he said. Individual developers and software vendors can sell their products into the iPhone market, while corporate developers and IT organizations can deploy applications on a new mobile environment,  Novell said.

MonoTouch features a software development kit and a suite of compilers, libraries, and tools to integrate with the Apple iPhone SDK. Developers can take advantage of native iPhone APIs. A cross-compiler is included to turn .Net executable files and libraries into native applications for distribution on the Apple App Store or for deployment by enterprise iPhone users. Ahead-of-time compilation is used instead of a Just In Time compiler, enabling distribution in the Apps Store.

Integration with Apple's XCode IDE enables devloeprs to test on the iPhone device or on the Apple iPhone Simulator, Novell said.

With MonoTouch, Novell brings a new development paradigm to the iPhone, said analyst Al Hilwa, program director for application software at IDC.

"MonoTouch brings a new option to the table," Hilwa said. "I would say that applications closest to the metal will continue to be written in Objective-C, but where developers want to target multiple platforms, including apps that cross over between desktop and mobile, MonoTouch allows them that portability. Of course, the big win with it is that it opens the door for some 5 million .Net developers to begin to do iPhone applications."

"The success of the iPhone and apps for the iPhone suggest that Objective-C is being well-tolerated out there even though people complain about its lack of familiarity," Hilwa said. "The average developer has to learn Objective-C to program on the iPhone, very few developers know it to start."

Although Mono is associated with the LGPL (GNU Lesser General Public)  license used for distributing free and open source software, Novell with MonoKit is distributing Mono under commercial terms. The LGPL requires that users can replace an LGPL library with their own version of a library, a conflict with App Store requirements, according to Novell.

"We have the rights to redistribute Mono under commercial terms and that's what we're giving to users here," said Joseph Hill, product manager for Mono at Novell.

MonoTouch Enterprise Edition is available for a one-year subscription for $999. About 2,000 persons have been signed up for the MonoTouch beta program, which began in early August.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Languages and standards

Powered by Twitter

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »
Gray_Hair 14-Sep-09 12:02pm

Finally I see a result of the Novell / MSFT agreement that might benefit Novell about as much as it does MSFT.

However, Mr. de Icaza seems unaware how few Iphone/iTouch developers actually work in objectic-C. That is rather like an assembly language in this particular Apple environment, so there is not a lot of need for it with most developers. However, I suspect folks in MSFT centric shops that are being pressured to support "more mobile platforms" will be happy.

As for me this is a warning, that I now need to vet iApps as non-Mono. There is no way I would trust MSFT sourced garbage collection, thread management, type safety, and Web services. Sounds like a good way to trash a Touch or an iPhone to me.

SteveS 14-Sep-09 12:49pm
2 replies
What a joke... who would pay money for this garbage? de Icaza mentions things like garbage collection, etc. as if objective-C doesn't already have this. C# offers no technical advantage over Objective-C. In fact, it lacks things like blocks, etc. Similarly, developers are still going to have to learn Cocoa Touch, etc. in order to make full use of the available features. i.e. there is some learning curve as is, using a .Net solution isn't going to help. Finally, would be users of this product should beware that it probably isn't difficult for Apple to filter out products made with this tool and simply ban them at will.
stine 14-Sep-09 2:07pm
> Finally, would be users of this product should beware that it > probably isn't difficult for Apple to filter out products made with > this tool and simply ban them at will. Which is why I'm not interested in developing for iPhones - no matter what language. What if Microsoft banned apps from XP computers willy nilly? I want to decide which apps can run on my phone - thank you.

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2009 Infoworld, Inc.