---
title: "createGroupTemplate(_:)"
framework: audiotoolbox
role: symbol
role_heading: Type Method
path: "audiotoolbox/auparametertree/creategrouptemplate(_:)"
---

# createGroupTemplate(_:)

Creates a template group which may be used as a prototype for further group instances.

## Declaration

```swift
class func createGroupTemplate(_ children: [AUParameterNode]) -> AUParameterGroup
```

## Parameters

- `children`: The template group’s child nodes.

## Return Value

Return Value A newly-initialized parameter group template.

## Discussion

Discussion Template groups provide a way to construct multiple instances of identical parameter groups, sharing certain immutable state between the instances. Template groups may not appear in trees except at the root.

## 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)
- [createGroup(fromTemplate:identifier:name:addressOffset:)](audiotoolbox/auparametertree/creategroup(fromtemplate:identifier:name:addressoffset:).md)
- [createTree(withChildren:)](audiotoolbox/auparametertree/createtree(withchildren:).md)
