Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Variable with BehaviorRelay. #65

Closed
wants to merge 2 commits into from

Conversation

MatyasKriz
Copy link
Collaborator

Fixes #63.

self.behaviorRelay.mutate(using: {
$0.remove(at: index)
})
var mutableArray = self.behaviorRelay.value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between the mutate and removing it using mutableArray?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I overlooked it, it should have been deleted.

@TadeasKriz TadeasKriz closed this Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ActivityIndicator contains RxSwift.Variable which is being deprecated.
3 participants