Create a Numbers file and open it with Numbers on iPad

I would like to make a task that is quite simple for other OSs, but it is not so small for iOS. Namely, I want to create a file and open it in Numbers. I can view the file using the UIDocumentInteractionController, and then suggest the user to open it. This seems to me a perfectly reasonable solution. However, I need to provide the correct file format. I believe that CSV and XLS are reasonable to implement, and this will most likely work, but I would still like to do this in native number format, if possible. However, I can not find information about this format.

Basically, this task is to export data to another application, and then further work with them.

+3
source share
3 answers

I do not know a library that can create custom Numbers files. Libraries exist that allow you to create .xls files. Since Numbers fully supports XLS, this is probably the way to go.

There is a commercial library that can run on the iPhone (costs $ 200): http://www.libxl.com/

Regarding the free XLS libraries, I know xlwt , the Python module. You can configure the web service that creates the .xls file for your application using xlwt on the server side.

+1
source

Numbers, , CSV . CSV , . CSV: - ( ) ( ).

CSV, , :

"ID","First Name","Last Name","Salary"
1,"John","Malkovich",3400.20
2,"Fred","Astaire",2000.60

CSV . :

"ID";"First Name";"Last Name";"Salary"
1;"John";"Malkovich";3400,20
2;"Fred";"Astaire";2000,60

Macintosh Numbers Region. , . , .

, iPad.

. .

0

Hope this can help you. I contacted the libxl team and they responded with a link to the demo version of their iPhone library: http://www.libxl.com/download/libxl-iphone.zip

0
source

All Articles