Swift Virtual-dom Resources