Re: Block gets NULL-ified when animation completes
Re: Block gets NULL-ified when animation completes
- Subject: Re: Block gets NULL-ified when animation completes
- From: Vlad Alekseev <email@hidden>
- Date: Thu, 15 Aug 2013 09:25:33 +0400
Hey,
ARC should drive this for me. If it wouldn’t, then it wouldn’t work in case if there are items in the collection view.
Tried to copy manually - no results. BTW, not only «finish», but also «completion» gets NULLified at the last step.
Vlad.
15 авг. 2013 г., в 9:22, Jens Alfke <email@hidden> написал(а):
> Sounds like you forgot to copy the block — if it’s being invoked after the calling function returns (as a completion handler would) it needs to be copied so it can survive the loss of its original stack frame.
>
> —Jens
_______________________________________________
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