在用户配置中存储一个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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注