• 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: NSMutableString question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableString question


  • Subject: Re: NSMutableString question
  • From: Jim Correia <email@hidden>
  • Date: Tue, 16 Sep 2008 21:10:55 -0400

On Sep 16, 2008, at 8:59 PM, Dave DeLong wrote:

The general rule with convenience class methods like that is that they return an autoreleased object.

The rules are encapsulated in the object ownership policy:

<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Concepts/ObjectOwnership.html >

That they object may, or may not, be returned autoreleased is irrelevant. The only thing which is relevant is whether you own the returned object or not.

Jim
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSMutableString question (From: John Zorko <email@hidden>)
 >Re: NSMutableString question (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: NSMutableString question
  • Next by Date: Re: NSMutableString question
  • Previous by thread: Re: NSMutableString question
  • Next by thread: Re: NSMutableString question
  • Index(es):
    • Date
    • Thread