File Templates#
Noctule provides file templates to quickly create common files.
The content of these templates can be modified at Preferences → Editor → File and Code Templates.
Swift File Templates#
All templates are available at File → New → Swift File/Type.
| Template | Description |
|---|---|
| Swift file | Creates a new, empty Swift file. |
| Class | Creates a new declaration of a class in a new file. |
| Struct | Creates a new declaration of a struct in a new file. |
| Protocol | Creates a new declaration of a protocol in a new file. |
| Actor | Creates a new declaration of an actor in a new file. |
| Enum | Creates a new declaration of an enum in a new file. |
| Extension | Creates a new declaration of an extension in a new file. |
Objective-C File Templates#
All templates are available at File → New → Objective-C File/Type.
| Template | Description |
|---|---|
| Objective-C file | Creates a new, empty Objective-C .m file. |