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.