nfarina/calloutview — pull request #20 by allu22 (2012-11-12 19:37:55+00:00)
Title: Fix for unwanted behaviour

Fixes situation where after calling dismissCalloutAnimated:YES before presentCallout... would result unwanted behaviour because other animation is still on layer.

It happens because after calling dismissCalloutAnimated:YES second time, the SMCalloutView is not on any view (has no superview) and so it finishes with finished parameter false. After that the "dismiss" animation won't be removed so when "present" animation finishes, "dismiss" animation (opacity:0) will be shown.