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.

Read more about developer world in InfoWorld's Developer World Channel.

Paul Krill is an editor at large at InfoWorld.
Close

On Twitter now

Languages and standards

Powered by Twitter
additional resources
White Paper - How to Improve Delivery of Advanced Web Applications

White Paper

Virtual Workforce: The Key to Expanding The Business While Cutting Costs

Get the independent advice and expertise you need to support a virtual workforce.

Go inside:
The three-step approach to making a virtual workforce a reality.
The four flavors of client virtualization technologies.
The three key initiatives that solve IT challenges.
Download now »
White Paper: Successfully Secure Your Wireless LAN With Wi-Fi firewalls.

White Paper

Addressing Linux Threats Leveraging Fewer Resources

The increase in Linux popularity has increased the frequency and sophistication of malware attacks. Read this 2 page white paper now to learn how you can protect your Linux environment with real-time protection that is certified by all major Linux vendors.

Download now »
White Paper - The 2009 Handbook of Application Delivery

White Paper

The 2009 Handbook of Application Delivery

Ensuring acceptable application delivery will become even more difficult over the next few years. As a result, IT organizations need to ensure that the approach that they take to resolving the current application delivery challenges can scale to support the emerging challenges. This handbook elaborates on the key tasks associated with planning, optimization, management and control and provides decision criteria to help IT organizations choose appropriate solutions.

Download now »
White Paper - Is Your Backup System Outdated?

White Paper

Mid-range Storage Considerations

A common misconception is that mid-range storage requirements are dramatically different than that of a larger enterprise. Mid-range storage users may require less capacity, but they have similar functionality and management requirements. This ESG paper examines mid-range storage needs and reviews a new solution that adjusts size while retaining value, performance and functionality.

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
3 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-2010 Infoworld, Inc.