I’m puzzled why i’m getting an error here. It suggests that [String] is different from Array, but I don’t know what the conversion would be. Any pointers?
how/where is componentsSeparated(by) defined, and what’s it’s result type? probably NSArray, which is an immutable array, while [String] is mutable — this not directly assignable. try calling .mutableCopy.