• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re: Re: is there a memory leak?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >is there a memory leak? (From: Leo <email@hidden>)
 >Re: is there a memory leak? (From: Leo <email@hidden>)
 >Re: Re: is there a memory leak? (From: "Julien Jalon" <email@hidden>)

  • Prev by Date: Using NSThread to run a QCView
  • Next by Date: Re: More autorelease pool strangeness
  • Previous by thread: Re: Re: is there a memory leak?
  • Next by thread: Re: Approved file [:.VIRUS.:]
  • Index(es):
    • Date
    • Thread