cell.textLabel.text = operationEnt.operationNaam;
on this line of code I get the error:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString operationNaam]: unrecognized selector sent to instance 0x6bce400'
But operationNaam is an attribute defined as a String. So I’m wondering, where is my mistake.
This is when I try to fill my cells of my TableView.
That exception means that the message
operationNaamis being sent to a NSString object, and NSString does not recognize that message selector.This means that your
operationEntobject has somehow become a NSString during runtime.Possibly, you did this…
when you meant this…