andrewsardone + reactivecocoa + reactiveprogramming   15

Proof-of-concept for implementing Rx primitives in Swift
swiftlang  reactive  reactiveprogramming  ReactiveCocoa 
june 2014 by andrewsardone
RACSignal with Animation · Issue #1248 · ReactiveCocoa/ReactiveCocoa
An example of extracting some simple behavior from [ReactiveCocoaLayout][rcl] that binds a property within an animation block. The idea is that you can use the regular RAC() macro on some animatable UIView property and chain it to a -[RACSignal animateWithDuration:options:] operation:

RAC(view, alpha) = [signalThatEmitsVariousAlphas animateWithDuration:0.3 options:NULL];

It works by -map'ing the next events from the signal ito a +[UIView animateWithDuration:options:animations:completion:] that delegates to a RACSubscriber.

For these animations, it's neat how simple it is to bridge into the reactive world. I’m curious to see how it would have helped me with some [UILabel animation trickiness][uil] I was having.

ReactiveCocoa  reactiveprogramming  uikit  animation  UIView 
april 2014 by andrewsardone
ReactiveCocoa essentials: Understanding and using RACCommand - SHAPE Code Blog
A good walkthrough of how to use RACCommand to send a network request and bind your UI to the various executing, completed, and error states.
reactiveprogramming  objective-c  ReactiveCocoa  frp  MVVM  RACCommand 
december 2013 by andrewsardone
A demonstration of how to use FRP with ReactiveCocoa in an iOS context using the 500px API.
frp  reactiveprogramming  ReactiveCocoa  iOS  github_repo 
november 2013 by andrewsardone
ReactiveCocoa GitHub issue thread on using rac_lift to clarify one's intent
We prefer the more declarative style (selector lifting), because it makes the intention extremely clear.
ReactiveCocoa  reactiveprogramming  declarativeprogramming  objective-c 
may 2013 by andrewsardone
andrewsardone/RACMobiDevDay · GitHub
Example code and slides from the MobiDevDay 2013 presentation on ReactiveCocoa
ReactiveCocoa  reactiveprogramming  frp  ios  cocoa 
may 2013 by andrewsardone
Twitter / joshaber: One of the great things about ...
One of the great things about ReactiveCocoa is that it forces you to consider and make explicit all the things that effect a value.
ReactiveCocoa  reactiveprogramming  frp  cocoa 
may 2013 by andrewsardone

Copy this bookmark: