• 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: Cocoa, XML and Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa, XML and Java


  • Subject: Re: Cocoa, XML and Java
  • From: Joe Letteri <email@hidden>
  • Date: Sun, 08 Jul 2001 10:46:19 -0700

> I have been doing some work on a Cocoa Java XML application as well. I
> don't think there really are any examples out there for this - but I
> have been just piecing some things together on Cocoa from other examples
> and applying that knowledge to my applications. The "Learning Cocoa"
> book is okay to learn by example - but there are plenty of fine (if not
> better) examples out there for free. The Vermont Recipes site
> (http://www.stepwise.com/Articles/VermontRecipes/index.html) is good for
> just learning some Cocoa - however it is done in Objective-C and you
> will have to convert it (Maybe somebody ought to convert these into Java
> for the Java people).

I have a version of the first Vermont Recipes written in Cocoa Java.
Unfortunately, even though it is an excellent tutorial, I haven't been able
to keep up with the newer versions.

The main differences that I found were that Cocoa Java does not support the
initWith... methods, so I had to use constructors instead. Also, there are
differences in the way NSSelector and NSPropertyListSerialization are
implemented, but I was able to adapt the techniques from the Sketch example
to get these working.

I posted a copy of the project in my iDisk/Public folder (username letteri).


References: 
 >Re: Cocoa, XML and Java (From: Tyler LaGrange <email@hidden>)

  • Prev by Date: Re: NSImage imageNamed
  • Next by Date: Re: NSImage imageNamed
  • Previous by thread: Re: Cocoa, XML and Java
  • Next by thread: Re: Cocoa, XML and Java
  • Index(es):
    • Date
    • Thread