开发者

How can you find the documentation for all derived types in Xcode documentation browser [closed]

开发者 https://www.devze.com 2023-01-05 05:22 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It i开发者_C百科s not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It i开发者_C百科s not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

Improve this question

Say I'm learning about the UIGestureRecognizer class. In the intro text it mentions UITapGestureRecognizer and UIRotationGestureRecognizer as two concrete implementations. But what other recognizers are there? This is just one example where I'd like to see a list of all the types in the framework that derive from a base class or implement a protocol. In the .NET docs, Microsoft provides a link to all known derived types in the SDK. Is something like this available from Apple?


If you have an open project, you can go to the Class Browser in the Project menu. It will show you the entire class hierarchy or all the classes in a flat list.

As a shortcut for your own classes, you can click on the C in the top right corner of a source or header file. It will show a summary of the view hierarchy for that class, if the source is in the project.

Here is a small hierarchy that happens to include the gesture recognizers and some other common classes. Scroll down to the bottom.

0

精彩评论

暂无评论...
验证码 换一张
取 消