项目
在 GitHub 查看
tiagomartinho/Reminders
关于
一个用 Swift 编写的 iOS 应用,用于演示如何在 iOS 中实现整洁架构
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Reminders iOS
An iOS application written in Swift to demonstrate how to implement a Clean Architecture in iOS.
Idea
The idea is to implement the simplest To-Do List app. The user can add a Reminder with a Title and visualize the existing Reminders in a list.
Requirements
- macOS 10.14 or higher
- Xcode 10 or higher
Installation
To compile/run the iOS application:
- open the Xcode Project "Reminders.xcodeproj"
- select the "Reminders" iOS scheme
- Run by pressing "Play" or by pressing [Cmd + R]
Tests
We use XCTest for the Unit and UI tests.
To run the tests for the iOS application:
- open the Xcode Project "Reminders.xcodeproj"
- select the "Reminders" iOS scheme
- Run by pressing "Product" > "Test" or by pressing [Cmd + U]
Possible Improvements
- Use a Mocking framework to remove Mocks and Spies in tests
- Use a Dependency Injection framework to improve ViewControllerFactory and ControllerRouterFactory
- Refactor RemindersEndToEndTest
- Refactor RemindersPresenterTest
- Refactor AddReminderPresenterTest
- Extract business logic in Presenters into Use Cases
- Remove Route dependency in ControllerFactory
- Replace conditional in AppRouter
探索相关项目
加载中…