To all,

Thanks for taking the time to post advice..... I think I now
understand much better! --Ron

On Jan 28, 12:50 pm, R <r4eem...@gmail.com> wrote:
> That is precisely what is giving me the confusion.  If retained the
> received block in a NSMutableArray, the block should stick around (via
> a strong array pointer) for another method.  It only stays around if I
> equate the block to a typedef variable and then put that variable in
> the array.  I'm using ARC.
>
> On Jan 28, 9:51 am, Ken Thomases <k...@codeweavers.com> wrote:
>
>
>
>
>
>
>
>
>
> > On Jan 28, 2012, at 10:40 AM, R wrote:
>
> > > I originally chose to hold the block in an array, but that failed.
> > > I'm still confused over that...
>
> > By itself, an array only retains the block.  A block must be explicitly 
> > copied if it is to outlive the scope that created it.  And, of course, that 
> > copy operation has to be balanced with an eventual release.
>
> > Regards,
> > Ken
>
> > _______________________________________________
>
> > Cocoa-dev mailing list (cocoa-...@lists.apple.com)
>
> > 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:https://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev-garchive-...
>
> > This email sent to cocoa-dev-garchive-98...@googlegroups.com
>
> _______________________________________________
>
> Cocoa-dev mailing list (cocoa-...@lists.apple.com)
>
> 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:https://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev-garchive-...
>
> This email sent to cocoa-dev-garchive-98...@googlegroups.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to