Using GC, 10.6 and XCode 3.2.2 - I just implemented a validation method for the 
"myQuantity" property of one of my models and cannot get it to work. The 
problem is with the ioValue, it locks up the app whenever I try to read it. 
After much frustration I simplified the validation to below an it still hangs...

-(BOOL)validateMyQuantity:(id *)ioValue error:(NSError **)outError
        {
        NSLog(@"%@",ioValue);

        return YES;
        }

If I use an integer or float formatter in the NSLog it works, but it just seems 
to be reading the memory address. This makes me think that the ioValue is not 
an object. However, the property "myQuantity" is an NSDecimalNumber and works 
fine throughout the app. The property validation is being triggered from an 
NSTableView column bound to an array - there are no value transformers or 
number formatters on the column.

Thanks


Chris_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to