---
title: "createGroup(fromTemplate:identifier:name:addressOffset:)"
framework: audiotoolbox
role: symbol
role_heading: Type Method
path: "audiotoolbox/auparametertree/creategroup(fromtemplate:identifier:name:addressoffset:)"
---

# createGroup(fromTemplate:identifier:name:addressOffset:)

Initializes a group as a copied instance of a template group.

## Declaration

```swift
class func createGroup(fromTemplate templateGroup: AUParameterGroup, identifier: String, name: String, addressOffset: AUParameterAddress) -> AUParameterGroup
```

## Parameters

- `templateGroup`: A group to be used as a template and largely copied from.
- `identifier`: A non-localized, persistent identifier for the new group.
- `name`: A localized display name for the new group.
- `addressOffset`: The address offset for the new group’s parameters, with respect to the template group.

## Return Value

Return Value A newly-initialized parameter group object.

## See Also

### Audio Unit Implementations

- [createParameter(withIdentifier:name:address:min:max:unit:unitName:flags:valueStrings:dependentParameters:)](audiotoolbox/auparametertree/createparameter(withidentifier:name:address:min:max:unit:unitname:flags:valuestrings:dependentparameters:).md)
- [createGroup(withIdentifier:name:children:)](audiotoolbox/auparametertree/creategroup(withidentifier:name:children:).md)
- [createGroupTemplate(_:)](audiotoolbox/auparametertree/creategrouptemplate(_:).md)
- [createTree(withChildren:)](audiotoolbox/auparametertree/createtree(withchildren:).md)
