• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: problems with predicateWithFormat:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with predicateWithFormat:


  • Subject: Re: problems with predicateWithFormat:
  • From: Charles Haron <email@hidden>
  • Date: Wed, 27 Jul 2005 13:31:03 -0600

Thanks,

Problem fixed.

Charles
On Jul 27, 2005, at 1:03 PM, mmalcolm crawford wrote:


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:
40earthlink.net


This email sent to email@hidden


_______________________________________________ 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
References: 
 >problems with predicateWithFormat: (From: Charles Haron <email@hidden>)
 >Re: problems with predicateWithFormat: (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: [ANN] bindlist.py: A simple tool for listing all the bindings in a nib
  • Next by Date: Re: CoreData: How to create two separate in-memory stores?
  • Previous by thread: Re: problems with predicateWithFormat:
  • Next by thread: Re: problems with predicateWithFormat:
  • Index(es):
    • Date
    • Thread