when there is an empty array for the list and when i tap on done button it gives an error like "'* -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'
* First throw call stack:
libc++abi.dylib: terminating with uncaught exception of type NSException"
when there is an empty array for the list and when i tap on done button it gives an error like "'* -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array' * First throw call stack: libc++abi.dylib: terminating with uncaught exception of type NSException"