How to Use OrderedSet for NSMutableSet?

I need to use OrderedSet and assign it to the one to many property in CoreData. It requires a Set but it does not preserve the order, hence i am using ORderedSet. However, how to pass it to CoreData?

1 Like

CoreData supports NSOrderedSet. As far as I remember, unlike NSArray/NSSet, there isn't any automatic bridging, so you'll need to transform from one to the other yourself.

youre right. i just found the right post after i posted this.

apologies.