From c0d8a7d3e8c37f06a9f088e191078b1eae6d7881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elvis=20Nu=C3=B1ez?= <3lvis@users.noreply.github.com> Date: Thu, 12 May 2016 10:52:16 +0200 Subject: [PATCH] Remove unneeded closure ornamentation --- Example-iOS/demos/BasicUIScrollViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Example-iOS/demos/BasicUIScrollViewController.swift b/Example-iOS/demos/BasicUIScrollViewController.swift index 09fa0ae..d9f559f 100644 --- a/Example-iOS/demos/BasicUIScrollViewController.swift +++ b/Example-iOS/demos/BasicUIScrollViewController.swift @@ -43,16 +43,16 @@ class BasicUIScrollViewController: UIViewController { if (!didSetupConstraints) { - scrollView.snp_makeConstraints { (make) -> Void in + scrollView.snp_makeConstraints { make in make.edges.equalTo(view).inset(UIEdgeInsetsZero) } - contentView.snp_makeConstraints { (make) -> Void in + contentView.snp_makeConstraints { make in make.edges.equalTo(scrollView).inset(UIEdgeInsetsZero) make.width.equalTo(scrollView) } - label.snp_makeConstraints { (make) -> Void in + label.snp_makeConstraints { make in make.top.equalTo(contentView).inset(20) make.leading.equalTo(contentView).inset(20) make.trailing.equalTo(contentView).inset(20)