How To Get Xcode Quick Help Document For iOS API Class Or Method

When we develop iOS application use Xcode, we always need to get help document of some iOS api library class or method which you do not remember. This article will tell you how to get Xcode quick help document of iOS library class or method.

1. Open Xcode Class Or Method Quick Help Document Steps.

  1. Open the swift or objective-c file source code in Xcode editor.
  2. Press option key in keyboard, and move your mouse pointer over the class or method name.
  3. When you see there is a question mark displayed, click the question mark.
    xcode quick help question mark
  4. Then it will popup below dialog that include the description of Summary, Declaration, Discussion, Note and Parameters about this class or method. If you click the Open in Developer Documentation link at bottom right of the dialog, it will open the Xcode help window to show you the detail help document.
    xcode quick help document popup window
  5. If you press the command key in the keyboard and move your mouse pointer over the class or method name, when the mouse pointer change to an arrow, click it, then it will display a popup menu list dialog.
    press command key and mouse pointer to show xcode quick help menu list
  6. Click the Jump to Definition menu item will direct you to the class or method definition source code. And you can click other menu items to try other functions.
READ :   How To Fix Swift WKWebView Do Not Load URL Page Error

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.