-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminating app due to uncaught exception 'NSInternalInconsistencyException' #9
Comments
|
Doesn't seem to work. Could it be because |
I've fixed |
Didn't work. For further info I am testing it on an actual device, iPhone 6S. Also, outlet is defined as: |
Do you try this? tableView.removeObserver(tableView.re, forKeyPath: #keyPath(UITableView.contentInset)) |
No didn't. But I just did NOW, and it works!. Thank you. |
I've fixed v0.4.3 without using |
The default version installed via Cocapods ( |
Latest version is 0.4.5 |
I am getting this error, after I hit Back in the navigation controller. My ChatViewController (which uses ReverseExtension) is succesfully deiniting as you can see from the logs below, also another observer that I use (ContextWatcher) is deiniting as well.
I put a break point in deinit and the below error occures before the break point. Any ideas?
[00070]:ChatViewController.swift :deinit........................ :10:26:52 -------------------------
[00071]:ChatViewController.swift :deinit........................ :10:26:52 | ViewController deinit |
[00072]:ChatViewController.swift :deinit........................ :10:26:52 -------------------------
[00075]:CDContextWatcher.swift :deinit........................ :10:26:52 DEINIT ContextWatcher
2017-04-02 10:26:52.602283 LetsGoApp[401:153893] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'An instance 0x1031e0a00 of class UITableView was deallocated while key value observers were still registered with it. Current observation info: <NSKeyValueObservationInfo 0x1708390e0> (
<NSKeyValueObservance 0x170a5b780: Observer: 0x1701cb8b0, Key path: contentInset, Options: <New: YES, Old: YES, Prior: NO> Context: 0x0, Property: 0x17084d200>
)'
The text was updated successfully, but these errors were encountered: