Re: Re: Re: is there a memory leak?
Re: Re: Re: is there a memory leak?
- Subject: Re: Re: Re: is there a memory leak?
- From: "Alan Smith" <email@hidden>
- Date: Mon, 20 Nov 2006 10:12:54 -0500
A note on code style: 'get' shouldn't be in the function name unless
you are passing by reference, such as [aNSColor getRed: &red green:
&green blue: &blue alpha: &alpha]; So I would recommend changing the
method name to 'contentsOfFile:' or 'contentsAtPath:' or
'contentsOfFileAtPath:'
Though this is up to the code writer it is recommended.
Cheers, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
"Silence is the Universe's greatest gift."
"When the World realizes that religion really is unnecessary, then it
shall evolve."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden