Dear List,
My App receives RTF (or RTFD) data via Drag & Drop:
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender {
NSPasteboard *pboard;
pboard = [sender draggingPasteboard];
.
.
.
and checks with
if ( [[pboard types] containsObject: NSPasteboardTypeRTF] ) { ...
for available data types. The documentation on NSTextView is
overwhelming to some degree, I only want to display the dropped data
in a NSTextView (in code).
How do I assign the RTF(D) in NSPasteboard to my NSTextView
*programmatically*?
Cheers,
Knut
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com