In Cocoa, how do I accomplish multiple file formats? I want to create a text program that allows you to open several different file formats, and save a document in those formats as well, but I have no clue on how to accomplish this. I can save documents in one format, and open files of that same format, but I can't accomplish more than one.
I will also want to accomplish this in future programs (non text programs; possibly using custom file formats), so I need a way to do it that can be used for more than just text programs.
Thanks in advance.