Agree with that. recently gave a talk at a iOS developper meeting, and less than 5% of the dev heard about the concept of a "service layer"
Re:Much ado about iOS app architecture
by hashmal on Thursday November 09, 2017 @04:55AM
(#15661154)
It was my experience as well, but over time things "click" and your VCs are suddenly small, there is almost nothing in AppDelegate and the app architecture becomes obvious. I can't explain how to reach that state of mind, though.
(and I'm not writing trivial apps…)
Re:Much ado about iOS app architecture
by lukeredpath on Thursday November 09, 2017 @02:40PM
(#15665254)
iOS is relatively young. It attracts a lot of new programmers. For years iOS suffered from lack of ideas around architecture and solid programming practices.
In the last few years I've seen this start to change and now it seems a bit like "ARCHITECTURE ALL THE THINGS!!!". We're in a period of trying out new ideas and figuring out what works and what doesn't.
Give it a few more years and these ideas will start to mature.
Talking about target-action or delegation in this context is IMHO a misunderstanding. These are very nice and valid solutions, but in my experience they are simply not enough to build a structured non-trivial app with. They are the basic building blocks, but there has to be something above them.
Of course, it’s also a mistake to go overboard with structure, drowning the important bits in architecture boilerplate. Architecture cannot and must not be followed blindly, as a cooking book. You have to aim for a reasonable compromise, a point of diminishing returns.