Short and useful Objective-C snippets?

前端 未结 9 882
慢半拍i
慢半拍i 2021-01-30 07:17

Since XCode 4, there is now a Code Snippets section which offers the snippets via auto-complete when typing. I\'d be very interested in snippets you all have stored in there. Wh

9条回答
  •  [愿得一人]
    2021-01-30 08:03

    Here are my two comment snippets. I use them a lot.

    Header comment:

    // ----------------------------------------------------------------------------------------------------------------
    # pragma mark -
    # pragma mark <#comment#>
    # pragma mark -
    // ----------------------------------------------------------------------------------------------------------------
    

    Sub comment:

    // ----------------------------------------------------------------------------------------------------------------
    //  <#comment#>
    // ----------------------------------------------------------------------------------------------------------------
    

提交回复
热议问题