2017-02-07 46 views

回答

3
  1. 你應該在您的計算機上克隆RxSwift repository
  2. 打開Rx.xcworkspace
  3. 構建RxSwift-macOS方案
  4. 打開Rx.playgroundRx.xcworkspace樹視圖,並在新頁面添加新的頁面
  5. import RxSwift
  6. 選擇View > Debug Area > Show Debug Area

steps 3 and 4

step 5

+0

我會盡量讓你給這個 –

+0

反饋@JasonBourne我附上一些圖片來引導你一步一步一步 – XFreire

0

@Jason,你需要運行下面的命令:

$ gem install cocoapods-playgrounds

$ pod playgrounds RxSwift,RxCocoa

它會工作。第二個命令用已經添加的窗格打開一個工作區。只記得先建立一個目標,然後你可以玩你的新操場。

0

不再工作在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

相關問題