This repository was archived by the owner on Oct 30, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ - (void)viewDidDisappear:(BOOL)animated
222222 [super viewDidDisappear: animated];
223223
224224 // Caches the text before it's too late!
225- [self slk_cacheTextView ];
225+ [self cacheTextView ];
226226}
227227
228228- (void )viewWillLayoutSubviews
@@ -2282,9 +2282,9 @@ - (void)slk_registerNotifications
22822282 [notificationCenter addObserver: self selector: @selector (slk_didShakeTextView: ) name: SLKTextViewDidShakeNotification object: nil ];
22832283
22842284 // Application notifications
2285- [notificationCenter addObserver: self selector: @selector (slk_cacheTextView ) name: UIApplicationWillTerminateNotification object: nil ];
2286- [notificationCenter addObserver: self selector: @selector (slk_cacheTextView ) name: UIApplicationDidEnterBackgroundNotification object: nil ];
2287- [notificationCenter addObserver: self selector: @selector (slk_cacheTextView ) name: UIApplicationDidReceiveMemoryWarningNotification object: nil ];
2285+ [notificationCenter addObserver: self selector: @selector (cacheTextView ) name: UIApplicationWillTerminateNotification object: nil ];
2286+ [notificationCenter addObserver: self selector: @selector (cacheTextView ) name: UIApplicationDidEnterBackgroundNotification object: nil ];
2287+ [notificationCenter addObserver: self selector: @selector (cacheTextView ) name: UIApplicationDidReceiveMemoryWarningNotification object: nil ];
22882288}
22892289
22902290- (void )slk_unregisterNotifications
You can’t perform that action at this time.
0 commit comments