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

Attributed strings in NSTableViews


  • Subject: Attributed strings in NSTableViews
  • From: Peter Hudson <email@hidden>
  • Date: Sun, 30 Jun 2013 14:04:41 +0100

Hi All

I create an attributed string - setting the background color, font colour and a paragraph style to range left.
When this cell is displayed in an NSTable view it works exactly as I would hope.
Also, when the row is selected the system reverses out the foreground font color as usual.

I then append a second attributed string to the first - with very similar attributes as the first.
After this, when the row is selected, the system no longer reverses out the text color as it did previously.

I have tried putting beginEdit and endEdit arond the code appending the second string to the first.

Baffling.

Peter



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Attributed strings in NSTableViews
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: private redeclaration of an instance variable
  • Next by Date: Re: static acting like __block in GCD singleton pattern
  • Previous by thread: Re: private redeclaration of an instance variable
  • Next by thread: Re: Attributed strings in NSTableViews
  • Index(es):
    • Date
    • Thread