In CoreData I have defined an ordered to-many relationship. This relationship is defined in Swift like this:
@NSManaged var types : NSMutableArray <
Enumerate them that way :
for type in types.array { // Do something }
Or use simply the array property of the NSOrderedSet you are using, like so :
array
NSOrderedSet
types.array