• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Hans van der Meer <email@hidden>
  • Date: Sat, 7 Oct 2006 10:30:13 +0200

I have a question about unarchiving.

The following code unarchives an item stored on a stack:
/* Unarchive the stack top. */
stacktop = [NSKeyedUnarchiver unarchiveObjectWithData:[stack lastObject]];
By looking at the retainCount of stacktop I conclude that the object returned by NSKeyedUnarchiver is returned autoreleased. However, I cannot find this mentioned in the documentation.


Is my conclusion correct or am I mistaken and is this not correct?
Please, can someone corroborate.
Thanks in advance.

Hans van der Meer



_______________________________________________
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: (no subject)
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: NSStatusItem's Image transparency
  • Next by Date: Re: Finding all deleted objects from Core Data
  • Previous by thread: Re: Core Data with multiple document types?
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread