A sample iOS app built using the Clean Swift architecture. Clean Swift is Uncle Bob's Clean Architecture applied to iOS and Mac projects. CleanStore demonstrates Clean Swift by implementing the create order use case described by in Uncle Bob's talks.
In an effort to make view models almost as dumb as enums, how about using tuples over structs?
Benefits I see:
func
,init
, and other logicCan you think of any issues or implications of this (performance, memory, etc)?
Further discussions: https://stackoverflow.com/questions/27384151/swift-tuples-different-from-struct-and-from-each-other