This is my code :
SHARED_MGR.aryToDoList.removeAllObjects()
It is an MutableArray with data model objects . Somehow I am getting crash as :
Swift._SwiftDeferredNSArray removeAllObjects]: unrecognized selector sent to instance 0x618000231720
I have type checked if the array is of type NSArray but it returns false as a result, doing the same with NSMutableArray return true.