Business logic should go into its own services/functions. Combining all of these will make maintenance, changes, and testing a nightmare.
Keep your responsibilities segregated. Follow command/query responsibility separation.
A community to discuss iOS, macOS, watchOS, tvOS, and visionOS development. Ask questions. Share articles. Share links to open source projects. Links to commercial projects are acceptable if it is not self-promotional in nature.
For now, it is okay to ask for feedback on an app. Please be considerate and do not spam the community.
Business logic should go into its own services/functions. Combining all of these will make maintenance, changes, and testing a nightmare.
Keep your responsibilities segregated. Follow command/query responsibility separation.