Closed andersio closed 7 years ago
This will need to be rebased on top of #25βthe overall pattern definitely seems like an improvement though π
@erichoracek I was thinking if bridged
should be named something else to avoid name collision. (Realised this when bootstrapping RAS-Rx bridge) π
@erichoracek @mdiep What do you think about .objCBridged
?
TBH I'm not bothered by a name collision with bridged
since added properties to ReactiveSwift APIs should be rare. I'd be more inclined to use .rx
to bridge to RxSwift. But I'd be okay with objCBridged
too.
@ReactiveCocoa/reactivecocoa Feel free to take this over. πΈ
@andersio I can have a look at it this weekend.
Swift API Guidelines prefer initialisers whenever it is possible. So a bunch of stuff is now converted to be initialisers.
bridgedSignalProducer
is renamed toSignalProducer.init(_:)
.bridgedAction
is renamed toAction.init(_:)
.Scheduler.toRACScheduler()
is deprecated in favour of the newRACScheduler.init(_:)
, which wraps an instance ofScheduler
orDateScheduler
.Introduce
RACDisposable.init(_:)
which wraps an instance ofDisposable
.toRACCommand()
andtoRACSignal()
are deprecated in favour of abridged
computed property. Ideally these should beRACCommand.init(_:)
andRACSignal.init(_:)
. However, even with Xcode 8.3 the compiler is still extremely conservative with Objective-C lightweight generics.