Reputation: 1757
When I append NSMutableArray
with some constant name it shows an error of SIGABRT..
cell.textLabel.text = [[self.Plist objectAtIndex: indexPath.row] valueForKey: NAME_KEY];
Upvotes: 1
Views: 180
Reputation: 488
You would need to make sure that - a) NSDictionary is added to your Plist array before you could use valueForKey: b) The value you added to dictionary is of type NSSting - Else you would get this SIGABRT's.
I would suggest before adding the "value" to your cell.text.label store in your temp variable and check for the correct value type.
Upvotes: 1