Re: Cannot Validate Property - ioValue
Re: Cannot Validate Property - ioValue
- Subject: Re: Cannot Validate Property - ioValue
- From: Quincey Morris <email@hidden>
- Date: Mon, 26 Jul 2010 12:15:57 -0700
On Jul 26, 2010, at 12:06, Chris Tracewell wrote:
> -(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.
ioValue isn't an object -- it's just a pointer. *ioValue is the object.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden