【swift3.1】SnapKitを使ってAutolayoutを簡単に実践する

以前書いた記事のswift3.1バージョンになります。
komukomu.hatenablog.com


ソースコードはこちら
github.com


swift3.0になって以下が変更になったみたい

make.center.equalTo(0) now positions a view at 0,0 in it's superview rather than the center, use make.center.equalToSuperview instead.
updateConstraints will throw a fatal error if it generates a new constraint that did not exist before. Instead use makeConstraints to add additional constraints.