[FIX] Use rangeOfData:options:range instead of the short hand rangeOfData: because it was removed in Mavericks. [#615 state:fixed]