iOS Question

How to concatenate NSURL in Objective-c .?

I have a NSURL named url where i Have an api that is calling some movie names. the problem is I want to enter user defined values in it :O
I have UIsearchBar for text input.

NSURL *url=[NSURL URLWithString:@"""&api_key=c4bd8170"];

Answer Source
NSString *movieName;    //String from UISearchBar
NSString *movieString = [NSString stringWithFormat:@"",movieName];
NSURL *url=[NSURL URLWithString:movieString];
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download