How do i include a variable in a nsurl iphone

How do i include a variable in a nsurl iphone
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {  

    // Override point for customization after application launch.

    // Add the view controller's view to the window and display.
    responseData = [[NSMutableData data] retain];
    results = [NSMutableArray array];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"https://maps.googleapis.com/maps/api/place/search/json?location=38.69747988499999,-121.3570182875&radius=9900&types=bar&sensor=false&key=fake_key"]];
    [[NSURLConnection alloc] initWithRequest:request delegate:self];

    return YES;

}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {  

    // Override point for customization after application launch.

    // Add the view controller's view to the window and display.
    responseData = [[NSMutableData data] retain];
    results = [NSMutableArray array];
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"https://maps.googleapis.com/maps/api/place/search/json?location=%@,%@&radius=9900&types=bar&sensor=false&key=fake_key", longitude,latitude]];
    [[NSURLConnection alloc] initWithRequest:request delegate:self];

    return YES;

}

[NSURL URLWithString:[NSString stringWithFormat:@"https://maps.googleapis.com/maps/api/place/search/json?location=%@,%@&radius=9900&types=bar&sensor=false&key=fake_key", longitude,latitude]]

NSURL *url = [NSURL URLWithString:@"https://maps.googleapis.com/maps/api/place/search/json"];
ASIFormDataRequest *request_ror = [ASIFormDataRequest requestWithURL:url];
[request_ror setRequestMethod:@"POST"];
[request_ror setPostValue:[NSString stringWithFormat:@"%f", longitude] forKey:@"longitude"];
[request_ror setValidatesSecureCertificate:NO];
[request_ror setTimeOutSeconds:30];
[request_ror setDelegate:self];
[request_ror startAsynchronous];


Learn More :