Skip to content
NSNotificationCenter workalike, for education purposes
Find file
Failed to load latest commit information.
.gitignore initial commit Jul 6, 2011
MANotificationCenter.h add specialized key class so we can use a single dictionary to map, i… Jul 7, 2011
MANotificationCenter.m use notification object's address for hashing instead of calling -has… Jul 8, 2011
main.m add warnings flags to the compile line, and clean up one warning that… Jul 7, 2011


MANotificationCenter is an imitation of NSNotificationCenter intended for learning purposes. It implements a similar API and shows approximately how NSNotificationCenter works on the inside.

There is no particular reason to use this code for real work, however please feel free to do so if you want to.

This code was written for this Friday Q&A article:

Something went wrong with that request. Please try again.