• 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
NSSearchField Predicate Failure: Unable to use '<attribute name> == $value' for scalers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSearchField Predicate Failure: Unable to use '<attribute name> == $value' for scalers


  • Subject: NSSearchField Predicate Failure: Unable to use '<attribute name> == $value' for scalers
  • From: "Frederick C. Lee" <email@hidden>
  • Date: Fri, 20 Jan 2006 12:03:56 -0800

I can't do searches of simple integers within a NSTableColumn/ NSArrayController.

The following predicate works with String values but not with simple scaler values:

<variable> == $value -- only appears to work with strings, not scaler.

However,

<variable == <constant>   --- does work.

So the problem appears to be '$value'. Is there a numeric equivalent to the string pattern search?
... or do I have to convert $value to a string for the comparison to work?


Ric.

_______________________________________________
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


  • Prev by Date: Re: Mixing C++ with Objective-C
  • Next by Date: Re: Universal Binary Problem (Carbon Issue?)
  • Previous by thread: Re: Mixing C++ with Objective-C
  • Next by thread: MFC Porting Issues
  • Index(es):
    • Date
    • Thread