Re: Reading Java files
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.