zoukankan      html  css  js  c++  java
  • [iOS]ReactiveCocoa playground配置

    1.ReactiveCocoa使用Carthage做包管理,所以需要先安装Carthage环境,从https://github.com/Carthage/Carthage/releases上下载最新的Carthage安装包,然后一路continue就OK了

    2.从github上clone ReactiveCocoa源码, clone完毕后在ReactiveCocoa-master目录下运行carthage update命令,carthage就根据carthage文件内容(类似于cocoapod的Podfile)编译出framework,

      framework在 /Carthage/Build/iOS目录下

    3.用xcode打开ReactiveCocoa.xcworkspace

    4.编译Result-Mac scheme和ReactiveCocoa-Mac scheme

    5.打开ReactiveCocoa.playground

    6.ReactiveCocoa.playground会加载相关头文件并运行playground的代码

    原文步骤:

    Clone the ReactiveCocoa repository.
    Retrieve the project dependencies using one of the following terminal commands from the ReactiveCocoa project root directory:
    script/bootstrap OR, if you have Carthage installed
    carthage checkout
    Open ReactiveCocoa.xcworkspace
    Build Result-Mac scheme
    Build ReactiveCocoa-Mac scheme
    Finally open the ReactiveCocoa.playground
    Choose View > Show Debug Area

    参考资料:

    https://github.com/Carthage/Carthage

    https://github.com/Carthage/Carthage/releases

    https://github.com/ReactiveCocoa/ReactiveCocoa#introduction

    http://www.cnblogs.com/wdsunny/p/4479590.html

  • 相关阅读:
    Python-环境配置
    Linux操作系统基
    BZOJ 1572 贪心(priority_queue)
    POJ 3040 贪心
    POJ 3039 搜索??? (逼近)
    POJ 2433 枚举
    BZOJ 1571 DP
    BZOJ 1232 Kruskal
    BZOJ 1231 状压DP
    POJ 2430 状压DP
  • 原文地址:https://www.cnblogs.com/afluy/p/5677143.html
Copyright © 2011-2022 走看看