iphone - NSFastEnumerationMutationHandler crash -



iphone - NSFastEnumerationMutationHandler crash -

could perchance help me here, why getting nsfastenumerationmutationhandler crash of sudden in code. blank why crash poped of sudden , how crush one.

thanks.

you must trying alter array while using fast enumeration.

example

for ( id anobject in anarray ) { if ( /* anobject satisfies status */ ) { [anarray removeobject:anobject]; } }

that shouldn't done. utilize different array or filteredarrayusingpredicate: method filter. remedy, however, depends on you're trying do.

iphone crash

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -