---
title: WKInterfaceSeparator
framework: watchkit
role: symbol
role_heading: Class
path: watchkit/wkinterfaceseparator
---

# WKInterfaceSeparator

An interface object that displays a visual separator within a group.

## Declaration

```swift
class WKInterfaceSeparator
```

## Overview

Overview Use WKInterfaceSeparator to manipulate a separator at runtime, such as changing its color. You can also use the inherited methods to show or hide it and configure other attributes. Do not subclass or create instances of this class yourself. Instead, define outlets in your interface controller class and connect them to the corresponding objects in your storyboard file. For example, to refer to a separator object in your interface, define a property with the following syntax in your interface controller class: During the initialization of your interface controller, WatchKit creates any needed separator objects and assigns them to their connected outlets. At that point, you can use those objects to make changes to the onscreen text. Interface Builder Configuration Options Xcode lets you configure information about your separator interface object in your storyboard file. The following table lists the attributes you can configure and their meaning.  |   |

## Topics

### Configuring the Separator

- [setColor(_:)](watchkit/wkinterfaceseparator/setcolor(_:).md)

## Relationships

### Inherits From

- [WKInterfaceObject](watchkit/wkinterfaceobject.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Containers

- [WKInterfaceGroup](watchkit/wkinterfacegroup.md)
- [WKInterfaceTable](watchkit/wkinterfacetable.md)
- [WKInterfacePicker](watchkit/wkinterfacepicker.md)
