• 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
releasing NSArrays, NSDictionaries, etc ??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

releasing NSArrays, NSDictionaries, etc ??


  • Subject: releasing NSArrays, NSDictionaries, etc ??
  • From: Robert Miller <email@hidden>
  • Date: Tue, 25 Sep 2001 10:09:51 -0400
  • Organization: RFM & Associates

Hello,

Here's a very basic question, I think. It states in the Cocoa
documentation that when an NS 'Mutable' array or dictionary is released,
all of the objects it (they) contain are sent release messages as well.
Does the same hold true for non-mutable forms of NSArray ,
NSDictionary,etc.? It mentions that a retain message is sent when added
but, does not actually state that a release message is sent when object
itself (the NSArray or NSDictionary) is released (unless I missed it
somewhere which is entirely possible)

Thanks in advance,
Regards,
Bob M.


  • Follow-Ups:
    • Re: releasing NSArrays, NSDictionaries, etc ??
      • From: Peter Ammon <email@hidden>
    • Re: releasing NSArrays, NSDictionaries, etc ??
      • From: John Hörnkvist <email@hidden>
    • Re: releasing NSArrays, NSDictionaries, etc ??
      • From: Ondra Cada <email@hidden>
  • Prev by Date: TableView and context menus
  • Next by Date: Re: Loading a nib window and making it key
  • Previous by thread: Re: assigning delete key to menu item
  • Next by thread: Re: releasing NSArrays, NSDictionaries, etc ??
  • Index(es):
    • Date
    • Thread