How to design a Settings model to generically get + set values for all UserDefaults keys

后端 未结 0 868
一个人的身影
一个人的身影 2021-01-02 15:28

I’m setting up my Settings class which gets/sets values from UserDefaults. I wish for as much of the code to be generic to minimise effort involved whenever a new setting is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题