Re: strikethrough in text displayed
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