Code Monkey home page Code Monkey logo

thengenerator's Introduction

ThenGenerator

ThenGenerator

Overview

ThenGenerator is Xcode Source Editor Extension for Then

Install

Download on the Mac App Store

Enviroment

  • macOS 11.0 (Big Sur)
  • SwiftUI
  • UserDefaults

How to use

  1. Install ThenGenerator

  2. Enable Xcode Source Editor

    • ๏ฃฟ -> System Preferences -> Extensions
    • Check ThenGenerator
  3. Input variable name for Generate code. Without UI prefix.

  4. If you want to create a UILabel class with variable name repoNameLabel, you input text VariableName + Label

  5. Select variable name

  6. Editor -> ThenGenerator -> Generate Then Code

Use Shortcut

  1. Xcode Preferences.. (โŒ˜ + ,)
  2. Key Bindings
  3. Search ThenGenerator
  4. Add Shortcut

Change Properties

  1. Launch ThenGeneratorApp
  2. Find UIKit class and turn on/off switch

Demo

Single
Multiline

Contribution

Xcodegen Support

  • Clone -> xcodegen generate

If you find a bug or want to add a new property, find XXXXModel.swift in Models Folder and fix or append property. And find XXXXComponent.swift in ComponentViews Folder and add SwitchView with new property.

References

thengenerator's People

Contributors

87kangsw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

thengenerator's Issues

add How to use UI

What do you want ?

  • add How to use UI

Description ๐Ÿ“

  • Display usage or GitHub link within app

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.