Skip to content

Latest commit

 

History

History
84 lines (73 loc) · 2.87 KB

File metadata and controls

84 lines (73 loc) · 2.87 KB

Xcode File Templates Repository

🎉 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.

Swift 6
Xcode 16

📂 Contents

Templates Included

  • VIPER Module Template
    • A ready-to-use template to generate a complete VIPER module, including:
    • View
    • Interactor
    • Presenter
    • Entity
    • Router

🚀 Installation

Clone the Repository

  • Clone this repository to your local machine:

  • git clone https://github.com/username/viper-templates.git

Install the Templates

Navigate to the repository's root directory and run:

  • VIPER:

  • make install_viper_templates
Note: If the templates do not appear in Xcode after installation, please restart your computer to ensure the templates are properly loaded.

🔄 Uninstallation

Steps to Uninstall

  • To remove only the VIPER templates, use:

  • make uninstall_viper_templates
  • To remove all installed templates:

  • make uninstall_all_templates

This will:

  • Remove templates from the ~/Library/Developer/Xcode/Templates/File Templates directory.
  • Clean up related files added during installation.

📜 Usage

  1. Open Xcode.
  2. Navigate to File > New > File.
  3. Select your desired template from the list.
  4. Configure your module and start coding!

🛠 Customization

This repository is highly customizable. You can tweak existing templates or create new ones:

  • Modify .xctemplate files to adapt the project structure to your needs.
  • Update TemplateInfo.plist to customize template metadata, such as the name, category, or description.

🤝 Contributing

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!