From 292090216563dae8f52308dc1d85db6045940b81 Mon Sep 17 00:00:00 2001 From: Naoki Morita Date: Fri, 26 Jun 2015 01:03:27 +0900 Subject: [PATCH] Remove orientation method --- SwiftyDrop/Drop.swift | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SwiftyDrop/Drop.swift b/SwiftyDrop/Drop.swift index c54b4f4..4ce98e5 100644 --- a/SwiftyDrop/Drop.swift +++ b/SwiftyDrop/Drop.swift @@ -63,12 +63,6 @@ public final class Drop: UIView { s.removeFromSuperview() } } - - NSNotificationCenter.defaultCenter().addObserverForName(UIDeviceOrientationDidChangeNotification, object: nil, queue: nil) { [weak self] notification in - if let s = self { - s.updateHeight() - } - } } required public init(coder aDecoder: NSCoder) {