Skip to content

Instantly share code, notes, and snippets.

@mhamilt
Last active October 8, 2019 10:02
Show Gist options
  • Save mhamilt/54ecd3952b8a2a855c392f029c6834a0 to your computer and use it in GitHub Desktop.
Save mhamilt/54ecd3952b8a2a855c392f029c6834a0 to your computer and use it in GitHub Desktop.
C++ Class declaration snippet with HeaderDoc tags

Copy and Paste or create a code snippet in xcode

Access snippets in Xcode with L

/*!
 @class <#Class Name#>
 @brief <#Quick Description#>
 @discussion <#Talk about what this does in more detail#>
 @namespace <#What is the Namespace if any#>
 @date <#Date Edited#>
 */
class <#class name#> {
    
public:
    //--------------------------------------------------------------------------
    <#member functions#>
protected:
    //--------------------------------------------------------------------------
    <#member functions#>
private:
    //--------------------------------------------------------------------------
    <#instance variables#>
    <#member functions#>
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment