Merge pull request #127 from chancyWu/bug-fix
Remove wrong observer when deinit
This commit is contained in:
commit
0e0fc16e07
|
|
@ -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