swift: create container if not exists