如何扩展 iWork 的 Number'09 公式?
我有特定的公式想要编写(也许用 Objective-C 编写)并与 iPad 中 Apple iWork 套件的 Numbers'09 集成,想知道是否有这样的方法可以做到这一点?
I have specific formulas that I'd like to write (in Objective-C perhaps) and integrate with Numbers'09 of Apple's iWork suite in iPad and wonder if there is such a way to do so?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于 Mac OS X 上的 Numbers:
我认为没有支持的方法可以做到这一点。 Numbers 中的所有函数都硬编码在
/Library/Application Support/iWork '09/Frameworks/SFTabular.framework/Versions/A/SFTabular
中。你需要使用像SIMBL这样的工具来在运行时修改其中的类。iPad 上的 Numbers:
甚至比 Mac 版本还要差。 AppStore中根本没有办法有解释性语言,更不用说官方有办法支持第三方插件了!
首先要做的就是越狱你的 iPad,这样可以运行自定义代码。然后你需要等待 saurik 和 iPhone 开发团队修补内核并发布适用于 iPad 的 MobileSubstrate。当满足这些先决条件时,您需要分析 Numbers.app 如何创建这些函数(这意味着需要有人先破解它)(我相信它类似于 SFTabular),并编写一个补丁作为 MobileSubstrate dylib。
For Numbers on Mac OS X:
I don't think there's a supported way to do so. All functions in Numbers are hard-coded in
/Library/Application Support/iWork '09/Frameworks/SFTabular.framework/Versions/A/SFTabular
. You need to use tools like SIMBL to modify the classes in it at runtime.For Numbers on iPad:
Even worse than the Mac version. There's no way to have an interpreted language in AppStore, not to mention an official way to support third-party plug-ins!
The first thing to do is to jailbreak your iPad, which allows custom code to be run. Then you need to wait for saurik and iPhone dev team to patch the kernel and release MobileSubstrate for iPad. When these prerequisites are satisfied, you need to analyze how Numbers.app create those functions (that means someone needs to crack it first) (I believe it's similar to SFTabular), and write a patch as a MobileSubstrate dylib.
没有任何经过批准的方法可以做到这一点,因此特别考虑 iPad,即使您设法破解它并使其正常工作,您的破解也不会在 App Store 中受到欢迎。
There is not any approved way to do this, so specifically considering the iPad, even if you manage to hack it up and get it to work, your hack would not be welcome in the App Store.