Re: Java Cocoa Bindings: not yet implemented?!
Re: Java Cocoa Bindings: not yet implemented?!
- Subject: Re: Java Cocoa Bindings: not yet implemented?!
- From: Scott Stevenson <email@hidden>
- Date: Mon, 4 Apr 2005 12:48:21 -0700
On Apr 4, 2005, at 2:32 AM, Rémy Schumm wrote:
combining a post of Scott Anguish and very lots of trying of myself
lead me to the conclusion:
something as simple as [contentObject setTheString:@"Guten Tag"]; in
ObjC which will perfectly update the NSTextField which is bound to the
property "theString" will NOT work in Java, because KVO does not work
in Java, neither automatically nor manually.
Java is always going to play second fiddle to Objective-C because Cocoa
takes advantage of language features that Java doesn't have.
Add to that:
1. Virtually all Cocoa code is in Objective-C
2. Objective-C is really easy to learn if you know Java
3. Objective-C provides access to Java code
Java is a good language, but you're making things way too hard on
yourself by using it for Cocoa apps. This is especially true if you're
new to Cocoa.
If you simply can't use Objective-C for some reason, you might consider
PyObjC, which allows you to write Cocoa apps in Python.
- Scott
--
http://treehouseideas.com/
http://theocacao.com/ [blog]
_______________________________________________
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