Some times app crashes saying object has been deleted.
Please let me know how can I delete with catch exception.
you have to check for the object if it is invalidated or not
if !myObject.isInvalidated { //the object exists and it is safe to handle it }
2.1m questions
2.1m answers
60 comments
57.0k users