ImageArray converted to string, string adding to another string(url) and string in another array

NSMutableArray *imageAry=[data valueForKey:@"Images"];
for(int i=0l;i<[immageAry count]; i++) {
NSString *str1=@"http://www.google.com";
NSString *str2=[imageAry objectAtIndex:i];
NSarray *splitObject=[[str2 coponentsSeperatedByString:@","];
NSString *str3=[str1 stringByAppendingString:str2];
NSCharacterSet *set=[NSCharacterSet characterSetWithCharacterInString:@"~"];
str3=[[str3 componentsSeperatedByCharacterInSet:set]componentsJoinedByString:@""];
NSLog(@"%@",str3)];
[_imageAry addObject:str3];
}
NSMutableArray *array=[NSMutableArray alloc]init];
[array addObjectsFromArray:_imageArray];

Previous
Next Post »