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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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