Fast track iOS
Everytime I’m back to create new thing with iOS, it’s quite tough to search for a set of necessary libraries. I’m too lazy for that, so in this post I will try to cover my basic setup that I would use for all of my iOS apps.
1. Setup
We will have to create a folder set to cope with the architecture. At this point, I stick with MVVM, but I don’t want to use the commonsense folder set. Open the terminal (I use iTerm) and run the following command:
Feel free to add more folders as you wish. Remember to add those folders in your XCode as groups, you just need to add the root folders.
2. Dependencies
We will use Cocoapod to manage the dependencies. Still in the terminal:
Add following dependencies (versions may change in future):
Then of course, install the dependencies:
After that, generate a little sweet script to open the workspace if you are extremely lazy:
Then, everytime you want to open it, just run:
3. Base classes
I will finish this part later.
4. Conclusion
Now you have a nice place to start playing with your idea.