Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
NSNotificationCenter workalike, for education purposes
branch: master
Failed to load latest commit information.
.gitignore initial commit
MANotificationCenter.h
MANotificationCenter.m use notification object's address for hashing instead of calling -has…
README.markdown add README
main.m add warnings flags to the compile line, and clean up one warning that…

README.markdown

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:

http://mikeash.com/pyblog/friday-qa-2011-07-08-lets-build-nsnotificationcenter.html

Something went wrong with that request. Please try again.