/xctemplate-for-tca-pointfree

✍️ Generates TCA components using XCTemplate the way Stephen and Brandon usually do it on Point Free

Primary LanguageMakefile

XCTemplate for TCA

Generates TCA components using XCTemplate

  • Components
    • Feature
      • FooFeature.swift
        • Comprises all TCA logic (State, Action, Environment, Reducer)
      • FooView.swift
        • Comprises all view logic (View, View Preview)
    • Test
      • FooViewTest.swift

How to install

❯ git clone git@github.com:acosmicflamingo/xctemplate-for-tca-pointfree.git
❯ cd xctemplate-for-tca-pointfree
❯ make

Usage

  1. Command ⌘ + N or File ❯ New ❯ File...
  2. Select Swift Files (TCA)
  3. Next

image

  1. Set the feature name that you want
  2. Next

image

  1. 🎉 Your turn from here!

image image image image