Skip to content

A small package that provides a Swift API for instantiating Swift and Objective-C classes by their non-namespaced class name.

License

Notifications You must be signed in to change notification settings

pleasesavemycat/Reflection

Repository files navigation

Reflection

A small package that provides a Swift API for instantiating Swift and Objective-C classes by their non-namespaced class name.

Installation

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding Reflection as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/pleasesavemycat/Reflection.git", .upToNextMajor(from: "1.0.0"))
]

About

A small package that provides a Swift API for instantiating Swift and Objective-C classes by their non-namespaced class name.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages