hoteltonight/HTAutocompleteTextField — pull request #37 by nielubowicz (2014-09-02 01:12:49+00:00)
Title: Use UITextView's firstRectForRange to get the actual rect for text

Allows proper autocomplete rect for 'NSTextAlignmentLeft','NSTextAlignmentCenter' and 'NSTextAlignmentRight'. The one part of this solution that I am unhappy with is the constant; firstRectForRange returns a different value between iOS6.1 and iOS7.1 and so I have to adjust.