Re: yearly NSDraggingInfo -draggedImage question (BEWARE!)

2008-03-21 Thread Sherm Pendley
On Thu, Mar 20, 2008 at 7:09 PM, Nathan Vander Wilt [EMAIL PROTECTED] wrote: On Mar 20, 2008, at 3:31 PM, Dave Hersey wrote: Do you get anything different if you print the object as a pointer (%p)? Printing it as an int value is... weird. Try: printf(Dragged Image: %p\n, (void

yearly NSDraggingInfo -draggedImage question (BEWARE!)

2008-03-20 Thread Nathan Vander Wilt
I implemented a dragging destination, and only get nil from [sender draggedImage]. Why? thanks, -natevw p.s. IMPORTANT NOTE! No one has lived to answer this question: http://www.cocoabuilder.com/archive/message/cocoa/2004/8/19/114978

Re: yearly NSDraggingInfo -draggedImage question (BEWARE!)

2008-03-20 Thread Sherm Pendley
On Thu, Mar 20, 2008 at 5:19 PM, Nathan Vander Wilt [EMAIL PROTECTED] wrote: I implemented a dragging destination, and only get nil from [sender draggedImage]. Why? My car wouldn't start this morning. Why not? sherm-- ___ Cocoa-dev mailing list

Re: yearly NSDraggingInfo -draggedImage question (BEWARE!)

2008-03-20 Thread Nathan Vander Wilt
[sending to the list this time, I might maybe someday eventually get used to the reply-to policy here.] On Mar 20, 2008, at 3:00 PM, Sherm Pendley wrote: On Thu, Mar 20, 2008 at 5:19 PM, Nathan Vander Wilt [EMAIL PROTECTED] wrote: I implemented a dragging destination, and only get nil from

Re: yearly NSDraggingInfo -draggedImage question (BEWARE!)

2008-03-20 Thread Dave Hersey
Do you get anything different if you print the object as a pointer (%p)? Printing it as an int value is... weird. Try: printf(Dragged Image: %p\n, (void *)[sender draggedImage]); or NSLog(@Dragged Image: %@, [[sender draggedImage] description]); I dunno, it may still be nil, but the

Re: yearly NSDraggingInfo -draggedImage question (BEWARE!)

2008-03-20 Thread Nathan Vander Wilt
On Mar 20, 2008, at 3:31 PM, Dave Hersey wrote: Do you get anything different if you print the object as a pointer (%p)? Printing it as an int value is... weird. Try: printf(Dragged Image: %p\n, (void *)[sender draggedImage]); That's a useful format I'd either forgotten or never known,