阅读背景:

如何使用param将块作为选择器传递给performSelector:withObject:?

来源:互联网 

Is it possible to create a block variable as selector accepting parameters, and to pass it to performSelector:withObject:? Currently, writing some tests and want to write a self contained method with all related checking. Need to pass a block, receive the param in it and do some checking in that block. I'm looking for something like: Is it possible to create a block variable as se




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: