TheAngryDarling / Dynamic-Swift

Script used to dynamically generate swift code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic Swift

macOS Linux Apache 2

Note: This project is phased out and has been replaced with dswift

dswift

     A shell script that dynamically generates swift code from .dswift files within SwiftPM projects
     
     Usage
          Inline Block: <%=...%>
               Used for adding dynamic value to content
               Evaluates to "(...)"
          Class Code: <%! ... %>
               Used to add class variables and functions
               Any content in this block is copied to the classLevel of the generator class
          Generator Code: <% ... %>
               Used to add code within the generator function. Good for wrapping loops around static content with Inline Blocks. Any content in this block is copied to the generator funcion

Dependancies

Swift version 4.0 or greater

Author

License

This project is licensed under Apache License v2.0 - see the LICENSE.md file for details

About

Script used to dynamically generate swift code

License:Apache License 2.0