- (void)testWithString:(NSString *)ss

{

    CCLOG(@"test = %@",ss);

}

SEL sl = @selector(testWithString:);

[selfperformSelector:sl withObject:@"yinJiDong"];

CCLOG(@"method = %@",NSStringFromSelector(sl));

 

test = yinJiDong 

method = testWithString:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2021-11-04
  • 2021-12-04
猜你喜欢
  • 2021-09-05
  • 2022-03-09
  • 2021-04-13
  • 2021-09-30
  • 2022-12-23
相关资源
相似解决方案