---
title: sourceName
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/caconstraint/sourcename
---

# sourceName

Name of the layer that the constraint is calculated relative to.

## Declaration

```swift
var sourceName: String { get }
```

## See Also

### Accessing Constraint Values

- [attribute](quartzcore/caconstraint/attribute.md)
- [offset](quartzcore/caconstraint/offset.md)
- [scale](quartzcore/caconstraint/scale.md)
- [sourceAttribute](quartzcore/caconstraint/sourceattribute.md)
