andrewsardone + reactivecocoa   30

MVVM, Swift and ReactiveCocoa - It's all good!
The extensions like subscribeNextAs helps work around some gross optional wrapping stuff, and I really like the RAC struct as a replacement to the RAC macro.
swiftlang  ReactiveCocoa 
july 2014 by andrewsardone
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
This is a simple app that uses SoundCloud API to authenticate and fetch user's affiliated tracks. Track names & waveforms are displayed in table view.

A decent MVVM example using Reactive Cocoa of showing a paginated feed
ReactiveCocoa  mvvm 
april 2014 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 
march 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
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: