I have (in swift 1) this line of code:
keys = sorted(namesDict!.allKeys as! [String])
but function sorted is not supported anymore (Swift 2.0). What can i write to have keys sorted?
Thanks!
I have (in swift 1) this line of code:
keys = sorted(namesDict!.allKeys as! [String])
but function sorted is not supported anymore (Swift 2.0). What can i write to have keys sorted?
Thanks!