Hi Nick,
When you return your item to the table column, I believe this is
setting the cell's object value to this item. The object value of an
NSCell needs to conform to the NSCopyingProtocol.
If you implement the method:
- (id)copyWithZone:(NSZone *)zone
in HDIR to return a copy of the object, you won't get this error
anymore.
Best,
Cathy
On Apr 5, 2008, at 10:25 AM, Nick Rogers wrote:
Hi,
when i return the item for a tableColumn in NSOutlineView, the
following error is there:
*** -[HDIR copyWithZone:]: selector not recognized [self = 0x39b670]
Here HDIR is the item that i return for a particular tableColumn of
outline view.
HDIR also inherits from NSObject.
WIshes,
Nick
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/catshive%40gmail.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]