Register a textView containing text and NSTextAttachement with image in the right order

Hello !

I'm developing a note like application and I need to save text and images( contained in NSTextAttachement) in the right order. My problem is that I have not figured out how to get the text and NSTextAttachement ordered. Any idea of how I could achieve this ?

This question is more about Apple user interface frameworks than the Swift language, meaning that you might have more luck asking over in a place dedicated to those technologies. For example:

Share and Enjoy

Quinn “The Eskimo!” @ DTS @ Apple