Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
Remove orientation method
Browse files Browse the repository at this point in the history
  • Loading branch information
morizotter committed Jun 25, 2015
1 parent a6984f2 commit 2920902
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions SwiftyDrop/Drop.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2920902

Please sign in to comment.