aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCory Bohon2013-04-15 23:16:20 -0300
committerCory Bohon2013-04-15 23:16:20 -0300
commit9890a61538479a1a46c41aad6de985eb43a7e6a8 (patch)
tree4182055a76e0505cee5397b79d4e1298a30b2d9a
parent75c763f6973985710e5142031c5673580b61064f (diff)
downloadMASShortcut-9890a61538479a1a46c41aad6de985eb43a7e6a8.tar.bz2
Update README.md
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5f70798..d34b4a5 100644
--- a/README.md
+++ b/README.md
@@ -25,10 +25,11 @@ I hope, it is really easy:
To set an example, I made a demo project: [MASShortcutDemo](https://github.com/shpakovski/MASShortcutDemo). Enjoy!
-#Notification of Change
-By registering for NSNotifications from NSUserDefaults observing, you can get a callback whenever a user changes the shortcut, allowing you to perform any UI updates, or other code handling needs.
+#Notifications
+By registering for NSNotifications from NSUserDefaults observing, you can get a callback whenever a user changes the shortcut, allowing you to perform any UI updates, or other code handling tasks.
This is just as easy to implement:
+
//implement when loading view
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults addObserver:self