---
title: "interfaceGroup(for:)"
framework: cryptotokenkit
role: symbol
role_heading: Instance Method
path: "cryptotokenkit/tksmartcardatr/interfacegroup(for:)"
---

# interfaceGroup(for:)

Returns the interface group with the specified protocol.

## Declaration

```swift
func interfaceGroup(for protocol: TKSmartCardProtocol) -> TKSmartCardATR.InterfaceGroup?
```

## Parameters

- `protocol`: The protocol used by the desired interface group.

## Return Value

Return Value The interface group with the specified protocol, or nil if none exists.

## See Also

### Retrieving Interface Groups

- [interfaceGroup(at:)](cryptotokenkit/tksmartcardatr/interfacegroup(at:).md)
- [TKSmartCardATR.InterfaceGroup](cryptotokenkit/tksmartcardatr/interfacegroup.md)
