-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathXString.h
More file actions
30 lines (28 loc) · 1.39 KB
/
XString.h
File metadata and controls
30 lines (28 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// ****************************************
// Generated from .m file
// ****************************************
#import "NSString+X.h"
#import "NSMutableString+X.h"
@interface XString : NSMutableString {
id _delegate;
}
+ (id) empty;
- (id) init;
- (id) initWithBytes:(const void *)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding;
- (id) initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length encoding:(NSStringEncoding)encoding freeWhenDone:(BOOL)flag;
- (id) initWithCapacity: (unsigned int)capacity;
- (id) initWithCharactersNoCopy: (unichar*)chars length: (unsigned int)length freeWhenDone: (BOOL)flag;
- (id) initWithContentsOfFile: (id) path;
- (id) initWithContentsOfFile: (NSString*)path encoding: (NSStringEncoding)enc error: (NSError**)error;
- (id) initWithCString: (const char*)nullTerminatedCString encoding: (NSStringEncoding)encoding;
- (id) initWithFormat: (NSString*)format, ...;
- (id) initWithFormat: (NSString*)format arguments:(va_list)argList;
- (void) dealloc;
- (id) append: (id)string;
- (unichar) characterAtIndex: (NSUInteger)index;
- (id) description;
- (NSUInteger) length;
- (void) replaceCharactersInRange: (NSRange)range withString:(NSString*)string;
- (NSUInteger) replaceOccurrencesOfString: (NSString*)target withString: (NSString*)replacement options: (NSStringCompareOptions)opts range: (NSRange)searchRange;
- (void) setString: (NSString*)string;
@end