Rightpoint / RaisinToast

A UIWindow subclass used to message information to the users of your app.
MIT License
83 stars 14 forks source link

hideMessage: does not function correctly when bridged into Swift. #30

Open opi-smccoole opened 9 years ago

opi-smccoole commented 9 years ago

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.