SwiftSuspenders is a lightweight dependency injection framework for ActionScript, providing a flexible and metadata-driven way to manage object dependencies in AS3 applications. Chaining multiple injectors to create modular dependency-mapping graphs much like inheritance works in OOP. Defining local and shared scope for mappings, akin to public and private members of a class. Support object live-cycle management (note: The latter part of that management, i.e. the destruction, is not yet implemented, but will be for 2.0 final). Injection requests configurable using standardized metadata.

Features

  • Metadata-based injection requests configuration ([Inject])
  • Supports injection into variables, setters, methods, and constructors
  • Optional injections to gracefully handle missing dependencies
  • Dependency mappings by class and optional name identifiers
  • Custom providers: instance, singleton, value, or user-defined
  • Support for injector chaining and scoped (local/shared) configurations

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow SwiftSuspenders

SwiftSuspenders Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SwiftSuspenders!

Additional Project Details

Programming Language

ActionScript

Related Categories

ActionScript Libraries

Registered

2025-08-11