Question: [![enter image description here](https://i.stack.imgur.com/F4EBA.png)](https://i.stack.imgur.com/F4EBA.png)

```
(
    (
        "http://sportsromio.aiminfotechs.com/WEBSERVICES/available_sports/volleyball.png",
        "http://sportsromio.aiminfotechs.com/WEBSERVICES/available_sports/football.png"
    ),
(
    "http://sportsromio.aiminfotechs.com/WEBSERVICES/available_sports/football.png",
    "http://sportsromio.aiminfotechs.com/WEBSERVICES/available_sports/cricket.png"
)

```

I used this array how can I used it.

Answer: 
Put this code in **'cellForRowIndexPath'**

```
int x = 0;

        for (NSURL * url in yourArrayName) {
            UIImageView *yourImageView =[[UIImageView alloc] initWithFrame:CGRectMake(x,50,20,20)];
            yourImageView.image = [UIImage imageWithData:[NSData dataWithContentsOfURL:url]];
            [cell addSubview:yourImageView];

            x = x + 60;
        }

```
add in cell for Row

```
int x = 0;
    for (NSString * stringurl in [imgs objectAtIndex:indexPath.row]) {
        UIImageView *yourImageView =[[UIImageView alloc] initWithFrame:CGRectMake(x,10,40,40)];
        NSURL *url=[NSURL URLWithString:stringurl];

        __block UIActivityIndicatorView *activityIndicator;
        __weak UIImageView *weakImageView = yourImageView;

        [yourImageView sd_setImageWithURL:url
                          placeholderImage:[UIImage imageNamed:@"placeholder"]
                                   options:SDWebImageProgressiveDownload
                                  progress:^(NSInteger receivedSize, NSInteger expectedSize) {
                                      if (!activityIndicator) {
                                          [weakImageView addSubview:activityIndicator = [UIActivityIndicatorView.alloc initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]];
                                          activityIndicator.center = weakImageView.center;
                                          [activityIndicator startAnimating];
                                      }
                                  }
                                 completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
                                     [activityIndicator removeFromSuperview];
                                     activityIndicator = nil;
                                 }];

        [cell addSubview:yourImageView];

        x = x + 40;
    }

```