I might have an array that looks like the following:
[1, 4, 2, 2, 6, 24, 15, 2, 60, 15, 6]
Or, reall
Swift 3/ Swift 4/ Swift 5
Just one line code to omit Array duplicates without effecting order:
let filteredArr = Array(NSOrderedSet(array: yourArray))