Hey Andy! I know you’re into unidirectional data flows. Would love to hear your comment on Unicorn: github.com/salutis/Unicorn
Conversation
In an idiomatic app, where do action creators go? What’s the role of UIViewController? Should people still subclass it?
2
[2/2] In the app, I ended up with an empty VC that just hides the status bar. Is that weird? Views are totally independent.
1
Replying to
No, I think that’s actually the right role. I suspect you’re onto something if you’re using an instance of UIVC, not a subclass.
Replying to
Thanks! A question: Is it a good thing I got rid of Redux-like reducers? You’re obviously more experienced, what do you say?
2
Well… you didn’t, really. You just moved them around. Your actions are reducers now. They’re implicitly State -> State.
Replying to
I’m also planning a little extension to bridge notifications to actions. [1/2]
Replying to
[2/2] It will allow to map “audio route did change” or “app did enter background” to pause the player.

