How to sharpen your skills? Memorize this Core Skills template: App Architecture Template
Most technical interviews I've had revolve around some core skills:
- Simple UI
- TableView
- Cells
- Detail View
- Architecture
- MVP/MVVM/VIPER
- Dependency Injection
- Navigation Coordinator (Router)
- Model Responsibilities
- Network
- Database
- Mock Web Server
- Unit Tests
- Threading
- Simple RxSwift (BehaviorRelay, Variable, CurrentValueSubject)
In building an application you also need these same types of pieces.
SimpleArchitectureExample is a simple app to review & practice these skills, and place to start from to get building an app quickly with these pieces in place.
One of the simplest ways to sharpen your skills is to learn this code by heart:
- Copy it several times
- Break it into simple pieces: one or two word comments
- Rewrite it (from those comments)
- Study it
- Adapt it to your favorite architecture and needs.
- Help each other
- Talk about what I could have done better
- Fix my broken tests since I added CoreData Entities ๐
*** Disclaimer: I don't think there is a best way to do things, but I think code separation and organization is important (within reason). This code example is constantly being updated and added to, and is by no means complete. It gives you a strong starting point. Start with good patterns and move to the better and better.***
If you want to reuse this repo for your own app, there is a simple way to rename the project for to your new app name. This is talked about on stackoverflow
And here are the lines you need to run after you have ack
installed.
Search & Replace: NewProjectName
With New Name: e.g. CoolMoneyMakingApp
Run commands in terminal:
find . -name 'SimpleArchitectureExample*' -print0 | xargs -0 rename --subst-all 'SimpleArchitectureExample' 'NewProjectName'
find . -name 'SimpleArchitectureExample*'
ack --literal --files-with-matches 'SimpleArchitectureExample' --print0 | xargs -0 sed -i '' 's/SimpleArchitectureExample/NewProjectName/g'
ack --literal 'SimpleArchitectureExample'