jessesquires/MessagesTableViewController — pull request #210 by arush (2014-04-05 00:21:33+00:00)
Title: changed viewWillDissappear to viewDidDissappear as the former is not always called

Tested on iOS 7.1 in a custom project where JSQMessagesViewController was being presented via push segue within a navigation controller.

When tapping back, viewWillDissappear was not called 100% of the time, therefore leaving dangling KVOs and hence serious memory leaks. Although I cannot reproduce this bug in the demo project, I'm wary that viewWillAppear is one of the most misunderstood methods especially in iOS7.

If this passes tests on the Demo project, I'd love it to be merged.