gpt4 book ai didi

objective-c - 如何在 Xcode 4 中浏览方法调用层次结构?

转载 作者:太空狗 更新时间:2023-10-30 03:18:59 26 4
gpt4 key购买 nike

我来自 Eclipse,我想知道 Xcode 4 中是否有一种方法可以像那里那样通过方法调用进行导航。我知道我可以跳转到方法的定义,但我想知道谁在调用该方法/函数。我发现的唯一方法是进行常规文本搜索,但这不是很有用。

最佳答案

从 Xcode 4.4 开始,查找方法的直接调用者和/或被调用者的功能就可用了。不幸的是,似乎没有像 Eclipse 中那样方便的层次结构 View 。

What's New in Xcode 4.4

Xcode can show the callers and callees of the current function or method. This function is accessed from the Show Related Items menu, or by using the Assistant editor and selecting Callers or Callees in the jump bar pop-up menu.

关于objective-c - 如何在 Xcode 4 中浏览方法调用层次结构?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8026824/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com