谢谢
//Leaving the auto-completed signature gave the error myclass.myFunction(myParam: UIControl) //removing the auto complete params and using a real one cleared error myclass.myFunction(myUIControl)