From: Jonathan P. <jp...@dc...> - 2005-11-11 11:51:12
|
On 11 Nov 2005, at 10:19, Rupert BARROW wrote: > if ([record valueForKey:@"changed"] == @"YES") // this crashes This is unrelated to the main issue, but note that comparison doesn't make sense. You need to compare NSStrings with isEqualToString:, or if 'changed' is returning a bool/int try something like: [(NSNumber*)[record valueForKey:@"changed"] boolValue] Can you email me your project, or come up with a small ruby test script that demonstrates the problem? It's a bit hard to tell what's going on with the fragments of code. Cheers Jonathan |