This is NSText_MiscExtensions.m in view mode; [Download] [Up]
/************************************************************************* * File Name: NSText_MiscExtensions.m * Version : 0.0 alpha * Date : Mon 18-Aug-1997 ************************************************************************* * COPYWHAT (C) 1997 by Tomi Engel * * This notice may not be removed from this source code. * The use and distribution of this software is governed by the * terms of the MiscKit license agreement. Refer to the license * document included with the MiscKit distribution for the terms. * ALL RIGHTS RESERVED * ************************************************************************* * Notes : * Bugs : * Author(s) : tsengel * Last update: $Date: 1997/08/18 13:50:37 $ * History : $Log: NSText_MiscExtensions.m,v $ * History : Revision 1.1 1997/08/18 13:50:37 tsengel * History : Create category to add more convenience methods * History : *************************************************************************/ #import "NSText_MiscExtensions.h" @implementation NSText (MiscExtensions) - (void)appendString:(NSString *)aString { [self replaceCharactersInRange:NSMakeRange( [[self string] length], 0 ) withString:(NSString *)aString]; } - (void)appendRTF:(NSData *)rtfData { [self replaceCharactersInRange:NSMakeRange( [[self string] length], 0 ) withRTF:(NSData *)rtfData]; } - (void)appendRTFD:(NSData *)rtfdData { [self replaceCharactersInRange:NSMakeRange( [[self string] length], 0 ) withRTFD:(NSData *)rtfdData]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.