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: Dave <email@hidden>
- Date: Fri, 05 Feb 2016 15:27:28 +0000
> On 5 Feb 2016, at 15:07, Jean-Daniel Dupas <email@hidden> wrote:
>
> 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 ?
If you look on my other thread, you will see that I have tried this, if I use “assign” or _unsafe_unretained it crashes when unarchiving that object.
If you set it strong, then it creates a dupe of the object over and over again, as I said in the other thread, when I changed things a bit and, I get one level where the parent is referenced (e.g. root to first level child) and the rest nil……
Cheers
Dave
_______________________________________________
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