Re: Cocoa, XML and Java
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).