Oolite
Loading...
Searching...
No Matches
NSMutableString(OOExtensions) Category Reference

#include <NSStringOOExtensions.h>

Instance Methods

(void) - appendLine:
(void) - appendFormatLine:
(void) - appendFormatLine:arguments:
(void) - deleteCharacterAtIndex:

Detailed Description

Definition at line 81 of file NSStringOOExtensions.h.

Method Documentation

◆ appendFormatLine:

- (void) appendFormatLine: (NSString*) fmt
, (...)  

Definition at line 180 of file NSStringOOExtensions.m.

180 :(NSString*)fmt, ...
181{
182 va_list args;
183 va_start(args, fmt);
184 [self appendFormatLine:fmt arguments:args];
185 va_end(args);
186}

References appendFormatLine:arguments:.

Here is the call graph for this function:

◆ appendFormatLine:arguments:

- (void) appendFormatLine: (NSString*) fmt
arguments: (va_list) args 

Definition at line 188 of file NSStringOOExtensions.m.

188 :(NSString*)fmt arguments:(va_list)args
189{
190 NSString* formatted = [[NSString alloc] initWithFormat:fmt arguments:args];
191 [self appendLine:formatted];
192 [formatted release];
193}

References appendLine:.

Referenced by appendFormatLine:.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ appendLine:

- (void) appendLine: (NSString*) line

Definition at line 175 of file NSStringOOExtensions.m.

175 :(NSString*)line
176{
177 [self appendString:line ? [line stringByAppendingString:@"\n"] : (NSString*)@"\n"];
178}

Referenced by appendFormatLine:arguments:.

Here is the caller graph for this function:

◆ deleteCharacterAtIndex:

- (void) deleteCharacterAtIndex: (unsigned long) index

Definition at line 195 of file NSStringOOExtensions.m.

195 :(unsigned long)index
196{
197 [self deleteCharactersInRange:NSMakeRange(index, 1)];
198}
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque

The documentation for this category was generated from the following files: