When converting a project to use ARC what does “switch case is in protected scope” mean?

前端 未结 8 1362
忘了有多久
忘了有多久 2020-11-29 17:08

When converting a project to use ARC what does \"switch case is in protected scope\" mean? I am converting a project to use ARC, using Xcode 4 Edit -> Refactor -> Convert to

8条回答
  •  眼角桃花
    2020-11-29 17:43

    Hard to be sure without looking at the code, but it probably means there's some variable declaration going on inside the switch and the compiler can't tell if there's a clear path to the required dealloc point.

提交回复
热议问题