Re: NSSecureCoding & NSAttributedString
Re: NSSecureCoding & NSAttributedString
- Subject: Re: NSSecureCoding & NSAttributedString
- From: Markus Spoettl <email@hidden>
- Date: Sun, 18 Feb 2018 23:27:14 +0100
On 2/18/18 23:01, Markus Spoettl wrote:
As for additional NSAttributeString "companion" classes, I'm still open for
suggestions.
Sure enough I found other pulprits: NSTextList and NSShadow.
According to the header, NSTextList does not conform to NSSecureCoding, yet this works
(don't know why). However the decoder stops playing nice with NSShadow, which also
doesn't conform to NSSecureCoding.
For testing I copy/pasted complex web pages from the browser into my text field and tried
loading that. First from Firefox (which brought in NSTextList) then from Safari which
added NSShadow.
I'm sure there are other problem cases still hiding but given that it's so easy to produce
an NSAttributedString that will blow up on loading I can bury any hope this will work
eventually. Ever.
Thanks for listening :)
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
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