Skip to content

Instantly share code, notes, and snippets.

@sergigracia
Last active June 10, 2022 15:30
Show Gist options
  • Save sergigracia/74b2f67c6eecaf247891 to your computer and use it in GitHub Desktop.
Save sergigracia/74b2f67c6eecaf247891 to your computer and use it in GitHub Desktop.
How to organize an Xcode project? This is a folder structure proposal for an iOS project.
App
Coordinators // Views management
UI // Grouped by features/viewHierarchy
General // Custom textfield, picker
FeatureA
A.swift
AView.swift
AController.swift
AppExtensions // Specific code for extensions
Watch
TV
NotificationCenter
Sharing
Interactors // Grouped by model/feature groups
Core
Entities
Repository
Routers
Storages
Clients
Helpers
Constants
Extensions
Stylesheet
Bridging
Library // Loggers, specific services...
Resources
Storyboards/Nibs
Assets
Fonts
SupportingFiles
Localization
Plist
Tests
Unit
Snapshot
Integration
Frameworks
Products // .app, .xctest, .appex ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment