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

  • 相关阅读:
    Typesceipt声明文件
    Hadoop综合大作业
    分布式并行计算MapReduce
    安装关系型数据库MySQL 安装大数据处理框架Hadoop
    爬虫综合大作业
    爬取全部的校园新闻
    爬取全部的校园新闻
    获取一篇新闻的全部信息
    理解爬虫原理
    中文词频统计
  • 原文地址:https://www.cnblogs.com/afluy/p/5677143.html
Copyright © 2011-2022 走看看