This PR deprecates the AGSPopupAttachmentSize type-specific UserDefaults storage mechanism. Now the app opts to use a new generic mechanism for storing and retrieving RawRepresentable types.
Known limitation.
This PR facilitates the storage and retrieval of RawRepresentable types but makes no inference for the RawValue of the RawRepresentable. It is the dev's responsibility to ensure the underlying RawValue is UserDefaults compliant.
This PR deprecates the
AGSPopupAttachmentSize
type-specificUserDefaults
storage mechanism. Now the app opts to use a new generic mechanism for storing and retrievingRawRepresentable
types.Known limitation.
This PR facilitates the storage and retrieval of
RawRepresentable
types but makes no inference for theRawValue
of theRawRepresentable
. It is the dev's responsibility to ensure the underlyingRawValue
isUserDefaults
compliant.