π Simplify your workflow and maintain consistent project structures with custom templates for Xcode!
This repository provides custom templates for building iOS applications using various popular architectures in Xcode. These templates are designed to simplify your workflow and maintain consistent project structures.
- VIPER Module Template
- A ready-to-use template to generate a complete VIPER module, including:
ViewInteractorPresenterEntityRouter
Clone this repository to your local machine:
git clone https://github.com/username/viper-templates.gitNavigate to the repository's root directory and run:
VIPER:
make install_viper_templatesTo remove only the VIPER templates, use:
To remove all installed templates:
make uninstall_viper_templatesmake uninstall_all_templatesThis will:
- Remove templates from the
~/Library/Developer/Xcode/Templates/File Templatesdirectory. - Clean up related files added during installation.
- Open Xcode.
- Navigate to File > New > File.
- Select your desired template from the list.
- Configure your module and start coding!
This repository is highly customizable. You can tweak existing templates or create new ones:
- Modify
.xctemplatefiles to adapt the project structure to your needs. - Update
TemplateInfo.plistto customize template metadata, such as the name, category, or description.
We welcome contributions! If you have ideas for new templates or improvements, feel free to open an issue or submit a pull request. Letβs make this repository better together!