On Jun 3, 2008, at 2:09 AM, Uli Kusterer wrote:
Am 03.06.2008 um 07:10 schrieb Adam Leonard:
By the way, this shortcut is not just the result of laziness, it is
actually faster. Instead of going through all the objects that are
used throughout the life span of the app, and having the OS free
Am 03.06.2008 um 07:10 schrieb Adam Leonard:
The Cocoa frameworks take this shortcut, as do most applications.
By the way, this shortcut is not just the result of laziness, it is
actually faster. Instead of going through all the objects that are
used throughout the life span of the app, and
Hi,
I have the second edition still, but I assume this example has not
changed much in the third edition.
Usually, yes, you must release anything you +alloc, -retain, -copy,
etc. This is a bit of a special case though.
In this case, exactly one NSSpeechSynthesizer is allocated when the
a
I'm working my way through the 3rd edition and have a question
specifically on speech synthesizer in chapter 5. It's my understanding
that whenever something is retained or alloced they eventually need to
be released. In the application built in the chapter,
NSSpeechSynthesizer is alloced a