在用户配置中存储一个NSColor(UIColor) | Save a color in NSUserDefaults

For Objective C

place like this.

To get back like this.

For Swift

set like this

get like this.

from:http://stackoverflow.com/questions/26464342/how-to-save-a-color-in-nsuserdefaults-in-swift

发表评论

电子邮件地址不会被公开。 必填项已用*标注