FamousInternal/views — pull request #10 by dmvaldman (2014-05-08 00:42:34+00:00)
Title: Feature refactors with context aware view eagle

@michaelobriena

I know this is annoying, but I wanted to take a deep dive into FlexibleLayout and see what came out. I think the pattern used in GridLayout and FlexibleLayout of creating lots of modifiers and ViewSequences was overly complicated. The state of the layout was duplicated in a bunch of places adding redundant complexity, instead of being a derivative of the core state (in the case of FlexibleLayout, it is the ratios). I'd like it if you could take a look at this PR and we can hash out a way forward tomorrow. This version isn't meant as a replacement, and some of the functionality is also missing (only direction_X is supported, for instance). But I'd like for this to frame a conversation moving forward.

I'd also like to point out, there is a branch (fix-nonNumericTransitionable) of TweenTransition to support transitioning arrays with non-numeric values (e.g., [1, true] -> [2, true]), though non-numeric values themselves can't yet be transitioned, nor does physics supports this yet.