• 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: Reading Java files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading Java files


  • Subject: Re: Reading Java files
  • From: Darren Gibbs <email@hidden>
  • Date: Wed, 28 Apr 2004 18:00:20 -0700

Thanks for the suggestion!

On Apr 28, 2004, at 4:53 PM, Rams wrote:

My guess is that you have an instance of the class in your nib file. If you remove the instance first, you should be able to read from your .java class file again. You may need to delete your controller from the classes tab as well.

Nope, it still doesn't work. If I delete the instance, the menu item to re-read the Java file is still greyed out. If I delete the class too, the menu item disappears. Selecting "Read Files..." only allows .h files.

If you don't want to go to that trouble though, you should be able to add the actions manually. Just click on the class name in the classes tab and you should be able to enter new action methods in the info panel.

The IB ReadMe/FAQ says you can't do this once you've created files for you class because IB won't insert the changes, it'll overwrite the class file entirely.

Either I'm misunderstanding something fundamental, or IB is busted...

Any advice appreciated,

darren



On Apr 27, 2004, at 8:18 PM, Darren Gibbs wrote:

Howdy,

I installed XCode 1.2 today and am trying to convert some older Java code to a use a Cocoa interface. The first pass worked fine, I created a simple UI in IB and generated the controller class. Now I want to add some actions, but I don't seem to be able to get IB to read my controller class now that I've generated the first version. The Read option is grayed out in the UI, and the generic Read Files option only allows .h files. I tried drag/drop and IB seems see the event and switches from Instances to Classes view, but doesn't parse my changes. Is this a known issue? I looked at the Help file and FAQ but didn't see anything specific to this. _______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.



--
Learn how to cryptographically sign your mail in Panther
http://www.joar.com/certificates/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Reading Java files (From: Darren Gibbs <email@hidden>)

  • Prev by Date: Re: Panel items failing to draw
  • Next by Date: Re[2]: Grabing Disk Information
  • Previous by thread: Reading Java files
  • Next by thread: Thread Question
  • Index(es):
    • Date
    • Thread