在Swift中@selector 直接用 "methodName" 就可以了,如果后面有参数记得加上冒号"methodName:"
“does not implement methodSignatureForSelector: -- trouble ahead”
“does not implement doesNotRecognizeSelector: -- abort”
在Swift中@selector 直接用 "methodName" 就可以了,如果后面有参数记得加上冒号"methodName:"
“does not implement methodSignatureForSelector: -- trouble ahead”
“does not implement doesNotRecognizeSelector: -- abort”