Wash hands is a small project to show my code, make some tests and, basically, just mess around with iOS development. The main idea is to not use any dependencies at all, or the bare minimum.
Because, right now, is just a really small project, I'm using plain and old MVC.
The folder structure is currently organized like this:
- AppDelegate
- SceneDelegate
- ViewControllers
- MainViewController
- MainView
- Views
- CircularProgressView
- Services
- GifService
- BaseService
- APIErrors
- Models
- GiphyAPIResponse
- GiphyAPIEntity
- GiphyAPIImagesEntity
- Resources
- Assets/Assets.xcassets
- Storyboards
- LaunchScreen
- Main
- Utils
- Extensions
- UIColor
- URLSession
- VideoPlayer
- VideoPlayer
- Extensions
- SupportingFiles
- Info.plist
-
For now, I'm using the ViewCode approach. I created a View, called
MainView
, to handle all UI interactions. This way, I can reduce the amount of code written inMainViewController
class and segregate responsibilities. There are storyboards in the project but they have nothing in it. -
The
MainViewController
is responsible for fetching the data in the custom backed I created.
- Adopt Git Flow in the project
- Unit Testing
- UI improvements