Method with multiple input parameters

后端 未结 6 1870
萌比男神i
萌比男神i 2021-02-01 02:11

I understand how to create my own methods that accept input parameters in objective-c but I have never actually created a method with more than one input parameter!

From

6条回答
  •  遥遥无期
    2021-02-01 02:41

    No. A method must have the format as you described:

    - (void)first:(NSString *)fname second:(NSString *)mname third:(NSString *)lname;
    

提交回复
热议问题