ReactiveCocoaLayout
ReactiveCocoaLayout copied to clipboard
Reactive layout framework built on top of ReactiveCocoa
It'd be nice if there were first-class support for key frame animations. I'm not totally sure what that would look like. Maybe an operator like `-sequenceNext:` but that completes when...
RCL's animations are super amazing, but not well-known at all, and the rest of the framework scares off folks who might otherwise use them. It's also just poor modularity: the...
Using [these instructions](https://github.com/Carthage/Carthage/blob/7a0153cc164e301c46527f6e20c886728a0dc218/README.md#declare-your-compatibility).
I write code as below : ``` self.ivIcon=[[UIImageView alloc] initWithFrame:CGRectMake(20, 20, 80, 80)]; [self.view addSubview:self.ivIcon]; self.lblTitle=[[UILabel alloc] initWithFrame:CGRectMake(0, 0, 200, 12)]; [self.view addSubview:self.lblTitle]; RCLAlignment(self.lblTitle)=@{ rcl_top: self.ivIcon.rcl_frameSignal.top, }; ``` I get...
Animations are noticeably smoother when a view is layer-backed. RCL could automatically enable layer-backing on `NSView`s when any property managed by the framework (like `rcl_frame`) is animated as part of...
We should verify that the framework is performant enough during a live resize by performing a lot of reactive calculations.
What's the easiest way to equally space views with RCL? Would I just align each view’s left side to the previous view’s right side?
Resize the window, then make the middle field appear and disappear: ![screen shot 2013-05-14 at 22 24 29](https://f.cloud.github.com/assets/432536/505355/c34d14c4-bd1f-11e2-9fc5-aad2a8b8f95f.png)
I've been constructing my own signal to pass a `CGSize` through AVFoundation's very useful [AVMakeRectWithAspectRatioInsideRect](http://developer.apple.com/library/ios/#Documentation/AVFoundation/Reference/AVFoundation_Functions/Reference/reference.html) function. Example: ``` self.videoScaledSizeSignal = [[RACSignal combineLatest:@[ [RACAbleWithStart(self,player.currentItem.tracks) distinctUntilChanged] , [RACAbleWithStart(self.maxSize) distinctUntilChanged]] reduce:^(NSArray *array,NSValue *maxSize){...
Align two rectangles over time using [baselineOffsetFromBottom](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/doc/uid/20000014-SW191).