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.

TemplateDescription
Swift fileCreates a new, empty Swift file.
ClassCreates a new declaration of a class in a new file.
StructCreates a new declaration of a struct in a new file.
ProtocolCreates a new declaration of a protocol in a new file.
ActorCreates a new declaration of an actor in a new file.
EnumCreates a new declaration of an enum in a new file.
ExtensionCreates 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.

TemplateDescription
Objective-C fileCreates a new, empty Objective-C .m file.