Re: Cocoa Bindings and Java
Re: Cocoa Bindings and Java
- Subject: Re: Cocoa Bindings and Java
- From: Scott Anguish <email@hidden>
- Date: Wed, 15 Dec 2004 19:02:08 -0500
On Dec 13, 2004, at 5:50 PM, Jay Martin wrote:
Hi all,
I've been looking through the cocoa bindings docs attempting to figure
out if/how to use cocoa bindings with java. It looks like it should
work, but I can't seem to fit all the pieces together. For example,
when looking at the key value observer docs, there's no mention of
Java. On the other hand, I did find the "NSKeyValueBindingCreation"
function, which makes it look like it's possible. But, I can't seem to
find a way for an observer to register in Java.
I believe that you're out of luck.
Bindings relies on KVO. Automatic KVO is implemented in a manner that
doesn't work with Java (isa-swizzling)
Now, manual KVO could potentially work, but it appears that there are
problems there as well. I can't recall the specifics, but there were
issues when I last talked to engineering.
I think it's safe to say that Java isn't the best way to go with
bindings at this point.
> Am I deluded, confused, or all of the above??
well, that's a question for an entirely different list. :-)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden