Skip to content
New issue

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

Swift Compiler Error #23

Open
4ndrewHarri5 opened this issue Sep 24, 2020 · 2 comments
Open

Swift Compiler Error #23

4ndrewHarri5 opened this issue Sep 24, 2020 · 2 comments

Comments

@4ndrewHarri5
Copy link

I get 2 errors in MSCollectionViewCell, MSTableViewCell and MSScrollView. They are both the same for each class.

I get the error 'Self.CollectionViewCellContainedViewType' requires that '<<error type>>' inherit from 'MSAutoView' on line 42 in MSCollectionViewCell
and the error Type 'MSAutoView' does not conform to protocol 'CollectionViewCellContainable' on line 49 in the same file.

I started using this package yesterday with no problems, they are now showing up today after not changing any code. The only think I have done is update my xcode version to 12.0 and MacOS version to 10.15.6

Thank you!

@MaherKSantina
Copy link
Owner

Hello @4ndrewHarri5 ! Thank you for contributing to this repo by raising this issue. Yes there is a known issue using this library in XCode 12. I think there's a bug in it where it can't compile conditional conformance for protocols with associated types. It is really frustrating for me also since I can't use the library in my projects too. We have raised a bug to Apple around this and we're waiting for instructions on how to fix it

@4ndrewHarri5
Copy link
Author

Thanks for the reply. I thought I was going crazy, its good to know it is a known issue. Really great library by the way, it has saved me from a lot of problems 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants