Swift Decorator-pattern Resources