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

Errors with MergeMany (Xcode 12.4) #9

Open
darthpelo opened this issue Apr 15, 2021 · 0 comments
Open

Errors with MergeMany (Xcode 12.4) #9

darthpelo opened this issue Apr 15, 2021 · 0 comments

Comments

@darthpelo
Copy link

Hi @V8tr , I was looking at your article since I am trying to have a common behavior between iOS 13 and iOS 14 regarding the keyboard and I got these errors when I add the extension Publishers:

  • MergeMany(willShow, willHide) Conflicting arguments to generic parameter 'Upstream' ('Publishers.MapKeyPath<NotificationCenter.Publisher, CGFloat>' vs. 'Publishers.Map<NotificationCenter.Publisher, CGFloat>')
  • .eraseToAnyPublisher() Conflicting arguments to generic parameter 'Self' ('Publishers.MergeMany<Publishers.MapKeyPath<NotificationCenter.Publisher, CGFloat>>' vs. 'Publishers.MergeMany<Publishers.Map<NotificationCenter.Publisher, CGFloat>>')

I am using Xcode 12.4 and my project must support iOS 13 and 14.

Seems that the latest version of Swift MergeMany changed behavior. I am trying to find a solution and create a PR, but I create this issue in case you found the solution :)

Thanks a lot for your contribution to the community :)

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

1 participant