Also, I know this was just a test, but consider using capitalisation
at word boundaries in method names (like the framework does)... it's
more readable and others will thank you for it. And if you're using
NSDistributedNotificationCenter, you should remember that you're
going to send your notification to *every* other task on the system
(at least, any that are listening), so it's important that your
notification name is suitably unique. I would suggest that
"ANIMALCRACKERS" probably isn't such a great idea in that regard.
Anyway, don't use NSDistributedNotificationCenter for inter-thread
communication. Just use the -performSelectorOnMainThread: method I
showed above. It's simpler and there's no chance of conflicts with
other applications.