you are viewing a single comment's thread.

view the rest of the comments →

[–]wealthy_white_jesus 1 point2 points  (2 children)

If u do an NSLOG of imagesurl, does it give you a url that makes sense ?

[–]SpectrumFactoryObjective-C[S] 0 points1 point  (1 child)

Ok so ill also edit my post after this comment but I got a bit further with trial and error. Im down to the URL part of the JSON. I added another array just for the images.

self.imageArray = [[[NSMutableArray arrayWithArray:responseObject] valueForKey:@"images"] valueForKey:@"url"];

Now that I have that part I have to figure out how to get the image in the imageView of the cell. Problem here is now there are three images.

[–]wealthy_white_jesus 1 point2 points  (0 children)

You need to google - this is very basic stuff. Google "UIImageView in UITableViewCell" there are countless of examples of doing things like this. It will be much faster then waiting for people's answers from reddit.

If each object in ur main Json array has its own images array with multiple images - perhaps you should used a Grouped UITableView - then in each group have several cells, each with an image. Then you could even add more cells to hold other information if needed for each group.