I've got this program that has an array of objects, which I'd like to be able to import or export to/from a common spreadsheet file type. So far I haven't had any luck finding a way to write the info to a simple CSV, XLS or Numbers file. Is there an API for this, or does anyone have any idea where to start? I really don't have a clue on this one.