TableView deallocated while key value observers still registered #16

Closed
mdestagnol opened this Issue Aug 14, 2012 · 0 comments

Projects

None yet

2 participants

Hi,

I noticed a crash when you have a navigation stack of tableviewcontroller that use your lib.

To reproduce the bug, open multiple tableviewcontroller. Then simulate a memory warning and you'll see that something is wrong with your KeyValue observing.

The problem comes from this line :

[scrollView addObserver:self forKeyPath:@"contentOffset" options:NSKeyValueObservingOptionNew context:nil];

By the way thx a lot for your lib, great work! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment