Patterns and Folder Structure for iOS Development
dev.to·18h·
Discuss: DEV
🎨Design Systems
Preview
Report Post

Every two years, a design pattern becomes famous. VIPER was the golden boy before. I mean, it was the top %1 popular question for the whiteboarding stage. So what? It was MVC in UIKit times. Now it’s MVVM for modern Swift6/SwiftUI/iOS development

Let’s talk

It’s just naming and putting files in the correct place. Do not get confused with all the mumbo-jumbo and CS666 something. All these patterns only affect your workflow. Not your code. Views are the same views in SwiftUI, nothing new or changed.

Create Domain/Feature-Based Modules

If you know REACT this is what we have been using for decades. Create containers in a name, e.g., Dashboard display, and do stuff here. It can be Login, About, Services, Landing Page, and Onboarding. One Job -> One domain, so you can is…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help