0xLeif / 0xLeif/LayerKit

Implement Layout

Abierto
#3 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Swift
Estrellas
8
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

```swift
var layoutManager: CALayoutManager?
The object responsible for laying out the layer’s sublayers.

func setNeedsLayout()
Invalidates the layer’s layout and marks it as needing an update.

func layoutSublayers()
Tells the layer to update its layout.

func layoutIfNeeded()
Recalculate the receiver’s layout, if required.

func needsLayout() -> Bool
Returns a Boolean indicating whether the layer has been marked as needing a layout update.

var autoresizingMask: CAAutoresizingMask
A bitmask defining how the layer is resized when the bounds of its superlayer changes.

func resize(withOldSuperlayerSize: CGSize)
Informs the receiver that the size of its superlayer changed.

func resizeSublayers(withOldSize: CGSize)
Informs the receiver’s sublayers that the receiver’s size has changed.

func preferredFrameSize() -> CGSize
Returns the preferred size of the layer in the coordinate space of its superlayer.
```

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.