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: Jean-Daniel Dupas <email@hidden>
- Date: Fri, 05 Feb 2016 16:07:24 +0100
Maybe an issue cause you use __weak reference which zeroed for some reason.
Can you try to use __unsafe_unretained instead and see what happen ?
> Le 5 févr. 2016 à 14:46, Dave <email@hidden> a écrit :
>
>
>> 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…….
> _______________________________________________
>
> 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