<!--
{
  "availability" : [
    "watchOS: 7.0.0 - 27.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKComplicationTemplateGraphicCornerTextView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ClockKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_ClockKit_SwiftUI44CLKComplicationTemplateGraphicCornerTextViewC"
  },
  "title" : "CLKComplicationTemplateGraphicCornerTextView"
}
-->

# CLKComplicationTemplateGraphicCornerTextView

A template for displaying a SwiftUI view and text in the clock face’s corner.

```
final class CLKComplicationTemplateGraphicCornerTextView<Label> where Label : View
```

## Overview

This template belongs to the [`CLKComplicationFamily.graphicCorner`](/documentation/ClockKit/CLKComplicationFamily/graphicCorner) family.  shows the layout of the view and where the template might appear on the clock face.

![A diagram showing the layout of the complication that calls out the content produced by the text provider and label.](images/com.apple.clockkit/media-3667263@2x.png)

The following table lists the dimensions of the view displayed by the template. The template masks the view to a circle.

|Apple Watch Size|Width    |Height   |
|----------------|---------|---------|
|40 mm           |20 points|20 points|
|41 mm           |21 points|21 points|
|44 mm           |22 points|22 points|
|45 mm           |24 points|24 points|

## Topics

### Creating the Template

[`init(textProvider: CLKTextProvider, label: Label)`](/documentation/ClockKit/CLKComplicationTemplateGraphicCornerTextView/init(textProvider:label:))

Creates a template with a line of text and a SwiftUI view.

### Accessing the Content

[`var textProvider: CLKTextProvider`](/documentation/ClockKit/CLKComplicationTemplateGraphicCornerTextView/textProvider)

The text provider for the text.

[`var label: Label`](/documentation/ClockKit/CLKComplicationTemplateGraphicCornerTextView/label)

The SwiftUI view displayed by the template.

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`CLKComplicationTemplate`](/documentation/ClockKit/CLKComplicationTemplate)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)