Change memory notification method name

This commit is contained in:
Michael Schneider
2016-03-09 14:53:37 -08:00
parent bf822dee37
commit 13207dc2da

View File

@@ -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];