Remove wrong observer when deinit
This commit is contained in:
parent
06699b84c0
commit
cd188e1ec9
|
|
@ -123,7 +123,7 @@ public class TwitterPagerTabStripViewController: PagerTabStripViewController, Pa
|
|||
}
|
||||
|
||||
deinit {
|
||||
NSNotificationCenter.defaultCenter().removeObserver(self)
|
||||
titleView.removeObserver(self, forKeyPath: "frame")
|
||||
}
|
||||
|
||||
public override func viewDidLayoutSubviews() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue