I am having trouble in accessing an array within a structure. How can I access an array which is stored in a structure ? I have a structure, say,
@interface FoodDriveRow : NSObject
{
NSMutableArray *teamData;
}
@property (nonatomic , retain) NSMutableArray *teamData;
@end
FoodDriveRow *row ;
now I want to access the array.
Edit
@interface TeamRow : NSObject
{
NSString *membername;
NSString *email;
NSString *phone;
}
@property (nonatomic , retain) NSString *membername;
@property (nonatomic , retain) NSString *email;
@property (nonatomic , retain) NSString *phone;
@end
I am trying to store an object of TeamRow in to the array by
[row.teamData insertObject:tRow atIndex:tIndex1];
and want get the values from the array.
Thanks...