github/twui — pull request #62 by CodaFi (2012-09-01 02:59:28+00:00)
Title: TUITextView now responds to -editable property

`TUITextView` would not respond to its `editable` property before, and it had much to do with the event handling architecture of the renderer. If one wanted an un-editable text view, one would have to set `-userInteractionEnabled` to FALSE, which disabled the dictionary and any attempts at copying and pasting. I've added two new exposed properties to the `TUITextView` and `TUITextEditor` classes that enable this functionality by checking the property before any key, copy, or cut events are accepted. Mouse down events remain unchanged, however. `TUITextView` automatically syncs its `editable` property to that of its renderer.