Open junaidxabd opened 7 years ago
You have an observer to remove in the previous view controller.
@iDevelopper how can we do that? :D
Getting same issue (Fatal Exception: NSInternalInconsistencyException) Using SWRevealViewController in Swift 2.2
Ya I told u there she serious prob here!!:(
On 22-Jun-2017, at 3:59 PM, Parth Dabhi (iOS & Android developer) notifications@github.com wrote:
Getting same issue (Fatal Exception: NSInternalInconsistencyException) Using SWRevealViewController in Swift 2.2 https://user-images.githubusercontent.com/10777063/27429631-5770bdd6-5763-11e7-9a43-4f21a6921354.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/John-Lluch/SWRevealViewController/issues/700#issuecomment-310341515, or mute the thread https://github.com/notifications/unsubscribe-auth/AbxZ9d28Ll8B9P-6_hr8LEAlOM-f63o-ks5sGkIegaJpZM4NhXjG.
Probably an observer to remove:
[yourObject removeObserver:self forKeyPath:@"yourKeyPath"];
What Is a key path???what should I use there?
On 22-Jun-2017, at 5:29 PM, Patrick notifications@github.com wrote:
Probably an observer to remove:
[yourObject removeObserver:self forKeyPath:@"yourKeyPath"];
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/John-Lluch/SWRevealViewController/issues/700#issuecomment-310359375, or mute the thread https://github.com/notifications/unsubscribe-auth/AbxZ9dftY6NNEIKus0Xet3W-7HqYaU7dks5sGlc7gaJpZM4NhXjG.
Hey @iDevelopper [Patrick], yes but which observer is not removing that is difficult to identify, and this issue arises in some random case not from same identified pattern otherwise I can test that flow.
Search for the keyword addObserver in your project!
i found couple of the observer in SWReavelviewcontroller, but how to know which one is buggy and in which case is not removing?
There is not observer in SW
Could you upload your project here?
It worked fine for me for a while but now I keep getting the error "libc++abi.dylib: terminating with uncaught exception of type NSException" when I click an item from the tableview. It'll show the next view then crash with that error. (I'm using swift 3)
Here's the console.