0xLeif / 0xLeif/LayerKit

Implement Layout

オープン
#3 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Swift
スター
8
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

```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.
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。