Re: how to set allowedClasses for UIStateRestorationKeyedUnarchiver


Ben Kennedy
 

On 16 Mar 2022, at 11:54 pm, Gerriet M. Denkmann <gerriet@...> wrote:

So: How to explicitly include NSNumber into the client allowed classes set ?
Have you tried using secure [de]coding?

https://developer.apple.com/documentation/foundation/nssecurecoding
https://developer.apple.com/documentation/foundation/nscoder/2292944-decodeobject#

-ben

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.