• 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: Question about Archives and Serialisations Programming Guide
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about Archives and Serialisations Programming Guide


  • Subject: Re: Question about Archives and Serialisations Programming Guide
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 05 Feb 2016 11:37:54 -0500

On Feb 5, 2016, at 8:46 AM, Dave wrote:

>
>> On 5 Feb 2016, at 13:34, Jean-Daniel Dupas <email@hidden> wrote:
>>
>> And obviously, you also add - encodeWithCoder: and -initWithCoder: methods in your custom classes.
>
> Yes, see my other thread, it decodes all the other fields but not the (weak) back links get set to nil most of the time…….

Ahhhhhhh.

It would seem that the reference is being lost when the archiving happens.

Would something that is the opposite of strongify/weakify work here?  Sort of a strongify a weak reference when it comes to archiving and archive the strong reference?

That almost sounds crazy enough to work.

> _______________________________________________
>
> 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


_______________________________________________

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


  • Follow-Ups:
    • Re: Question about Archives and Serialisations Programming Guide
      • From: Dave <email@hidden>
    • Re: Question about Archives and Serialisations Programming Guide
      • From: Dave <email@hidden>
References: 
 >Question about Archives and Serialisations Programming Guide (From: Dave <email@hidden>)
 >Re: Question about Archives and Serialisations Programming Guide (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Question about Archives and Serialisations Programming Guide (From: Dave <email@hidden>)
 >Re: Question about Archives and Serialisations Programming Guide (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Question about Archives and Serialisations Programming Guide (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Question about Archives and Serialisations Programming Guide (From: Dave <email@hidden>)

  • Prev by Date: Re: Archive/Unarchive Problem - Bug in MacOSX/Cocoa?
  • Next by Date: Re: Question about Archives and Serialisations Programming Guide
  • Previous by thread: Re: Question about Archives and Serialisations Programming Guide
  • Next by thread: Re: Question about Archives and Serialisations Programming Guide
  • Index(es):
    • Date
    • Thread