Skip to content

MrSmart00/PublicInitializeMacro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PublicInitializeMacro

Static Badge Static Badge

Super Simple Swift Macro Part 2

Normal Expand

SUMMARY

This is a sample project that adds a macro for generating constructors for public structs or classes to an existing app project.

STRUCTURE

.
├── Sandbox
│   ├── Sandbox
│   │   ├── Sandbox.xctestplan
│   │   └── SandboxApp.swift
│   └── Sandbox.xcodeproj
├── packages
│   ├── Package.swift
│   ├── Sources
│   │   ├── App
│   │   │   └── ContentView.swift
│   │   ├── Entity
│   │   │   └── Entity.swift
│   │   ├── Macros
│   │   │   └── Difinitions.swift  < Macro's difinition file
│   │   └── Plugins
│   │       └── PublicInitialization.swift  < Macro's implementation file
│   └── Tests
│       └── PluginTests
│           └── PublicInitializationTests.swift
└── public-initialize-macro.xcworkspace

About

Super Simple Swift Macro Part 2 (Attached Macros)

Topics

Resources

License

Stars

Watchers

Forks

Languages