andrewsardone + reactivecocoa   22

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:

```objc
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.

[rcl]: https://pinboard.in/u:andrewsardone/b:bd82ad74ef92
[uil]: http://gist.io/9159911
ReactiveCocoa  reactiveprogramming  uikit  animation  UIView 
7 days ago by andrewsardone
Using -rac_valuesAndChangesForKeyPath:options:observer: with -mutableArrayValueForKey:
A periodic reminder to manimuplate collections (like NSArray) through the proxy returned by -mutableArrayValueForKey:. That way, you'll get granular KVO notifications for changes, and then in Reactive Cocoa land you can get a signal for those changes via -rac_valuesAndChangesForKeyPath:options:observer:
kvo  cocoa  objective-c  ReactiveCocoa  NSArray 
29 days ago 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
AshFurrow/FunctionalReactivePixels
A demonstration of how to use FRP with ReactiveCocoa in an iOS context using the 500px API. https://leanpub.com/iosfrp
frp  reactiveprogramming  ReactiveCocoa  iOS  github_repo 
november 2013 by andrewsardone
ReactiveLessons - Tony Arnold
If you're only interested in using ReactiveCocoa as a simple replacement for KVO, there you go. "Bam" said the lady.
kvo  ReactiveCocoa  frp 
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
uasi/AFNetworking-ReactiveCocoa · GitHub
AFNetworking-ReactiveCocoa makes AFNetworking reactive.
afnetworking  ReactiveCocoa  http 
april 2013 by andrewsardone

Copy this bookmark:



description:


tags: