Error in Posting Notification Example


The example following “Here’s an example of an object posting a notification:” in the “Notification Center” section looks like it has an extra opening square brace “[”.

NSNotification *note = [[NSNotification…

Shouldn’t it be:

NSNotification *note = [NSNotification…


You are correct, and thanks for finding that. The correction will make its way to the next release of the book.