For beginners,
I was initially confused to learn that "the extern keyword declares a variable or function and indicates that it has an external binding " from @Romain Hippeau.
Now I realized that we can share our variables with other classes using the extern keyword.
For example: Notification.h

Notification.m

Without the extern keyword The following error will be generated for the notification constant. 
Sujananth Visvaratnam Sep 06 '17 at 15:06 2017-09-06 15:06
source share