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

Make Reactive.init(_ base:) public. #91

Closed
calebd opened this issue Nov 8, 2016 · 2 comments
Closed

Make Reactive.init(_ base:) public. #91

calebd opened this issue Nov 8, 2016 · 2 comments

Comments

@calebd
Copy link
Contributor

calebd commented Nov 8, 2016

It would be nice to be able to add custom reactive extensions to types that are outside the scope of ReactiveSwift. The only way to achieve that currently is to declare an accessible initializer in the consuming module that can assign base since the current initializer is marked as fileprivate.

@sharplet
Copy link
Contributor

sharplet commented Nov 8, 2016

You should already be able to do that by conforming to ReactiveExtensionProviding on your class.

@calebd
Copy link
Contributor Author

calebd commented Nov 8, 2016

Oh cool I totally missed that. Thanks!

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

No branches or pull requests

3 participants