I am trying to import rxswift in xcode playground by this:
gem install cocoapods-playgrounds
and after that
pod playgrounds RxSwift
But it is not happening. How to do it?
To open Playground on Xcode, navigate to File in the menu and click on New > Playground... To test our square function, we will choose the Blank template. Name your Playground file, then click on Create.
Rx.xcworkspace
RxSwift-macOS
schemeRx.playground
in the Rx.xcworkspace
tree view and add a new pageimport RxSwift
in the new page.View > Debug Area > Show Debug Area
it's super easy:
example code here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With