Xcode extension for automatic generation of //MARK: - comments.
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, protocol or extension declaration in the current file.
- 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 - (/^▽^)/
- 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'.
- Swift
MIT, see LICENSE