Warum ist __strong in schnellen Aufzählungsschleifen mit ARC erforderlich?
Wenn ich etwas Ähnliches wie das Folgende mache, erhalte ich eine Fehlermeldung
for (UIView* att in bottomAttachments) {
if (i <= [cells count]) {
att = [[UIView alloc] extraStuff]
}
}
Fast Enumeration variables cannot be modified in ARC: declare __strong
Was macht__strong
tun und warum muss ich es hinzufügen?