RxFeedback.swift
RxFeedback.swift copied to clipboard
Add a public Observable alias to overcome Xcode 15 bug
Fixes #66
@freak4pc Hi! Is there any way you can merge this or #68 PRs and publish updated version for Cocoapods? Thanks
@iandric any idea when will this be merged and a new release published? I'm currently blocked by this 🙏🏻
@iandric any idea when will this be merged and a new release published? I'm currently blocked by this 🙏🏻
No, I'm not involved in the project; just tried to speed things up by reviewing and bumping this.
There's no active maintainer for this project unfortunately. I can try and help in a few days but am preoccupied at the moment 🙏
There's no active maintainer for this project unfortunately. I can try and help in a few days but am preoccupied at the moment 🙏
Gotcha @freak4pc, just created a new PR handling this, that also fixes Example app compilation. Also raised version to 4.0.1, so maybe that one could possibly be the one to get this fix merged?
private func bindingsStrongify<Event, O, WeakOwner>(_ owner: WeakOwner, _ bindings: @escaping (WeakOwner, O) -> (Bindings<Event>)) -> (O) -> (Bindings<Event>) where WeakOwner: AnyObject { return { [weak owner] state -> Bindings<Event> in guard let strongOwner = owner else {
return Bindings(subscriptions: [], events: [Observable<Event>]())
}
return bindings(strongOwner, state)
}
}
//Add this to Fix it public typealias Observable = RxSwift.Observable