exception when I try to access a managedObject property from within an accessor of another property

2011-02-21 Thread Brad Stone
I am getting an exception when I try to access a managedObject property from within an accessor of another property. As ridiculous as it sounds I've been at this for over three days. Hopefully someone can point out what I'm doing wrong. - (NSString *)category { NSString * tmpValue;

Re: exception when I try to access a managedObject property from within an accessor of another property

2011-02-21 Thread Sean McBride
On Mon, 21 Feb 2011 16:53:10 -0600, Brad Stone said: When I replace: if ([[self valueForKey:@isEncrypted] boolValue]) with if (1 == 2 ) or if (1 == 1 ) What if you do: id foo = [self valueForKey:@isEncrypted]; then po foo in gdb --