Hello, I can't see why this isn't working. I have two entities, let's call them Employees and Departments. And Departments has a String attribute called division. This works perfectly:
NSLog(@"Division: %@",employee.department.division);
The console shows, let's say, "Worldwide Seafood". But if I attempt a comparison with the exact same string, it fails:
if(employee.department.division == @"Worldwide Seafood") NSLog(@"Works in seafood!");
Nothing displays in the console, i.e. the comparison is not working as it should.
Make sense to anyone? Thanks.