自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

转载 说说ReactiveCocoa 2

ReactiveCocoa是Github开源的一款cocoa FRP 框架,我在之前的文章里有过介绍(当时还是1.x版本,2.x版本有了新的变化,API也有部分不兼容) 这里再简单地提一下。Native app有很大一部分的时间是在等待事件发生,然后响应事件,比如等待网络请求完成,等待用户的操作,等待某些状态值的改变等等,等这些事件发生后,再做进一步处理。 但是这些等待和响应,并没有一

2015-03-09 09:26:41 755

转载 使用ReactiveCocoa实现iOS平台响应式编程

使用ReactiveCocoa实现iOS平台响应式编程ReactiveCocoa和响应式编程在说ReactiveCocoa之前,先要介绍一下FRP(Functional Reactive Programming,响应式编程),在维基百科中有这样一个例子介绍:在命令式编程环境中,a = b + c 表示将表达式的结果赋给a,而之后改变b或c的值不会影响a。但在响应式编程中

2015-03-06 14:46:05 774

转载 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

转载 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

转载 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

转载 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 681

转载 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 992

转载 一个天气App案例 -- ReactiveCocoa

一个天气App案例(二)FEB 15TH, 2014注:本文译自:raywenderlich ios-7-best-practices-part-2,去除了跟主题无关的寒暄部分。 欢迎转载,保持署名开始你有两个选择开始本教程:您可以使用在本教程的第1部分你已完成的项目,或者你可以在这里下载第1部分已完成的项目。在前面的教程中你创建了你的App的天气模型

2015-03-06 10:25:04 1531

转载 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

转载 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

转载 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

转载 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

转载 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 415

转载 ReactiveCocoa - iOS开发的新框架

什么是ReactiveCocoaReactiveCocoa(其简称为RAC)是由Github 开源的一个应用于iOS和OS X开发的新框架。RAC具有函数式编程和响应式编程的特性。它主要吸取了.Net的 Reactive Extensions的设计和实现。ReactiveCocoa试图解决什么问题经过一段时间的研究,我认为ReactiveCocoa试图解决以下3个问题:

2015-03-03 11:11:22 634

转载 你不容错过的响应式编程介绍

呼,翻译完后又花了些时间重新校对了一遍,删掉了原文作者一些比较“矫情”的地方,也修改了一些段落,目的是为了让全文读起来更加通俗易懂。以前也做过些有趣的翻译,比如翻译Morphia的API文档。一来是为了锻炼一下自己阅读英语文档的能力,二来是觉得响应式编程非常难懂,特别是它的思维。它解决问题的思路不是直接的解决,而是通过描述,让问题在描述过程得到解决。如果你正在学习“响应式编程”、“函数式编程”或“

2015-03-02 14:33:25 4396

转载 函数式反应型编程(FRP) —— 实时互动应用开发的新思路

一、Reactive?请先看一个非常简单的小应用,它允许用户在一个搜索输入框里输入关键词,然后在其下方的结果区域实时显示从Flicker网站搜索得到的图片,当用户输入的关键词发生变化,显示的图片也会随即跟着发生变化。这实际上便是一种reactive能力。而类似这种能自动对外部环境的变化作出响应的系统我们称之为反应型系统(Reactive System)。典型的外部环境变化包

2015-02-26 16:14:09 1137

转载 游戏编程的未来 —— FRP(函数式反应型编程)

FRP 是一种陈述式的 GUI 程序设计方法,这和传统的编程方法有很大不同。传统方法关注‘what’和‘how’,而一个陈述式的语言让你可以只说明显示什么内容,而不用去编程告诉计算机具体怎么做。当前多数 GUI 编程框架都不是陈述式的,这让程序员陷入各种琐碎而不必要的细节之中,忙于处理用户输入,然后手动更新显示内容。而在 FRP 中,很多无关细节都交给编译器来处理,程序员可以解放出来处理更重要的事情。这意味着不再有事件处理器,不再有回调函数,不需要操作 DOM,这些在 Elm 实现的 FRP 中都不

2015-02-25 10:40:31 2322

原创 移动跨平台开源工具AppCan

AppCan是一个Hybrid App框架。支持Hybrid混合应用开发模式,集合WebApp和NativeApp两者优势。

2015-01-21 13:06:25 1098

原创 自定义iOS Xcode工程模板

快速构建自定义的iOS Xcode工程模板。

2015-01-21 12:54:18 1681

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除