• 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: Attributed strings in outlineviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Attributed strings in outlineviews


  • Subject: Re: Attributed strings in outlineviews
  • From: Brian Webster <email@hidden>
  • Date: Wed, 12 Jun 2002 09:23:36 -0500

On Tuesday, June 11, 2002, at 09:40 PM, cocoa-dev-
email@hidden wrote:

I'm trying to get an NSOutlineView to accept and display a list
of attributed strings instead of normal ones. It is not happy :
( Can anyone point me in the right direction (or some good
examples using NSOutlineView)?

You should be able to just return an attributed string from -outlineView:objectValueForTableColumn:byItem: in your data source and it will display correctly. Does this not work for you?

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
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.

  • Prev by Date: Re: Clipping drawn text with an ellipsis
  • Next by Date: Re: Drag and Drop Oddities
  • Previous by thread: Attributed strings in outlineviews
  • Next by thread: Clipping drawn text with an ellipsis
  • Index(es):
    • Date
    • Thread