I am using this code
if (managedObject == nil) { NSLog(@"foooo"); }
to test if the created managedObject is nil or not. But I can never print this Fooooo. Do you know what I am doing wrong?