Skip to main content

Questions tagged [rx-swift]

RxSwift's intention is to enable easy composition of asynchronous operations and event/data streams.

2 votes
1 answer
252 views

I've created a simple function to work as a level, where the dot on screen is centered when the device is completely flat. It changes position based on device orientation. I use RxSwift to update the ...
jclasley's user avatar
3 votes
1 answer
73 views

Below I have enum representing State of a UITableView. The states are divided into 3 categories as below. For all the 3 states I have different UITableViewCells which will be shown for respected cases....
Anirudha Mahale's user avatar
5 votes
1 answer
1k views

I have a ViewController and ViewModel. Here I am using the .subscribe() method too many ...
Anirudha Mahale's user avatar
3 votes
1 answer
2k views

I have tried to develop a simple product listing app in RxSwift with MVVM design pattern. I have managed to achieve it but I need someone to review my code, such as: Have I followed the proper RxSwift ...
Ajay Bhanushali's user avatar
1 vote
1 answer
77 views

I am working on a screen which has segmented control and has 3 segments (year value 2019, 18, 17) and what I am doing is that on each segment click I have to reload data inside a tableview (getting ...
Shabir jan's user avatar
3 votes
1 answer
1k views

I am building a simple login page which will check for username before navigating to another screen and here is how I am doing the binding now. I would like to know if I am doing it right and if I am ...
Samuel Kith's user avatar
0 votes
1 answer
184 views

I'm newbie in Swift and Rx programming. Is my below code is declarative ? If not, please rewrite it and explain to help me more understanding about declarative :( (my English is so bad) ...
Hien Nguyen's user avatar
4 votes
1 answer
903 views

There are so many different solutions and examples on how to build a proper networking layer, but every app has different constraints, and design decisions are made based off trade-offs, leaving me ...
AnonProgrammer's user avatar
1 vote
0 answers
1k views

I am trying to develop an Observable queue that executes given Observable chains one at a time. The code will be used to encode videos on an iPhone and only one queue will be needed per launch, ...
diegoperini's user avatar
4 votes
1 answer
343 views

The below code works because of the do operator on line 24. Is there a more functional way to get the test to pass, or would you consider this an appropriate use of ...
Daniel T.'s user avatar
  • 991