• 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: Yet another memory management question - THANKS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yet another memory management question - THANKS


  • Subject: Re: Yet another memory management question - THANKS
  • From: Bruce Truax <email@hidden>
  • Date: Fri, 08 Sep 2006 14:05:48 -0400
  • Thread-topic: Yet another memory management question - THANKS

Thanks joar, now I see what I was doing.  It is quite obvious once someone
points out the problem.  And Thanks Greg for the streamlined code, it works
great.  I do have one question related to the following sequence:

NSString *tempString

tempString = [variable capitalizedString];

Am I correct in assuming that [variable capitalizedString] automatically
creates and allocates a new autoreleased string?  Is this always the case
when using Cocoa methods which return objects?  Are they already init'd
allocated and autoreleased?

Bruce





 _______________________________________________
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

  • Follow-Ups:
    • Re: Yet another memory management question - THANKS
      • From: Sherm Pendley <email@hidden>
    • Re: Yet another memory management question - THANKS
      • From: j o a r <email@hidden>
References: 
 >Re: Yet another memory management question (From: Greg Titus <email@hidden>)

  • Prev by Date: Re: How do I get the NSApplication of other running applications?
  • Next by Date: Re: Re: NSPopupButton
  • Previous by thread: Re: Yet another memory management question
  • Next by thread: Re: Yet another memory management question - THANKS
  • Index(es):
    • Date
    • Thread