<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 13.1.0 -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CALayoutManager",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(pl)CALayoutManager"
  },
  "title" : "CALayoutManager"
}
-->

# CALayoutManager

Methods that allow an object to manage the layout of a layer and its sublayers.

```
protocol CALayoutManager : NSObjectProtocol
```

## Topics

### Managing Layout

[`invalidateLayout(of:)`](/documentation/QuartzCore/CALayoutManager/invalidateLayout(of:))

Invalidates the layout of a layer so it knows to refresh its content on the next frame.

[`layoutSublayers(of:)`](/documentation/QuartzCore/CALayoutManager/layoutSublayers(of:))

Override to customize layout of sublayers whenever the layer needs redrawing.

[`preferredSize(of:)`](/documentation/QuartzCore/CALayoutManager/preferredSize(of:))

Override to customize layer size.



---

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)