NSURL URLWithString

Discussion in 'iOS Development' started by andydam123, Dec 8, 2008.

  1. andydam123

    andydam123 Member

    Joined:
    Aug 11, 2008
    Messages:
    447
    Likes Received:
    0
    Is there a way to process all the data in an array using NSURL.

    Like, is there something like URLWithArray that processes all of the strings in the array?
  2. godogshomie

    godogshomie New Member

    Joined:
    Nov 19, 2007
    Messages:
    558
    Likes Received:
    3
    u mean like this

    Code:
    NSString *url = [NSString stringWithFormat:@"?%@&%@", [theArray objectForKey:@"TheKey"], [theArray objectForKey:@"SecondKey"]];
    

Share This Page