inserting images in NSTextView
inserting images in NSTextView
- Subject: inserting images in NSTextView
- From: Jake MacMullin <email@hidden>
- Date: Fri, 8 Feb 2002 10:56:19 +1030
I want to programmatically insert images in to a NSTextView. I know that
I can do this by using replaceDataInRangeWithRTFD(NSData) (using the
Java API's). But how do I get my image in to a NSData object? If
possible, I don't want to have to read the data from a file each time,
but include the image as a resource within my Application Bundle.
Regards,
Jake MacMullin
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.