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
Save Up to 91% on Cloud Compute With Spot VMs Icon
Save Up to 91% on Cloud Compute With Spot VMs

Automatic sustained-use discounts. One free VM per month. No negotiation needed.

Run batch jobs at 60-91% off with Spot VMs. Long-running workloads get automatic discounts with sustained use.
Start Free
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