---
title: layer
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/cametaldrawable/layer
---

# layer

The layer that owns this drawable object.

## Declaration

```swift
var layer: CAMetalLayer { get }
```

## Discussion

Discussion When you present the drawable object, it becomes the owning layer’s content.
