• 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 Cocoa Bindings: not yet implemented?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Java Cocoa Bindings: not yet implemented?!
      • From: Rémy Schumm <email@hidden>
References: 
 >Java Cocoa Bindings: not yet implemented?! (From: Rémy Schumm <email@hidden>)

  • Prev by Date: Re: A Question about radio buttons...
  • Next by Date: Re: insertObject:in<Key>AtIndex: not being called.
  • Previous by thread: Java Cocoa Bindings: not yet implemented?!
  • Next by thread: Re: Java Cocoa Bindings: not yet implemented?!
  • Index(es):
    • Date
    • Thread