This simple WordPress plugin adds support for the Swift Programming Language to the SyntaxHighlighter Evolved plugin.
Requires SyntaxHighlighter Evolved plugin to be installed first.
Example code
@objc class ExampleClass { let text: String var num = 0 init(text: String) { self.text = text println("Text = " + text) } func incrementNum() { num++ } }
Installation Instructions
- Upload
syntaxhighlighter-swift
to the/wp-content/plugins/
directory. - Activate the plugin through the
Plugins
menu in WordPress.