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 :)
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 :)