Swift State-shape Resources