[Solved] Cannot convert value of type ‘NSMutableArray’ to expected argument type ‘[Any]!’


There’s no reason to be using NSMutableArray here. Just use native Swift data types:

let data = ["1", "2", "3"]
self.personDownPicker = DownPicker(textField: self.servicioTextField,
                                    withData: data as NSMutableArray)

solved Cannot convert value of type ‘NSMutableArray’ to expected argument type ‘[Any]!’