Thanks to both of you guys. Chalk another one up for missing info from
my textbook.
JP
On Mar 12, 2008, at 12:12 AM, Jens Alfke wrote:
You need to declare the type(s) on the pasteboard, before setting
the data.
—Jens
On Mar 11, 2008, at 11:42 PM, Dave Hersey wrote:
The only thing I c
On 11 Mar '08, at 8:13 PM, Jamie Phelps wrote:
// Copy string data to the pasteboard.
[pb setString:self.string
forType:NSStringPboardType];
You need to declare the type(s) on the pasteboard, before setting the
data.
—Jens
smime.p7s
Description: S/MIME cryptographic signat
The only thing I can see is that the docs say that you need to send
the pasteboard the "types" or "availableTypeFromArray:" selectors
before sending "stringForType:", so maybe you're getting screwy log
results without that. Does it change if you add a [pb types]; before
the last NSLog?
-
Hi, all. I am working on the Hillegass chapter that covers drag and
drop, and I have the following method in my code.
- (void)writeStringToPasteboard:(NSPasteboard *)pb {
NSLog(@"Writing %@ to pasteboard [EMAIL PROTECTED]",self.string, pb);
// Copy string data to the pasteboard.
[pb