The iPhone SDK, Objective C and Ruby
0
I bet many of you have already seen the iPhone SDK presentation.
I believe that many will be tempted by the platform. There are barriers for
entry though. You have to do all development on a Mac, you have to have an
iPhone (emulators are not for production testing), you have to be a partner in
the Apple developer program and you have to write code in Objective-C.
Objective what? Objective-C is a language that sits on top of C. It has
some dynamic features and the syntax will instantly remind you of SmallTalk.
Actually, I shrug at the idea of writing code that looks like SmallTalk with
C like constructs. Sounds like sweet and sour Chinese food to me (it reminds
me of the ugly "new" operator that is off place in JavaScript). But
Apple has done a great job with Cocoa
(the MacOS X interface toolkit) and CocoaTouch (the one designed for touch
interfaces, iPhone, iPodTouch and soon iTablet). The API is very elegant and
clean (I still yearn for the BeOS API though, and will do so always).
OK, what does this have to do with Ruby? Well, a very interesting project
popped up in the Ruby core list recently. Apparently, Apple is integrating the
whole of Ruby1.9 into the Objective-C runtime and it is calling the package MacRuby. Ruby
code will have access to all Cocoa interfaces
and vice-versa. This project is an open source one but is being spearheaded by
Apple. All those actively contributing right now are Apple engineers. They are
trying to expand the interfaces to their APIs and thus cater for more
developers.
Will we ever see an iPhone shipping with MacRuby? Will we be able to write
Cocoa Touch interfaces in Ruby? Imagine that, I will no longer be ashamed that I don’t know shoes!
Post a Comment
eSpace podcast Prodcast
Archive
- September 2011
- April 2011
- March 2011
- December 2010
- November 2010
- September 2010
- August 2010
- July 2010
- June 2010
- April 2010
- March 2010
- November 2009
- October 2009
- September 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- January 2008
- April 2007
- March 2007
Latest Comments
- SpectraMind Commented on Egypt Wins UK's National Outsourcing Association Award
- Rofaida Awad Commented on Go Egypt Go!
- Different Mike Commented on Only idiots change their iPhone root password!
- Mike Commented on Only idiots change their iPhone root password!
- smile Commented on Only idiots change their iPhone root password!

