diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-07-31 12:20:50 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-07-31 12:20:50 +0200 |
commit | bb2607cdac6214d76fe85442e58f1ea6bcc914ae (patch) | |
tree | 6a68f551816bf08c074918a1d46933dd35bb5aad /MLKStringInputStream.m | |
parent | 1be372285563189dba8f7ecf7b26a049f3728655 (diff) |
Add READ, READ-FROM-STRING, and READ-PRESERVING-WHITESPACE.
Diffstat (limited to 'MLKStringInputStream.m')
-rw-r--r-- | MLKStringInputStream.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MLKStringInputStream.m b/MLKStringInputStream.m index f228869..35965b9 100644 --- a/MLKStringInputStream.m +++ b/MLKStringInputStream.m @@ -39,4 +39,9 @@ encoding:NSUnicodeStringEncoding]; return self; } + ++(MLKStringInputStream *) streamWithString:(NSString *)string +{ + return AUTORELEASE ([[self alloc] initWithString:string]); +} @end |