Splash 0.2.0
Splash now uses Swift 4.2. Keep using older versions for Swift 4.1 support.
Splash:
- Added support for the
inout,continue,fallthrough,indirect,deinit,is,whileandrepeatkeywords (thanks @marcocapano!) - Added support for custom token types.
SwiftGrammarcan now more easily be extended..init()is no longer treated as an enum.- Keywords used as function names are no longer treated as keywords.
- Highlighting is now correct for types conforming to multiple protocols.
- Associated types are now correctly highlighted.
- Setters with an explicit access level are now highlighted as keywords.
- The
XCTAssertfamily of functions are now highlighted as functions, rather than types. switchstatements usingnilpattern matching are now correctly highlighted.- Functions using argument pre-processors are now correctly highlighted.
Boolvalues passed to arguments without an external parameter label are now correctly highlighted.
SplashImageGen:
- Added support for specifying a background color (thanks @MaciejGad!)