Re: Question about Archives and Serialisations Programming Guide
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