When using AppStorageKey persistence strategy with the Value associated type URL or URL?, saving values to UserDefaults causes a NSInvalidArgumentException exception to be thrown. To avoid it, dedicated APIs for saving and retrieving URLs to/from UserDefaults need to be used.
When using AppStorageKey persistence strategy with the Value associated type
URL
orURL?
, saving values to UserDefaults causes a NSInvalidArgumentException exception to be thrown. To avoid it, dedicated APIs for saving and retrieving URLs to/from UserDefaults need to be used.