How to convert UIColor to string and string to UIColor using swift?

后端 未结 0 592
盖世英雄少女心
盖世英雄少女心 2021-02-15 00:55

I have an object with a UIColor property:

class Beer: NSObject {
  var color: UIColor?
  ...
}

I\'m saving this to a DB, so I need to make this

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