I’ve been experimenting with unidirectional reducers/view models [swiftwithmajid.com] and I’m finding them extremely helpful. Normally, I find reactive frameworks too clever for their own good but my “framework” is one class that’s less than 50 lines. Very neat #prosedev
1081110
I did try to consolidate some logic into a protocol and Swift started to throw the oddest of tantrums. It appears like Swift’s concurrency features mix better with pure functions than protocols at the moment.
1081111