Subclassing NSTextStorage
Subclassing NSTextStorage
- Subject: Subclassing NSTextStorage
- From: Dominik Wagner <email@hidden>
- Date: Sat, 7 Feb 2004 12:16:10 +0100
Hi all,
but especially Doug Davidson :-)
if I do a subclass of NSTextStorage to add non-attribute things like
say caching the line numbers, what's my best choice to use as a storage
for filling the primitive methods described in:
http://developer.apple.com/documentation/Cocoa/Conceptual/
TextStorageLayer/Tasks/Subclassing.html
NSMutableAttributedString or NSTextStorage? Are there performance
differences?
Are there any other methods that I should override to go directly to
the storage to increase performance (like e.g.
attributesAtIndex:longestEffectiveRange:inRange:) or so?
Regards,
dom
--
Dominik Wagner Mail: email@hidden
TheCodingMonkeys
http://www.codingmonkeys.de/
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.