@selector - With Multiple Arguments?

前端 未结 9 737
刺人心
刺人心 2020-12-13 02:26

I have been using @selector today for the first time and have not been able to work out how to do the following? How would you write the @selector

9条回答
  •  鱼传尺愫
    2020-12-13 03:05

    [self performSelector:@selector(printText:andMore) withObject:@"Cake" withObject:@"More Cake"];
    

提交回复
热议问题