You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.
enum Attribute: String {
case one = "15"
case two = "19"
case three = ""
}
struct MyStructType {
var myArray = [Attribute.one]
}
extension MyStructType: Serializable {
init(dictionary: NSDictionary?) {
myArray <== (self, dictionary, "myArray")
}
}
func shouldTriggerCrash() {
let theInstance = MyStructType()
Cashier.defaultCache().setSerializable(theInstance, forKey: rideContainerCacheKey)//Crashes
}
The text was updated successfully, but these errors were encountered: