Re: valueForKey:@"class"
Re: valueForKey:@"class"
- Subject: Re: valueForKey:@"class"
- From: John Hörnkvist <email@hidden>
- Date: Wed, 26 Jun 2002 22:01:58 +0200
On Wednesday, June 26, 2002, at 09:44 PM, Brent Gulanowski wrote:
This results in an error:
This class does not have an instance variable of the name class or
_class,
nor a method of the name class, _class, getClass, or _getClass
I read through the key-value coding discussion and searched the
archives -- why would this value not be found? I can send a -class
message fine, but I'm trying to put the class name into an
NSOutlineView, so the string @"class" is generated from the outline
view's identifier.
That's because "class" returns something of the type Class, not id, I
believe.
Regards,
John Hornkvist
--
ToastedMarshmallow, need help?
http://www.toastedmarshmallow.com
_______________________________________________
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.