Stored properties and extensions: a pure Swift approach64512Costantino PistagnaAyush GoelFollowSep 5, 2018 · 1 min readRelying on debugDescription as a key is very bad. It will change with change of any property.You should clean the static var dictionary in deinit. Why waste memory?