FROM : Kimo
DATE : Tue Jan 08 00:34:42 2008
I'm using the NSPredicateEditor template in IB, and it works well.
The exception is with a BOOL value. For example, if I have a BOOL
value called flag, and I want to use the string (flag == 1), however,
using the NSPredicateEditor always produces the string (flag == "1")
which doesn't work. Is there an option to create the string without
the quotes? Or is there some setting in NSPredicateEditor I'm not
aware of?
TIA.
DATE : Tue Jan 08 00:34:42 2008
I'm using the NSPredicateEditor template in IB, and it works well.
The exception is with a BOOL value. For example, if I have a BOOL
value called flag, and I want to use the string (flag == 1), however,
using the NSPredicateEditor always produces the string (flag == "1")
which doesn't work. Is there an option to create the string without
the quotes? Or is there some setting in NSPredicateEditor I'm not
aware of?
TIA.
| Related mails | Author | Date |
|---|---|---|
| Kimo | Jan 8, 00:34 | |
| Peter Ammon | Jan 8, 01:08 | |
| Kimo | Jan 24, 21:47 | |
| Peter Ammon | Jan 24, 23:23 |






Cocoa mail archive

