Now that you are writing code, not just copying it from the book, you may need some debugging hints.
If a Cocoa object throws an exception, it will be logged to the console and the event loop will be restarted. If you are not watching the console, you will not notice the error.
The Release configuration has had its debugging symbols stripped. The debugger will act a bit strangely when it is dealing with a program with no debugging symbols.
Here are some common problems and common fixes:
You probably forgot to make a connection ...