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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
