Re: problems with predicateWithFormat:
Re: problems with predicateWithFormat:
- Subject: Re: problems with predicateWithFormat:
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 27 Jul 2005 12:03:17 -0700
On Jul 27, 2005, at 11:51 AM, Charles Haron wrote:
int itemNumberValue = [*ioValue intValue];
NSPredicate * predicate;
predicate = [NSPredicate predicateWithFormat:@"itemNumber == %
@", itemNumberValue]; //This line causes the error
%@ is for objects. Use %d.
mmalc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden