• Home
    • Recent Stories
  • Apps
  • Develop
    • Android
    • iOS
    • Games
    • Tools
    • Testing
    • UI/UX
    • Windows
  • Marketing
    • App Store Optimization
    • Monetization
  • Reports
  • Technology
    • AR/VR
    • Big Data, AI & ML
    • Devices
    • IoT
  • Login
Trending now

Why You Should Never Consent to a Coding Test in an Interview

My Preparation Journey for Google Interviews

Forty and Still a Software Developer?

Don’t Just Write Code, Solve Problems

3 Habits That Will Help You Become a Top Developer

How to create realistic UI with Jetpack Compose(Part II)

Mobile Apps Are No Longer a Good Idea for Startups

Some of the most famous bugs in software history

How I joined the Google Developers Experts program

16 Programming Productivity Tools You Can Use Even if You’re Not a Programmer

How to create hot animations for any interface

Event-Driven Architecture

MVI Architecture with Kotlin Flows and Channels

3 Simple Habits To Boost Your Coding Skills

Android Coroutine Guide: Introduction

5 Powerful IDEs That Nobody Is Talking About

How 7 iOS Apps Could Save You 500MB of Storage

The Top 10 Trending Machine Learning Projects of 2020

10 Unforgivable Phrases Developers Should Stop Saying at Interviews

From 15,000 Database Connections to Under 100

Point-Free’s Swift Composable Architecture medium.com

4
Helen 3 months ago in iOS 0

There seems to a new source of hype growing. While iOS/macOS architectures were mainly driven by MVC, MVVM, or Clean Swift (or others) up until now, SwiftUI, introduced two years ago, sets a different paradigm, where many of these architectures don’t perfectly fit in.

Over the years, we’ve experimented with a variety of approaches in order to find the right one for our application, which needs a heavy rework due to architectural and therefore maintenance problems. However, none of the classic approaches really helped, mainly because it’s a pretty large business application with tons of storage entities, where many functionalities shall be reusable in different contexts — with a growing rework of the application using SwiftUI, more and more problems occurred in keeping everything clean and separated.

By chance, and it was pure luck, I noticed something called Swift Composable Architecture (SCA), created by Point-Free. I read some articles and posts, had a look at their website, bought into their program, watched videos, and was increasingly enthusiastic.

While I still don’t really understand everything about the framework and am still focused on the simple use cases, I succeeded in building a couple of views in the meantime, getting a feeling for its benefits for our application.

Because I had wanted a brief getting-started section with some before/after code fragments (actually, I had to watch and read a lot to get into SCA, but perhaps there’s something I missed), I’ll try to share some of my experience with you, in the hope it may help you enter into this architecture a bit easier.

  • Facebook
  • Twitter
  • Pinterest
  • Google+
Report Story

Related posts:

No related posts.

Tags : codingSwift

Trending Stories

  • Why You Should Never Consent to a Coding Test in an Interview

    Why You Should Never Consent to a Coding Test in... medium.com

  • My Preparation Journey for Google Interviews

    My Preparation Journey for Google Interviews medium.com

  • Forty and Still a Software Developer?

    Forty and Still a Software Developer? medium.com

Our Newsletter

TechHype

Copyright © 2021 TechHype.io.
News, articles and tools for creators of new technologies - Apps, Bots, AI, IoT.
info@TechHype.io | RSS | Feature Request or Contact Us
Login Register

Login

Login with Facebook Login with Twitter Lost Password

Register