Re: Arc: Switch case is in protected scope
Re: Arc: Switch case is in protected scope
- Subject: Re: Arc: Switch case is in protected scope
- From: ChanMaxthon <email@hidden>
- Date: Wed, 23 Oct 2013 01:17:22 +0800
Both call points and end of scope, not counting bigger troublemakers like fall-throughs and use of variables defined in a previous case, which is strangely valid in C.
Sent from my iPhone
> On 2013年10月23日, at 1:14, Scott Ribe <email@hidden> wrote:
>
>> On Oct 22, 2013, at 11:08 AM, ChanMaxthon <email@hidden> wrote:
>>
>> ARC have more insertion points - beginning of scope retaining all passed-in arguments or used objects, call point creating objects, and end of scope (auto)releasing objects.
>
> OK, and it's the ones at call points that cause problems in switch cases, correct?
>
> --
> Scott Ribe
> email@hidden
> http://www.elevated-dev.com/
> (303) 722-0567 voice
>
>
>
>
_______________________________________________
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