Warning-used as the name of the previous parameter rather than as part of the selector

后端 未结 3 749
一个人的身影
一个人的身影 2021-02-15 13:13

I am using a function in a class as below

- (void) uploadMorePic:(NSDictionary *) MuliPics: (NSData *)file  

It shows the warning - Muli

3条回答
  •  别那么骄傲
    2021-02-15 13:24

    @dpassage 's answer is nice。

    The function name of objective-c is not like C or C++, it has some parameter and the same num of description of parameter name。 In your case, you did not set your first parameter name or you did not set your description of your second parameter name.

    What @dpassage said was the first condition, missing first parameter name.

提交回复
热议问题