Skip to content

Commit 96ab99d

Browse files
committed
Clean up example app.
1 parent 9045932 commit 96ab99d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Example/ViewController.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ class ViewController: UIViewController {
2323
edgesForExtendedLayout = UIRectEdge()
2424
title = "Send Message"
2525
navigationItem.rightBarButtonItem = UIBarButtonItem(title: "Send", style: .done, target: self, action: #selector(ViewController.send(_:)))
26-
27-
navigationItem.leftBarButtonItem = UIBarButtonItem(title: "Toggle", style: .plain, target: self, action: #selector(toggle))
28-
}
29-
30-
@objc dynamic private func toggle() {
31-
UIView.animate(withDuration: 0.3, delay: 0, usingSpringWithDamping: 1, initialSpringVelocity: 0, options: []) {
32-
self.stackViewController.horizontallyRegularContentWidth.toggle()
33-
self.stackViewController.view.layoutIfNeeded()
34-
} completion: { _ in
35-
36-
}
3726
}
3827

3928
required init?(coder aDecoder: NSCoder) {

0 commit comments

Comments
 (0)