• 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: Displaying a table entry in Bold
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying a table entry in Bold


  • Subject: Re: Displaying a table entry in Bold
  • From: email@hidden
  • Date: Fri, 19 Apr 2002 22:05:44 +0200

On vendredi, avril 19, 2002, at 09:28 , Ondra Cada wrote:

Actually, to be really independent you would have to check whether there is a formatter and, if so, use it to translate the "string" of yours to real string. Even without a formatter this won't work properly eg. if the objectValueForTableColumn:row: happens to be say an NSNumber, which is quite possible generally.

The proper way to do that (in cases like this when you want the whole cell'
s format to be unique) is not to play with attributed strings at all, and just to set cell's attributes directly. Then let it to display the data itself: why to re-write an already existing code?

Is it faster?
_______________________________________________
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.

References: 
 >Re: Displaying a table entry in Bold (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Displaying a table entry in Bold
  • Next by Date: Drag and dropping into an NSTextView
  • Previous by thread: Re: Displaying a table entry in Bold
  • Next by thread: Re: Displaying a table entry in Bold
  • Index(es):
    • Date
    • Thread