【发布时间】:2016-10-25 22:07:17
【问题描述】:
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("MyCell", forIndexPath:indexPath) as! MyTableViewCell
cell.myButton.addTarget(self, action: "myClick:", forControlEvents: .TouchUpInside)
}
func myClick(sender: UIButton) {
} 现在,我想将另一个参数传递给发件人: UIButton , 那我怎么才能通过呢?
【问题讨论】: