title: orderedSetWithOrderedSet:range:copyItems: NSArray Equivalent
body: <p>So we're converting some old code and I need to change         </p>
  
  <pre><code>NSSet *set = [NSOrderedSet orderedSetWithOrderedSet:filteredSubcategories
                                                               range:[range rangeValue]
                                                           copyItems:NO];
  </code></pre>
  
  <p>into an array.  Is there some kind of array equivalent to this? Can someone help me do this?</p>
  
  <p><a href="https://developer.apple.com/reference/foundation/nsorderedset/1543292-orderedsetwithorderedset" rel="nofollow noreferrer">https://developer.apple.com/reference/foundation/nsorderedset/1543292-orderedsetwithorderedset</a></p>