A Swift Runtime library for viewing type info, and the dynamic getting and setting of properties. Runtime is a Swift library to give you more runtime abilities, including getting type metadata, setting properties via reflection, and type construction for native swift objects. TypeInfo exposes metadata about native Swift structs, protocols, classes, tuples and enums. It captures the properties, generic types, inheritance levels, and more.
Features
- Within the TypeInfo object, it contains a list of PropertyInfo which represents all properties for the type
- PropertyInfo exposes the name and type of the property. It also allows the getting and setting of a value on an object
- Runtime also supports building an object from it's Type
- Both structs and classes are supported
- FunctionInfo exposes metadata about functions
- Runtime is available through CocoaPods
Categories
LibrariesLicense
MIT LicenseFollow Runtime
Other Useful Business Software
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Runtime!