Oolite 1.91.0.7646-241128-10e222e
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 89 of file NSStringOOExtensions.h.

Method Documentation

◆ appendFormatLine:

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

Definition at line 218 of file NSStringOOExtensions.m.

193 :(NSString *)fmt, ...
194{
195 va_list args;
196 va_start(args, fmt);
197 [self appendFormatLine:fmt arguments:args];
198 va_end(args);
199}

References count.

◆ appendFormatLine:arguments:

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

Definition at line 218 of file NSStringOOExtensions.m.

202 :(NSString *)fmt arguments:(va_list)args
203{
204 NSString *formatted = [[NSString alloc] initWithFormat:fmt arguments:args];
205 [self appendLine:formatted];
206 [formatted release];
207}

◆ appendLine:

- (void) appendLine: (NSString *) line

Definition at line 218 of file NSStringOOExtensions.m.

187 :(NSString *)line
188{
189 [self appendString:line ? [line stringByAppendingString:@"\n"] : (NSString *)@"\n"];
190}

◆ deleteCharacterAtIndex:

- (void) deleteCharacterAtIndex: (unsigned long) index

Definition at line 218 of file NSStringOOExtensions.m.

210 :(unsigned long)index
211{
212 [self deleteCharactersInRange:NSMakeRange(index, 1)];
213}
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque

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