Returns the class to use when creating an invalidation context for the layout.
- iOS 7.0+
- tvOS 9.0+
If you subclass
UICollection and use a custom invalidation context object to improve the performance of your layout updates, override this method and return your
UICollection subclass. When the collection view needs to invalidate your layout, it uses the class you provide to create an appropriate invalidation context object.