---
title: "groupContainer(identifier:)"
framework: tipkit
role: symbol
role_heading: Type Method
path: "tipkit/tips/configurationoption/datastorelocation/groupcontainer(identifier:)"
---

# groupContainer(identifier:)

DatastoreLocation for persisting tips in a group container.

## Declaration

```swift
static func groupContainer(identifier: String) throws -> Tips.ConfigurationOption.DatastoreLocation
```

## Parameters

- `identifier`: A string that names the group whose shared directory you want to obtain. This input should exactly match one of the strings in the app’s App Groups Entitlement.
