THIS SNIPPETS ARE DEPRECATED RIGHT NOW, THEY STILL WORK IF YOU WANT TO USE THEM, TO CONTINUE WITH THE SNIPPETS USE CODESNIPPETS-FOR-XCODE INSTEAD.
The Snippets
are an amazing way to be more productive at the development time, they are bunch of code ready for an specific task.
Xcode already has some snippets for different purposes, also you can create your own.
The main idea in here is to create some snippets that could be helpful for me, and I hope to they be useful to you too.
To make an easy installation, you just need to run a command.
make install_snippets
Note: To run this command you need to be on the root folder where the
Makefile
is located.
To delete the snippets just like the installation is an easy task, you just need to run the following command
make uninstall_snippets
WARNING: This command will delete all the User Snippets folder, so in case you have one, BE CAREFUL, because with this command you are going to delete it too.
- File From Bundle: Let you get the path of a file located in your bundle.
- JSON Decoder for Path: Lets you decode a file from an specific path and convert it to your
Codable
model. - Programmatic Root Scene: Add this snippet to your
SceneDelegate
when you don't want to useStoryboards
. (iOS 13+)
In case you want to contribute to this Repo, feel free to create a Pull Request.