/JTextView

JTextView is a UITextView replacement which supports an NSAttributedString text store. This allows the display of rich text.

Primary LanguageObjective-C

JTextView
Copyright © 2010, Jeremy Tregunna, All Rights Reserved.

Overview

	JTextView is a replacement UITextView which renders attributed text, and allow
	you to edit it.

Requirements

	JTextView requires CoreText and iOS 4.0 or higher.

	It currently has several limitations:

	1. No spell checking;
	2. No pasteboard support;
	3. Data detectors are not fully implemented*;
	4. Caret is not incorporated yet

	* Data detectors are working for links, phone numbers and addresses. A few notes
	  should be made: 1) For telephone numbers, we always default to call, no option
	  is available for SMS. 2) Calendar integration is not supported, though the code
	  is there to detect and encode it. This is because Apple doesn't provide a way
	  for us to call into Calendar, at least without additional dependencies.

	These items will all by full working (within technical limitations of course)
	before a 1.0 release will be made.

License

	I am releasing JTextView as open source software, under the terms and conditions of
	the MIT license. The text of that license, is presented below:

	Permission is hereby granted, free of charge, to any person obtaining a copy of this
	software and associated documentation files (the "Software"), to deal in the
	Software without restriction, including without limitation the rights to use, copy,
	modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
	and to permit persons to whom the Software is furnished to do so, subject to the
	following conditions:

	The above copyright notice and this permission notice shall be included in all
	copies or substantial portions of the Software.

	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
	INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
	PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
	HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
	OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
	SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.