Explicitly loop through the errorsToDisplay array in hideMessage: and look for the index of the
record we need instead of using indexOf and removeObject. Swift will not call the equality operators since we have RZMessage objects in the array and NSError objects to compare.
Explicitly loop through the errorsToDisplay array in hideMessage: and look for the index of the record we need instead of using indexOf and removeObject. Swift will not call the equality operators since we have RZMessage objects in the array and NSError objects to compare.