Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create Numbers file and open it with Numbers on iPad

I would like to do a task that is quite simple on other OS, but it is not so trivial on iOS. Namely, I want to create file and open it in Numbers. I can preview the file with UIDocumentInteractionController and then offer it to user that he/she opens it. THis seems to me quite a reasonable solution. However, I need to offer proper file format. I suppose CSV and XLS would be reasonable to implement and it would most probably work, but I would still like to do it in native Numbers format if possible. However, I can't find any info about this file format.

Basically, this task is about exporting data to another app and then working further with them.

like image 502
poksi592 Avatar asked Dec 14 '25 14:12

poksi592


1 Answers

I don't know of a library that can create native Numbers files. There are hoewever some libraries that allow creating XLS files. Since Numbers fully supports XLS, this is probably the way to go.

There is a comercial library available that might work on the iPhone (costs $200): http://www.libxl.com/

As for free XLS libraries, I only know xlwt, a Python module. You could set up a webservice that creates an XLS file for your app, using xlwt on the server side.

like image 56
Jakob Egger Avatar answered Dec 16 '25 20:12

Jakob Egger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!