Add clarifying comment per CR

// FREEBIE
This commit is contained in:
Michael Kirk 2017-10-24 15:21:46 -07:00
parent d87f000051
commit 59b125c3fb
1 changed files with 4 additions and 0 deletions

View File

@ -986,6 +986,10 @@ typedef NS_ENUM(NSInteger, MessagesRangeSizeMode) {
self.viewHasEverAppeared = YES;
}
// `viewWillDisappear` is called whenever the view *starts* to disappear,
// but, as is the case with the "pan left for message details view" gesture,
// this can be canceled. As such, we shouldn't tear down anything expensive
// until `viewDidDisappear`.
- (void)viewWillDisappear:(BOOL)animated
{
DDLogDebug(@"%@ viewWillDisappear", self.tag);