我想這個導入在Xcode操場rxswift:如何在Xcode的Playground中導入RxSwift?
gem install cocoapods-playgrounds
,之後
pod playgrounds RxSwift
但它沒有發生。怎麼做?
我想這個導入在Xcode操場rxswift:如何在Xcode的Playground中導入RxSwift?
gem install cocoapods-playgrounds
,之後
pod playgrounds RxSwift
但它沒有發生。怎麼做?
Rx.xcworkspace
RxSwift-macOS
方案Rx.playground
在Rx.xcworkspace
樹視圖,並在新頁面添加新的頁面import RxSwift
。View > Debug Area > Show Debug Area
@Jason,你需要運行下面的命令:
$ gem install cocoapods-playgrounds
$ pod playgrounds RxSwift,RxCocoa
它會工作。第二個命令用已經添加的窗格打開一個工作區。只記得先建立一個目標,然後你可以玩你的新操場。
不再工作在Xcode 9.1
$ pod playgrounds RxSwift,RxCocoa
給
Errno::ENOENT - No such file or directory @ dir_initialize - /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/Source/Playground with Platform Choice.xctemplate
我會盡量讓你給這個 –
反饋@JasonBourne我附上一些圖片來引導你一步一步一步 – XFreire