我正在尝试查找有关 PastryKit Javascript 框架的任何信息.它似乎在 iPhone 本身在 Mobile Safari 中显示的 iPhone 用户指南中使用,但我找不到任何文档或 API.如果您想查看它的实际效果,请打开 Safari 4,将您的用户代理设置为 iPhone 3(在开发"菜单中)并查看 指南.
I'm trying to find any information I can on the PastryKit Javascript Framework. It appears to be in use on the iPhone User Guide that is displayed on the iPhone itself in Mobile Safari, but I cannot find any documentation or API. If you want to see it in action, open Safari 4, set your user agent to iPhone 3 (In the Develop menu) and check out the guide.
总的来说,这似乎是一种编写 HTML/CSS/Javascript 应用程序的方式,就像原生 iPhone 应用程序一样.
Overall, it seems to be a way to write an HTML/CSS/Javascript application that acts like a native iPhone app.
谈到 Javascript,我在 JS Beautifier 上(我假设是)="http://help.apple.com/ipodtouch/3/mobile/dist/PastryKit-ug-compact.js" rel="noreferrer">框架文件 超过 3,400 行!美化了,(同样是我假设的)他们的实现n超过 1,200 行.
When it comes to Javascript, I used the JS Beautifier on (what I assume to be) the framework file and it was over 3,400 lines! Beautified, (again what I assume to be) their implementation of it was over 1,200 lines.
在 CSS 方面,我在 framework CSS,结果超过 700 行.他们的实现不到 500 个.
On the CSS side, I used Clean CSS on (again what I assume to be) the framework CSS, and it came out to over 700 lines. Their implementation was shy of 500.
是否有人拥有或知道在哪里可以找到有关 PastryKit 的任何信息、文档或 API?或者,任何人都可以弄清楚如何实现它?
Does anybody have, or know where to find, any information, documentation, or APIs on PastryKit? Or, can anybody figure out how to implement it?
John Gruber 最近发布了一个链接,其中包含他在 Daring Fireball 的研究中获得的更多信息:pastrykit
John Gruber recently posted a link with some more information from his research over at Daring Fireball: pastrykit
David Calhoun 在此博客中添加了更多深入的信息:pastrykit 挖苹果派
David Calhoun added a lot more in-depth information over at this blog: pastrykit digging into an apple pie
这篇关于PastryKit 框架是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!