Convert native speed dial to array

I need to convert Set into an array of any of [AnyObject] or [String], is this possible? I know that with NSSet I can use .allObjects, but for this there are no functions with my own set

+5
source share
1 answer

Just force directly to the array:

let arr = Array(mySet) 
+18
source

All Articles