spothero/SHEmailValidator — pull request #1 by Pretz (2013-12-06 22:38:59+00:00)
Title: Translate coordinates correctly if suggestion view is not in its target's immediate superview

This works around issues I was seeing when trying to show a suggestion popup for a UITextField in a table view cell. The popup would display behind the above cell in the table view. This change allows using the tableview itself as the container view. The existing examples appear to still work fine.

Also threw in some CGRectIntegral's to fix periodic anti-aliasing (fuzziness) if `target.center.x - width / 2` came out to a non-integral number.