An answer to a stack overflow question poised here: http://stackoverflow.com/questions/20116963/how-can-i-get-the-selection-direction-of-an-nstextview/23667851#23667851