1
I have a Nsmutablearray *arrayFavoritos
In the log I can see
{
name1 = 6;
name2 = "Paolo Rossi\nIt\U00e1lia";
name3 = "cartaz-1982.jpg";
photo = "copa8.jpg";
name4 = 24;
},
{
name1 = 6;
name2 = "Oleg Salenko\nR\U00fassia";
name3 = "cartaz-1994.jpg";
photo = "copa5.jpg";
name4 = 24;
},
I need to transform that information:
self.tableItems = @[[UIImage imageNamed:@"photo1.jpg"],
[UIImage imageNamed:@"photo2.jpg"],
[UIImage imageNamed:@"photo3.jpg"]];
So that this array be dynamically mounted
How can I do that?
Do you have an array of objects in the right first code? What is the value of the object that interests you to compose the tableItems?
– Jan Cássio