• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Java or Objective-C for Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java or Objective-C for Cocoa?


  • Subject: Re: Java or Objective-C for Cocoa?
  • From: Bob Ippolito <email@hidden>
  • Date: Fri, 2 Apr 2004 12:10:56 -0500

And if you do choose PyObjC, you probably want to be using CVS HEAD. There's been a lot of activity lately wrt. Xcode templates, thread support and debugging hooks.

Also, #macpython on irc.freenode.net and the pyobjc-dev mailing list are the correct places to ask PyObjC questions.

On Apr 2, 2004, at 11:31 AM, Kevin Ballard wrote:

In terms of XML support, you can always fall back on Carbon if you use
Objective-C - CoreFoundation provides XML facilities (although I've
never used them). Also, for regular expressions you could include PCRE
(another thing I've never done). Of course, there may be an easier way,
but I've never had to do it so I haven't looked into it.

BTW, let me propose a 3rd option - rather than Java or Objective-C, use
Python! The fabulous PyObjC bridge makes it really easy to use Python
to write Cocoa applications, and Python also includes modules for XML
and Regular Expressions.

On Apr 2, 2004, at 11:12 AM, Ilan Volow wrote:

I think that Java does have a few advantages (at least from my point
of view). While cocoa UI stuff won't be cross-platform, any technical
backend stuff will. You'll still have to port stuff from Cocoa+Java to
Swing+Java, but perhaps not quite as much as you would if you wrote
the entire thing in Objective-C. Another good thing about Java is that
is comes with a truckload of useful classes, and in some cases, those
classes do not have counterparts (or at least very good ones) in the
Objective-C world. For example, in the project I'm working on right
now, I need to deal with lots of XML and I need excellent regular
expression support. Currently, I've found very limited support for
those technologies in Cocoa. Java, on the other hand, had reliable
regular expression capabilities shipping with it and fairly good XML
capabilities as well. For my project, it was pretty much a no-brainer
about which one to pick.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Java or Objective-C for Cocoa? (From: Claus Atzenbeck <email@hidden>)
 >Re: Java or Objective-C for Cocoa? (From: Ilan Volow <email@hidden>)
 >Re: Java or Objective-C for Cocoa? (From: Kevin Ballard <email@hidden>)

  • Prev by Date: Re: Java or Objective-C for Cocoa?
  • Next by Date: Re: Altering attributes of hyperlinked text
  • Previous by thread: Re: Java or Objective-C for Cocoa?
  • Next by thread: New XML support in Cocoa? Re: Java or Objective-C for Cocoa?
  • Index(es):
    • Date
    • Thread