I haven't tried, but off the top of my head it looks like a candidate for using:
[NSAttributedString enumerateAttribute:inRange:options:usingBlock:]
with NSAttachmentAttributeName as the attribute.
--Graham
On 20/09/2011, at 5:23 AM, Sandeep Mohan Bhandarkar wrote:
> Hi All,
>
> Can anyone
Hi All,
Can anyone tell me if it is possible to get the exact range and location of an
attachment present in a NSTextView. Here is what i am looking for
1) Attach images, Documents inline in a NSTextView using NSAttributedString.
2) Get the exact location for the Attachment in the entire text vi