iOS

Hero image for iOS

Project Structure

To keep all current and upcoming iOS projects aligned, we standardize an iOS project’s file organization by following this below structure:

ROOT
├─ README.md
├─ Sources
│  ├─ Application
│  │  ├─ AppDelegate
│  │  ├─ Constants
│  │  ├─ Entitlements
│  │  ├─ Localizations
│  │  └─ Resources
│  │  
│  ├─ Extensions
│  ├─ Models
│  ├─ Modules
│  ├─ Protocols
│  ├─ Services
│  │  ├─ Network
│  │  └─ ...
│  │  
│  ├─ Utilities
│  │  ├─ Logger
│  │  └─ ...
│  │  
└─ Tests
   ├─ Unit Tests
   └─ UI Tests
  • The README.md file provides developers with an overview of the project, such as project name, prerequisites, schemes, build configurations, etc.
  • The Sources folder contains the main source code of the project.
  • The Tests folder contains the testing code of the project.