My question so basic.I cant call function with same array parameter as shown in the below.
import UIKit
var myArray = [String]() // <= This line from one class
func myArrayFunc1(arg_myArray: String...) { . //This function from same class with array
myArray = arg_myArray
}
func myArrayFunc2(arg2_myArray: String...) { //This function from another class
myArrayFunc1(arg_myArray: arg2_myArray) // <= This line gives error
}
My error is : Cannot convert value of type '[String]' to expected argument type 'String'