iPhone SDK: How to store the time each word was typed?

Posted by Harkonian on Stack Overflow See other posts from Stack Overflow or by Harkonian
Published on 2010-05-25T20:49:35Z Indexed on 2010/05/25 21:41 UTC
Read the original article Hit count: 206

Filed under:
|

My problem is twofold: 1) I'm trying to determine an eloquent way to allow the user to type into a UITextView and store the time each word was typed into an array. The time will be a float which starts at 0 when the user begins to type. 2) Conversely, I'd like the user to be able to tap on a word in the UITextView and display the time that word was typed (displaying in an NSLog() is fine). Considerations that may throw a wrench into a possible approach -- what if the user goes back to the top of the text and starts typing or to the middle of the text?

Even a suggested approach without code would be appreciated, because right now I'm drawing a blank.

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about uitextview