| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
<pre>
view.center(in: superview, offset: CGPoint(x: 10, y: 10))
</pre>
===型エイリアス===
*制約を処理するための便利で小さな型エイリアスを提供
<pre>
Constraint = NSLayoutConstraint
Constraints = [NSLayoutConstraint]
</pre>
 
===これは、ビューのトップアンカーをスーパービューのトップアンカーに制約===
<pre>
view.top(to: superview)
</pre>
*firstViewのtop-anchorをsecondViewのbottom-anchorに拘束する
<pre>
firstView.topToBottom(of: secondView)
</pre>

案内メニュー