• 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: unseen classes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unseen classes?


  • Subject: Re: unseen classes?
  • From: Jens Bauer <email@hidden>
  • Date: Mon, 20 Jan 2003 08:19:13 +0100

Hi David,

Did you forget your #import "MyClass.h" in the top of your .m file ?

On Monday, Jan 20, 2003, at 05:53 Europe/Copenhagen, David Cairns wrote:

for some reason or another, im getting all manner of warnings during compile that i don't *think* i should be getting. here are a few:

warning: 'MyClass' does not respond to 'autorelease'
warning: 'MyClass' does not respond to 'retain'
warning: return type for 'initObjWithPath' defaults to id


and so on, basically naming every other method in the class. Note if you will, that MyClass is not actually the name of the class and it is a subclass of NSObject. ive been mostly borrowing code from the "Learning Cocoa" book for my AddObj: method, with regard to the NSOpenPanel.

Also note that i have 'told' the controller class i'm working with about the MyClass class with the @class MyClass; statement before the @implentation of the controller.

Basically my project adds MyClass objects to a DataSource class and displays the names in an NSTable. Unfortunately, my program either gets a SIGBUS or SIGSEGV error about the second or third time I call AddClip:. Any ideas? if im not posting enough info, tell me.

-- dave


Love,
Jens
_______________________________________________
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: 
 >unseen classes? (From: David Cairns <email@hidden>)

  • Prev by Date: How to exec a subtool as root
  • Next by Date: How do I create a mutable version of my object?
  • Previous by thread: Re: unseen classes?
  • Next by thread: dragable divider
  • Index(es):
    • Date
    • Thread