• 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: strikethrough in text displayed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strikethrough in text displayed


  • Subject: Re: strikethrough in text displayed
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Sat, 21 Jun 2008 17:25:21 -0700


On Jun 21, 2008, at 5:17 PM, Daniel Richman wrote:

I was wondering if there's any way to put a strikethrough in text the program generates to put on screen (not something the user enters). For example, in HTML (I know this is a long way from that), you can use the <strike> and </strike> tags. Is there anything to do that in Cocoa?

You can do this with NSAttributedString. Check the docs for NSStrikethroughStyleAttributeName.


--
adam
_______________________________________________

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


References: 
 >strikethrough in text displayed (From: Daniel Richman <email@hidden>)

  • Prev by Date: Re: Warnings in Interface Builder
  • Next by Date: No File Opening Aftering adding a file Type
  • Previous by thread: strikethrough in text displayed
  • Next by thread: No File Opening Aftering adding a file Type
  • Index(es):
    • Date
    • Thread