Custom File Template Usage

mkdir -p ~/Library/Developer/Xcode/Templates/File\ Templates/
cp -R UserTemplate ~/Library/Developer/Xcode/Templates/File\ Templates
  1. File -> New -> File -> CustomTemplate -> Make ViewModel

image

  1. Type Module name

image

  1. Check File

image