• 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: NSArray- help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray- help!


  • Subject: Re: NSArray- help!
  • From: Dave Sopchak <email@hidden>
  • Date: Sat, 2 Nov 2002 08:56:55 -0800

Joar,
This is interesting. It doesn't appear to mention the autorelease property in the docs. How did you know this and should I be on the lookout for this sort of behavior in other things?

Thanks again,

Dave


On Saturday, November 2, 2002, at 08:50 AM, j o a r wrote:

You are using a convenience method to construct the array, the "arrayWithObjects:" method. This method returns an autoreleased array, meaning that it will be deallocated automatically if you don't explicitly retain it.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSArray- help!
      • From: j o a r <email@hidden>
References: 
 >Re: NSArray- help! (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSArray- help!
  • Next by Date: Re: NSArray- help!
  • Previous by thread: Re: NSArray- help!
  • Next by thread: Re: NSArray- help!
  • Index(es):
    • Date
    • Thread