---
title: shared()
framework: tvmlkit
role: symbol
role_heading: Type Method
path: tvmlkit/tvinterfacefactory/shared()
---

# shared()

Returns the singleton instance of the interface factory.

## Declaration

```swift
class func shared() -> Self
```

## Mentioned in

Creating TVML Elements

## Return Value

Return Value The shared interface factory.

## See Also

### Extending an Interface

- [extendedInterfaceCreator](tvmlkit/tvinterfacefactory/extendedinterfacecreator.md)
