This repository serves as a boilerplate for monolitic iOS apps using the MVVM (Model-View-ViewModel) pattern combined with some Clean Architecture principles.
- MVVM
- Clean Architecture
- SwiftUI
- Dependency Injection
- Network Layer and Local Storage
- Unit and UI Tests
Swift Boilerplate
├── App
│
├── Core
│ ├── Model
│ └── Protocol
│
├── Interface
│ ├── View
│ │ └── Scenes
│ ├── ViewModel
│ ├── ViewModifiers
│ └── Components
│
├── Service
│ ├── Network
│ │ ├── Managers
│ │ └── Helpers
│ └── Storage
│
├── Utils
│ ├── Extensions
│ └── Helpers
│
└── Resources
├── Styling
└── Localization
- iOS 15.0+
- Xcode 13.0+
- Swift 5.5+
- Clone the repository
- Open the project in Xcode
- Build and run
This boilerplate provides a starting point for your iOS app. You can start by:
- In the "Signing & Capabilities", select your team.
- Change the Bundle ID to suit your own app.
- Edit all the other fields according to your project's name.
- SwiftLint integration for code style enforcement
- Custom Swift package implementation for UI elements, network layering, etc.
- In-app purchase handling
- Push Notifications setup
- Analytics integration
- Improved error handling and user feedback
- Keychain and Storage integration for storage
- Better localization support
If you have any feedback, please reach out to my email
This project is licensed under the MIT License