Custom NSOutlineView - Almost resolved
Custom NSOutlineView - Almost resolved
- Subject: Custom NSOutlineView - Almost resolved
- From: email@hidden
- Date: Mon, 21 Nov 2005 10:34:31 +0100
Hi ,
I've almost finished my custom outlineview.
Result look very nice.
The highlight is made with gradient, the field auto-grow/decrease.
I'll publish my code as soon as I have resolved one last point :
LineBreakMode.
In Tiger, everything is ok. But I want my Custom Outline to work on Panther.
So I've tried to implement the code you send to me but there is a problem in
the DrawInFrame method of my custom cell.
When I try to make a "setAttributedStringValue" with the new attributed
string with the BreakLineMode I want, I got an error message at runtime :
2005-11-20 21:52:12.703 Custom[1555] *** -[NSConcreteAttributedString
isEqualToString:]: selector not recognized [self = 0x3a26a0]
2005-11-20 21:52:12.704 Custom[1555] *** -[NSConcreteAttributedString
isEqualToString:]: selector not recognized [self = 0x3a26a0]
I don't know what it means ?!
I've got a custom subclasse of NSTextAndFieldCell (near ImageAndTextCell
from AppleSample).
Why can't I set a new AttributedStringValue ?
Thanks,
Guillaume
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden