• 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
Cocoa-Java Doc app problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa-Java Doc app problems


  • Subject: Cocoa-Java Doc app problems
  • From: Avi Rosenblatt <email@hidden>
  • Date: Sun, 30 Jun 2002 17:39:02 -0400

Hi,
I followed a tutorial (found at www.macdevcenter.com/pub/a/mac/2002/04/19/cocoa.html.webloc) which builds an image viewing app (using a Cocoa Doc app).The tutorial uses objective-C but I translated it into Java.
Two problems have evolved and I'm not sure if the second one is related to the first.
Problem 1: In Interface Builder, I want to add an action to a subclass of NSWindowController. The method is called changeScale. However, when I type it in, it's replaced by the message "<invlaid number of arguments>".Any other similar method name works.
I see a similar problem when creating a subclass of NSImageView. In this case I don't add any new actions, but when I change the file type from Obj-c to Java, the first method listed in the actions (which is inherited from NSImageView and therefore cannot be changed) turns into the same message I mentioned before. What's going on?

Problem 2: The app compiles fine except that when I build and run, I get the message "2002-06-26 11:23:01.413 ImageApp[662] *** file inconsistency: read '@', expecting 'C'"

and then

"ImageApp has exited due to signal 11 (SIGSEGV)." and the app dies.

Any help would be greatly appreciated.

Thanx
Avi
_______________________________________________
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.

  • Prev by Date: Re: Selecting submenu root
  • Next by Date: Re: set***Value: Method not working
  • Previous by thread: Re: Sorting NSMutableArray by specified key?
  • Next by thread: Finding the source of a SIGPIPE
  • Index(es):
    • Date
    • Thread