Storing UIColor object in Core Data

前端 未结 4 2061
感情败类
感情败类 2020-12-01 14:18

I want to store a UIColor object as an attribute on a Core Data entity, then retrieve it and use it in the same fashion that I do the other attributes on that entity.

<
4条回答
  •  执笔经年
    2020-12-01 15:16

    The above answers pointed me in the right direction but the requirements have moved on. Search 'Saving UIColor and Array in CoreData Using Transformable' to see more information.

    I was able to add transformable fields to core data and get it to sync via iCloud using the above answers and the article I found outwith stack overflow.

提交回复
热议问题