简体   繁体   English

新手开发人员:在哪里可以从Mac打印出可可框架?

[英]newbie developer: where can I print out the cocoa framework from my mac?

Other answers have said to use "Capabilities" in Xcode 6 to get a listing of the cocoa framework but I can't find any such thing in Xcode 6 menus. 据说其他答案是在Xcode 6中使用“功能”来获取可可框架的清单,但我在Xcode 6菜单中找不到任何此类东西。 Is this a correct answer and if not how can I print out the cocoa framework so I can see what objects and methods are declared? 这是一个正确的答案吗?如果不是,我如何打印出可可框架,以便可以看到声明了哪些对象和方法?

thanks! 谢谢!

I'm not sure if I get your question, but anyway Apple provides to us a well explained documentation that you can read: Mac Developer Library 我不确定是否能收到您的问题,但是无论如何,Apple会向我们提供解释清楚的文档,您可以阅读以下文档: Mac Developer Library

For example you can read the NSView Class Reference or all the others Frameworks References. 例如,您可以阅读《 NSView类参考》或所有其他《框架参考》。

If you just need the interfaces you could also from Xcode cmd+click on the class name to see the class interface. 如果只需要接口,也可以从Xcode cmd+click类名以查看类接口。

But if you are also looking for private APIs, you should dump the Frameworks yourself or search them on GitHub, from who already did it for you. 但是,如果您还在寻找私有API,则应自己转储框架或在GitHub上搜索框架(由谁为您完成)。

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

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