Insanity v0.14.0 Release Notes
Release Date: 2018-08-28 // over 5 years ago-
๐ New Features
- You can now include entire Swift files in Swift templates
- You can now use AutoEquatable with annotations
- โ Content from multiple file annotations will now be concatenated instead of writing only the latest generated content.
For example content generated by two following templates
// sourcery:file:Generated/Foo.swift line one // sourcery:end
and
// sourcery:file:Generated/Foo.swift line two // sourcery:end
will be written to one file:
line one line two
Internal Changes
- ๐ Use AnyObject for class-only protocols
๐ Bug fixes
- ๐ Fixed parsing associated enum cases in Xcode 10
- ๐ Fixed AutoEquatable access level for
==
func - ๐ Fixed path of generated files when linked to Xcode project
- ๐ Fixed extraction of inline annotations in multi line comments with documentation style
- ๐ Fixed compile error when used AutoHashable in NSObject subclass.