2018-02-17から1日間の記事一覧
UIApplication.shared.delegate as! AppDelegate やめる static var shared: AppDelegate? { return UIApplication.shared.delegate as? AppDelegate } コードでAutoLayoutの制約をつける簡易メソッド func bindFrameToSelf(subview: UIView) { // この中で…
UIApplication.shared.delegate as! AppDelegate やめる static var shared: AppDelegate? { return UIApplication.shared.delegate as? AppDelegate } コードでAutoLayoutの制約をつける簡易メソッド func bindFrameToSelf(subview: UIView) { // この中で…