airbnb / epoxy-ios

Epoxy is a suite of declarative UI APIs for building UIKit applications in Swift
Apache License 2.0
1.24k stars 76 forks source link

Add configuredView API to SupplementaryItemModeling #129

Closed fdiaz closed 2 years ago

fdiaz commented 2 years ago

Change summary

This add the equivalent API to the ItemModeling configuredView(traitCollection) method which IIUC was just an oversight when we implemented SupplementaryItems.

https://github.com/airbnb/epoxy-ios/blob/42d2ad2d0f7bc78594ea5ab1534c02a2fe257601/Sources/EpoxyCollectionView/Models/ItemModel/ItemModeling.swift#L50

How was it tested?

How did you verify that this change accomplished what you expected? Add more detail as needed.

Pull request checklist

All items in this checklist must be completed before a pull request will be reviewed.