简体   繁体   English

iPad应用程序的数据存储格式。 汇出至Excel

[英]Data storage format for iPad app. Export to excel

I am fairly new to Objective C and iOS programming but am constantly trying to learn as much as I can. 我对Objective C和iOS编程还不陌生,但是我一直在努力学习。

I am about to start an iPad project which will involve storing large amounts of data which will need to be exported to one extremely large excel spreadsheet.(it's for a friend....they currently enter massive amounts of data into excel by hand so that they can analyze it). 我将要开始一个iPad项目,该项目将涉及存储大量数据,这些数据需要导出到一个非常大的ex​​cel电子表格中。(这是给朋友使用的。他们可以分析它)。

This database contains over 400 names(this number is constantly growing) and the app will be very functionally similar to to built in contacts app, except that for each name there will be approximately 2,000 attributes. 该数据库包含400多个名称(这个数字一直在增长),该应用程序的功能与内置联系人应用程序非常相似,不同之处在于每个名称大约有2,000个属性。 These attributes will be entered across tens, if not over a hundred views. 这些属性将跨数十个(如果不超过一百个)视图输入。

The excel file will be located on a local server and the database will be synced with it over wifi. excel文件将位于本地服务器上,并且数据库将通过wifi与它同步。 If I have to write a server side application to handle this, I happily will. 如果必须编写服务器端应用程序来处理此问题,我会很高兴地做到。

My question is this: What data storage method would serve best for my purpose accounting for the sheer size of the database and the need to export to excel? 我的问题是:考虑到庞大的数据库规模以及需要导出以达到卓越的效果,哪种数据存储方法最适合我的目的? (ie CoreData?, SQLLite?, XML?) (即CoreData,SQLLite,XML?)

I sincerely appreciate any help you might offer. 衷心感谢您提供的任何帮助。

James 詹姆士

A framework for relational data such as Core Data or SQlite would work well for selecting and working with subsets of data. 诸如Core Data或SQlite之类的关系数据框架可以很好地用于选择和处理数据子集。 There's no innate export-to-Excel functionality but you could export a csv (comma-separated-value) file that Excel can import. 没有先天导出到Excel的功能,但是您可以导出Excel可以导入的csv(逗号分隔值)文件。

It'll be harder to create a CoreData store on the server end. 在服务器端创建CoreData存储会更加困难。 I'd suggest using and SQLite DB. 我建议使用和SQLite DB。 FMDB is decent frontend for using SQLite on the iPhone, but there are many others. FMDB是在iPhone上使用SQLite的不错的前端,但还有许多其他方面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM