开发者

Multiple inputs for function

开发者 https://www.devze.com 2023-02-20 01:13 出处:网络
I have a function as shown below and at the moment i pass one variable to it SearchTerm i wish to pass another variable to it (another string) how do i do it?

I have a function as shown below and at the moment i pass one variable to it SearchTerm i wish to pass another variable to it (another string) how do i do it?

- (void)GetYoutube:(NSString *) SearchTer开发者_JAVA技巧m {

}


See below :

(void)GetYoutube:(NSString *) SearchTerm withOtherString:(NSString*) myOtherString{

}

Would suggest you to go throught the basic of obj-C...

Thanks


  • (void)GetYoutube:(NSString ) SearchTerm AnotherTerm:(NSString) SearchTerm2 {

}

0

精彩评论

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