Questions tagged [reactive-cocoa-5]

In version 5.0, ReactiveCocoa is splitted into multiple repositories which includes ReactiveCocoa, ReactiveSwift and ReactiveObjC.

22 questions
0
votes
1 answer

RACSubject migration to ReactiveCocoa 5 (Swift 3)

I have to migrate an application from ReactiveCocoa 4 to ReactiveCocoa 5 (due to Swift 3 migration) The old implementation uses some RACSubject instances for triggering (performOperationSubject.sendNext) an operation and for handling…
0
votes
1 answer

Bumping from ReactiveCocoa 2.4.7 to ReactiveCocoa 5.0.0

I have taken over an iOS-project which implements ReactiveCocoa 2.4.7 using CocoaPods. The app was programmed in Swift 1.2, but has later been upgraded, and is now Swift 2.3. However, ReactiveCocoa has not been updated. I am now in a situation where…
Sti
  • 8,275
  • 9
  • 62
  • 124
0
votes
2 answers

How to deal with callbacks in ReactiveCocoa 5.0?

I have an utility class to handle the socket, and in the socket delegate methods i could know the current state of the socket, e.g. didConnected, didReadData and so on. I do not want to write an extra protocol with a delegate to send the socket…
Shaw
  • 92
  • 5
0
votes
1 answer

reactivecocoa5.0 need convert to swift 3.0 and there are lots of error after that

reactivecocoa 5.0 has supported swift 3.0, but after importing reactivecocoa 5.0 from cocoapods and opening my project, xcode show me that I need convert swift 2.3 to 3.0, and after that, there are lots of errors, why? reactivecocoa is not support…
0
votes
1 answer

Validate textfield using Reactive Cocoa swift

I am trying to validate UITextField if it has greater than 3 characters it should return true else return false. I tried using the below code but it is not working. What am I doing wrong? let validUserNameSignal =…
user6398734
0
votes
2 answers

Use of unresolved type MutableProperty

I am trying to declare a property in view model that i will later bind to a view.. class LoginViewModel { let myProperty = MutableProperty("")//error here undeclared type MutableProperty } I am using ReactiveCocoa '5.0.0-alpha.3'.
user6398734
0
votes
1 answer

RACObserve(object, keyPath) in ReactiveCocoa 5.0

I want to monitor the UIButton.enabled property to change the button.titleColor I have done in OC like this: #import "ViewController.h" #import @interface ViewController () @property (weak,…
1
2