Re: Which language to get started with cocoa development?
Re: Which language to get started with cocoa development?
- Subject: Re: Which language to get started with cocoa development?
- From: Rob Rix <email@hidden>
- Date: Thu, 1 Jan 2009 04:04:16 -0500
Go with Objective-C: it’s the native language for Cocoa, so there’s no
impedance mismatch. Plus, you can leverage your C/C++ knowledge where
you want/need to more easily than you could in Ruby or Python. (C# is
an unknown quantity for me, so I can’t really comment on that.)
Plus, if you’re already good at dynamic languages and C-family
languages then you’ve got all the pieces in place to pick up Objective-
C quite quickly.
Interface Builder doesn’t exactly work the way you’re thinking, I think
—integration with scripting languages doesn’t really come into it.
Instead, Interface Builder works by configuring and archiving “real
live objects”—Cocoa framework objects—into a file that is unarchived
at runtime. So if you’re using the Python or Ruby bridge, it’s the same
—it’s unarchived into an Objective-C object which you interact with
over the bridge like you would any other object in the framework. It’s
really quite pleasant.
I’ll contradict myself a little and say that I think there’s a fairly
good case for using one of the bridges now—certainly better than ever
before, and only improving! But I really do recommend learning
Objective-C even if you don’t end up using it for your projects—you’ll
gain a better understanding of the hows and whys of the Cocoa
framework that way.
Hope this helps,
Rob
On 31-Dec-08, at 3:22 AM, Achim Domma wrote:
Hi,
I develop software for a living and want to get started with cocoa
development just for fun. I'm good at python, C, C++ and C# and have
some Ruby knowledge. Now I'm asking myself, which language I should
use to get started with cocoa development:
- ObjC looks interesing, but would be a new language to learn. I
like to learn new languages, but I also prefer to do one step after
another. So learning Cocoa and Obj-C toghether could be frustrating.
- I like dynamic scripting languages like python and ruby, but I
would like to ship my apps to other users. And they should not care
about the language I have used. Can pyObjC or RubyCoca be bundled
with my app, so that the enduser will not recognize that python/ruby
is shipped with my app?
- As far as I understand, GUIs are usually build with the interface
builder of XCode. That tools is tuned to be used with ObjC. How good
is the integration with scripting languages?
- How up to date are bindings to "non ObjC" languages usually? If I
will like cocoa development, I want to have a look at core data and
core animations. Are these also available for ruby and python?
- What about Mono/Cocoa#? Looks like Mono is not an good option, if
I want to distribute my app as small download via the web. Or am I
wrong?
I would be very happy to hear some opinions of experienced cocoa
developers about these topics. Any feedback would be very appreciated.
cheers,
Achim
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden