【iOS开发】ReactiveCocoa配置
2015-09-14 11:37
381 查看
1. 新建个工程
2. 建一个Podfile
3. Podfile里面填
platform:ios,'7.0'
pod 'ReactiveCocoa'
4 命令行pod install
以上都是常规的pod加入框架的方法。
5 在ReactiveCocoaDemo-Prefix.pch 将RAC的头文件加进去
#import
#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif
#ifdef __OBJC__
#import
#import
/////////////////////
#import "ReactiveCocoa.h"
#import "RACEXTScope.h"
#endif
运行即可
2. 建一个Podfile
3. Podfile里面填
platform:ios,'7.0'
pod 'ReactiveCocoa'
4 命令行pod install
以上都是常规的pod加入框架的方法。
5 在ReactiveCocoaDemo-Prefix.pch 将RAC的头文件加进去
#import
#ifndef __IPHONE_5_0
#warning "This project uses features only available in iOS SDK 5.0 and later."
#endif
#ifdef __OBJC__
#import
#import
/////////////////////
#import "ReactiveCocoa.h"
#import "RACEXTScope.h"
#endif
运行即可
相关文章推荐
- 酷炫的react.js
- ReactJS实践(一)—— FrozenUI React化之Loading组件
- react-利用Atom搭建开发环境
- spring reactor多线程配置
- spring reactor多线程配置
- ReactJS入门(四)—— 组件API
- react-router
- 整理了一份React-Native学习指南
- react-基础(2)
- react-基础(1)
- CocoaPods的安装与使用,以及添加ReactiveCocoa
- ReactiveCocoa的举例
- React 编码
- Python中reactor,factory,protocol
- [React] Intro to inline styles in React components
- ReactJS State
- ReactJS Properties 简介
- ReactiveX--响应式编程
- 两种高性能I/O设计模式(Reactor/Proactor)的比较
- 两种高性能I/O设计模式(Reactor/Proactor)的比较