From ab114a3d5e3391e61bc11ae3b2afbdc925ba766f Mon Sep 17 00:00:00 2001 From: Roy Marmelstein Date: Sun, 18 Sep 2016 10:49:52 +0200 Subject: [PATCH] README update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a472b3..7ee96ea 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ To change the current language: Localize.setCurrentLanguage("fr") ``` -To update the UI in the viewcontroller where a language change can take place, observe LCLLanguageChangeNotification : +To update the UI in the view controller where a language change can take place, observe LCLLanguageChangeNotification: ``` -NotificationCenter.default.addObserver(self, selector: #selector(setText), name: NSNotification.Name( LCLLanguageChangeNotification), object: nil) +NotificationCenter.default.addObserver(self, selector: #selector(setText), name: NSNotification.Name(LCLLanguageChangeNotification), object: nil) ``` To reset back to the default app language: