当前位置:网站首页>What is Objective-C ID in swift- What is the equivalent of an Objective-C id in Swift?

What is Objective-C ID in swift- What is the equivalent of an Objective-C id in Swift?

2022-06-21 15:34:00 Saffron

problem :

I'm trying to use an @IBAction to tie up a button click event to a Swift method. I'm trying to use @IBAction Bind button click events to Swift Method .In Objective-C the parameter type of the IBAction is id. stay Objective-C in ,IBAction The parameter type of is id.What is the equivalent of id in Swift? What is? Swift Medium id equivalent ?


Solution :

Reference resources : https://stackoom.com/en/question/1ciyM
原网站

版权声明
本文为[Saffron]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202221142554250.html