简体   繁体   English

iOS 应用程序中是否可以使用类似 MacFUSE 的东西?

[英]Is something like MacFUSE possible within iOS apps?

I'd like to have virtual files in an iOS app, so I can use [NSData dataWithContentsOfURL:] to have a NSData (and a pointer to the bytes eventually) of a large table that I do not want to store on disk, but rather compute parts of when needed.我想在 iOS 应用程序中有虚拟文件,所以我可以使用[NSData dataWithContentsOfURL:]来拥有一个我不想存储在磁盘上的大表的 NSData(以及最终指向字节的指针),但是而是在需要时计算部分。

Any other approach to solving this problem is welcome!欢迎任何其他解决此问题的方法!

I would recommend rather than thinking of the connection to your "large" table as a persistent one, you should think of it as a queryable service.我建议不要将与“大”表的连接视为持久表,而应将其视为可查询的服务。

I recommend the use of something like REST, and your iOS app queries the REST service.我建议使用 REST 之类的东西,并且您的 iOS 应用程序会查询 REST 服务。

In the long run makes lots of things really flexible.从长远来看,使很多事情变得非常灵活。

Also allows you to centralise a lot of the logic on the server side, this means you can use caching techniques to improve performance, something your iOS app would have had to do.还允许您在服务器端集中大量逻辑,这意味着您可以使用缓存技术来提高性能,这是您的 iOS 应用程序必须做的事情。

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

相关问题 iOS 7:是否可以在iPhone中找到其他正在运行的应用(例如Windows中的taskmangaer) - iOS 7: is it possible to find other running apps in iphone(like taskmangaer in windows) 是否可以使用iOS私有API从应用程序内部修改限制? - Is it possible to use an iOS private API to modify restrictions from within apps? 有像CameraUpdateFactory这样的东西到iOS吗? - There's something like CameraUpdateFactory to iOS? iOS的两个滚动视图之间是否可以使用“ reloadData”之类的方法来保持数据的有效加载? - is it possible to use something like “reloadData” between 2 scroll views in iOS to keep the data loaded efficiently? 是否可以在 ios 中获取已安装的应用程序 - Is it possible to get installed apps in ios iOS应用程序的“短名称”可能吗? - 'short name' for iOS apps possible? 是否可以使用 iPod 为 iOS 开发应用程序? - Is it possible to develop apps for iOS with iPod? iOS / iPad的消息队列 - 像MSMQ? - message queue for iOS / iPad - something like MSMQ? 是否存在iOS版cvShowImage之类的东西? - Does exist something like cvShowImage for iOS? 使用 Javascript 在 iOS 上触发 click() 之类的东西? - Trigger something like click() on iOS using Javascript?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM