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

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Runtime

Runtime Web Site

Other Useful Business Software
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

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.
Start building today
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Runtime!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift Libraries

Registered

2023-07-05