From 13207dc2da21f6089566c66dbbc74e617dfd15a1 Mon Sep 17 00:00:00 2001 From: Michael Schneider Date: Wed, 9 Mar 2016 14:53:37 -0800 Subject: [PATCH] Change memory notification method name --- AsyncDisplayKit/Details/ASRangeController.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AsyncDisplayKit/Details/ASRangeController.mm b/AsyncDisplayKit/Details/ASRangeController.mm index 81e28a9972..e804db716c 100644 --- a/AsyncDisplayKit/Details/ASRangeController.mm +++ b/AsyncDisplayKit/Details/ASRangeController.mm @@ -82,10 +82,10 @@ + (void)registerLowMemoryNotification { - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(lowMemoryWarning) name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(didReceiveMemoryWarning:) name:UIApplicationDidReceiveMemoryWarningNotification object:nil]; } -+ (void)lowMemoryWarning ++ (void)didReceiveMemoryWarning:(NSNotification *)notification { #if ASRangeControllerAutomaticLowMemoryHandling ASWeakSet *rangeControllers = [self rangeControllers];