Swift Di-container Resources