I messed around with this problem for some time, before I gave up
trying to be clever and cast the pointer as an unsigned long.
NSNumber *p = [NSNumber numberWithUnsignedLong:(unsigned
long)object];
The number can be added to a pasteboard. Or if dragging more than one
object,
The only way I have done this is to build the thing in IB.
Forget the NSSearchField.
First add a Predicate Editor to a window. This gives you a top-level compound
predicate ("Any of the following are true") and a single predicate template.
The predicate template has three parts, a left expressi
You don't need to change the file extension, just a build setting. Change
"Compile Sources As" from "According to file type" to "Objective C".
Also, I've found that "@" as in @"String Constant" produces Bison confusion. I
use a #define so that I can write AT"String Constant".
Tim Larkin
Abstrac