Mark
Xcode extension for automatic generation of MARK comments.
Why?
If you would like to organize your code with MARK comments, this will save you some time. Mark automatically generates comments from any class, struct, enum, protocol or extension declaration in the current file.
Installation Guide (Xcode 8 / OSX 10.11+)
- close Xcode
- (OSX 10.11 only)
sudo /usr/libexec/xpccachectl
- download the Mark app
- unzip and copy to Applications folder
- run (right click + open)
-> System Preferences... -> Extensions -> All -> Enable Mark
- open Xcode
- select a Swift source file
- check if
Editor -> Mark
is there - (/^▽^)/
Usage
-
To populate comments in the entire file go to 'Editor -> Mark -> Mark All'.
-
To generate comments from selection, select text and go to 'Editor -> Mark -> Mark Selected'.
- To insert an emty mark simply go to 'Editor -> Mark -> Mark Selected'.
Supported languages
- Swift
License
MIT, see LICENSE