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
Post a Comment