开发者

Am I getting crazy?

开发者 https://www.devze.com 2023-01-23 20:22 出处:网络
I have been searching for 10 minutes why the first line gets a warning whereas the 3 last ones do not:

I have been searching for 10 minutes why the first line gets a warning whereas the 3 last ones do not:

[self performSelector:@selector(displayWebServices) withObject:NULL atferDelay:0.5];

[self performSelector:@selector(displayWebServices) withObject:NULL afterDelay:0.5];

[self performSelector:@selector(displayWebServices) withObject:NULL a开发者_JS百科fterDelay:0.5];

[self performSelector:@selector(displayWebServices) withObject:NULL afterDelay:0.5];

The warning is that RootViewController (self instance) may not respond to performSelectot:withObject:afterDelay.

I wonder whether there is a hidden character in the line...

Did you already face this same issue with XCode ?

Regards, Apple92


Change atferDelay to afterDelay.

0

精彩评论

暂无评论...
验证码 换一张
取 消