• 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
Custom NSOutlineView - Almost resolved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Custom NSOutlineView - Almost resolved
      • From: Todd Thomas <email@hidden>
    • Re: Custom NSOutlineView - Almost resolved
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: An extremely weird slowness...
  • Next by Date: Re: An extremely weird slowness...
  • Previous by thread: Saving 1-bit TIFF images
  • Next by thread: Re: Custom NSOutlineView - Almost resolved
  • Index(es):
    • Date
    • Thread