模拟target_action的内部实现

来源:互联网 发布:手机淘宝一般交易流程 编辑:程序博客网 时间:2024/05/17 11:34

在给button添加事件的时候,都知道使用button addTarget:<#(nullable id)#> action:<#(nonnull SEL)#> forControlEvents:<#(UIControlEvents)#>这种方法,但是它的内部是怎样实现的呢?今天就让我们一探究竟


0 0