I want to use a class which extends from the NSObject class. This class will have a tree attribute. I want to assign values to these objects. So how to create a number of objects of that class and pass these objects as an array to picker?
Following are my three arrays. I want this in my class as the attribute
_arrayImg=@[@"apple.jpg",@"banana.jpg",@"grapes.jpg",@"strawberry.jpg",@"watermelon.jpg"];
_arrayName=@[@"apple",@"banana",@"grapes",@"strawberry",@"watermelon"];
_arrayDesc=@[@"Apple is contain the vitamin A. Apple comes from kasmir.",@"Banana is very healthy. Banana contain more calaris than any other fruit. ",@"Grapes are mostly use to make the wine and grapes are having two types green and black.",@"strawberry is the sweet fruit and mostly comes in the cold environment.",@"watermelon is fruit which does not have the trees like other fruits. They are having the climber. "];
How to do this?