Re: NSSecureCoding & NSAttributedString
Re: NSSecureCoding & NSAttributedString
- Subject: Re: NSSecureCoding & NSAttributedString
- From: Jens Alfke <email@hidden>
- Date: Fri, 16 Feb 2018 18:13:31 -0800
> On Feb 16, 2018, at 4:51 PM, Quincey Morris
> <email@hidden> wrote:
>
> Unless someone has a bright idea, I don’t any way around concluding that
> NSAttributedString can’t be used with NSSecureCoding.
You could encode the NSAttributedString as RTF, which is trivially serializable.
However, I don’t know if all AppKit’s attributes are encoded in the RTF...
—Jens
_______________________________________________
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