Merge pull request #127 from chancyWu/bug-fix

Remove wrong observer when deinit
This commit is contained in:
Martin Barreto 2016-02-18 16:23:17 -03:00
commit 0e0fc16e07
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ public class TwitterPagerTabStripViewController: PagerTabStripViewController, Pa
}
deinit {
NSNotificationCenter.defaultCenter().removeObserver(self)
titleView.removeObserver(self, forKeyPath: "frame")
}
public override func viewDidLayoutSubviews() {