Error in Posting Notification Example


#1

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…


#2

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