RAC
文章平均质量分 84
arbullzhang
http://git.oschina.net/arbull
展开
-
Functional Reactive Programming on iOS with ReactiveCocoa
Note: This is going to be a slightly more technical post geared toward our friends in the iOS developer community.Objective-C is a programming language which often finds itself mired in the antiqu转载 2015-03-03 16:20:04 · 416 阅读 · 0 评论 -
使用ReactiveCocoa实现iOS平台响应式编程
使用ReactiveCocoa实现iOS平台响应式编程ReactiveCocoa和响应式编程在说ReactiveCocoa之前,先要介绍一下FRP(Functional Reactive Programming,响应式编程),在维基百科中有这样一个例子介绍:在命令式编程环境中,a = b + c 表示将表达式的结果赋给a,而之后改变b或c的值不会影响a。但在响应式编程中转载 2015-03-06 14:46:05 · 774 阅读 · 0 评论 -
ReactiveCocoa与Functional Reactive Programming
ReactiveCocoa与Functional Reactive Programming什么是Functional Reactive ProgrammingFunctional Reactive Programming(以下简称FRP)是一种响应变化的编程范式。先来看一小段代码a = 2b = 2c = a + b // c is 4b = 3// now转载 2015-03-06 11:21:55 · 685 阅读 · 0 评论 -
Transparent OAuth Token Refresh Using ReactiveCocoa
Transparent OAuth Token Refresh Using ReactiveCocoaDEC 2ND, 2013OAuth 2.0 refresh tokens meet your masterAlmost all the apps that we develop integrate with some sort of backend web servi转载 2015-03-06 10:23:35 · 846 阅读 · 0 评论 -
Getting Started with ReactiveCocoa
Note: This is going to be a slightly more technical post geared toward our friends in the iOS developer community.In my previous post, I covered high-level aspects of ReactiveCocoa, the Objectiv转载 2015-03-03 17:39:15 · 603 阅读 · 0 评论 -
ReactiveCocoa - iOS开发的新框架
什么是ReactiveCocoaReactiveCocoa(其简称为RAC)是由Github 开源的一个应用于iOS和OS X开发的新框架。RAC具有函数式编程和响应式编程的特性。它主要吸取了.Net的 Reactive Extensions的设计和实现。ReactiveCocoa试图解决什么问题经过一段时间的研究,我认为ReactiveCocoa试图解决以下3个问题:转载 2015-03-03 11:11:22 · 635 阅读 · 0 评论 -
ReactiveCocoa -- Memory Management
Memory ManagementReactiveCocoa's memory management is quite complex, but the end result is that you don't need to retain signals in order to process them.If the framework required you to retai转载 2015-03-06 10:37:42 · 837 阅读 · 0 评论 -
ReactiveCocoa -- Basic Operators
Basic OperatorsThis document explains some of the most common operators used in ReactiveCocoa, and includes examples demonstrating their use.Operators that apply to sequences and signals are转载 2015-03-06 10:35:14 · 682 阅读 · 0 评论 -
ReactiveCocoa -- Framework Overview
Framework OverviewThis document contains a high-level description of the different components within the ReactiveCocoa framework, and an attempt to explain how they work together and divide respon转载 2015-03-06 10:36:39 · 469 阅读 · 0 评论 -
ReactiveCocoa -- Design Guidelines
Design GuidelinesThis document contains guidelines for projects that want to make use of ReactiveCocoa. The content here is heavily inspired by the Rx Design Guidelines.This document assumes转载 2015-03-06 10:35:05 · 993 阅读 · 0 评论 -
一个天气App案例 -- ReactiveCocoa
一个天气App案例(二)FEB 15TH, 2014注:本文译自:raywenderlich ios-7-best-practices-part-2,去除了跟主题无关的寒暄部分。 欢迎转载,保持署名开始你有两个选择开始本教程:您可以使用在本教程的第1部分你已完成的项目,或者你可以在这里下载第1部分已完成的项目。在前面的教程中你创建了你的App的天气模型转载 2015-03-06 10:25:04 · 1531 阅读 · 0 评论 -
Wrapping AFNetworking With ReactiveCocoa
Wrapping AFNetworking With ReactiveCocoaNOV 16TH, 2013When you learn to use ReactiveCocoa and discover how it can make your iOS apps more robust and more fun to develop and maintain then you转载 2015-03-06 10:24:25 · 1195 阅读 · 0 评论 -
ReactiveCocoa Essentials: Understanding and Using RACCommand
ReactiveCocoa Essentials: Understanding and Using RACCommandDEC 5TH, 2013The source code accompanying this blog post is on github: https://github.com/olegam/RACCommandExampleIs RACComman转载 2015-03-06 10:21:27 · 800 阅读 · 0 评论 -
说说ReactiveCocoa 2
ReactiveCocoa是Github开源的一款cocoa FRP 框架,我在之前的文章里有过介绍(当时还是1.x版本,2.x版本有了新的变化,API也有部分不兼容) 这里再简单地提一下。Native app有很大一部分的时间是在等待事件发生,然后响应事件,比如等待网络请求完成,等待用户的操作,等待某些状态值的改变等等,等这些事件发生后,再做进一步处理。 但是这些等待和响应,并没有一转载 2015-03-09 09:26:41 · 755 阅读 · 0 评论