¿Por qué se requiere __strong en los bucles de enumeración rápida con ARC?
Cuando hago algo similar a lo siguiente, aparece un error que dice
for (UIView* att in bottomAttachments) {
if (i <= [cells count]) {
att = [[UIView alloc] extraStuff]
}
}
Fast Enumeration variables cannot be modified in ARC: declare __strong
Que hace__strong
¿Y por qué debo agregarlo?