We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
⚠️ This is a very large task. Please coordinate here before doing any work.
ℹ️ I don't have a need for this yet, but might in the future.
Here's a rough, high-level outline of what needs to be done.
NSCollectionView
UICollectionView
The text was updated successfully, but these errors were encountered:
Actually, macOS might need all of its own infra to make this work... I'm not sure how much we can reuse.
Especially with the new design here that uses associatedTypes for CellViewModel, etc.
associatedType
CellViewModel
But, "cells" on macOS are actually NSViewControllers, which is... weird. https://developer.apple.com/documentation/appkit/nscollectionviewitem
NSViewController
Maybe something like this:
public protocol CellViewModel: DiffableViewModel, ViewRegistrationProvider { #if os(iOS) associatedtype CellType: UICollectionViewCell #elseif os(macOS) associatedtype CellType: NSCollectionViewItem #endif // .... }
However... I think this could get ugly very quickly.
In any case, this is a significant undertaking.
Sorry, something went wrong.
No branches or pull requests
ℹ️ I don't have a need for this yet, but might in the future.
ToDo
Here's a rough, high-level outline of what needs to be done.
NSCollectionView
infra andUICollectionView
infraResources
The text was updated successfully, but these errors were encountered: