re-instate cleaned up version of string proxy code.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29518 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-02-09 06:07:10 +00:00
parent 4e026f6126
commit 3dce849c75
5 changed files with 220 additions and 101 deletions

View file

@ -877,6 +877,15 @@ extern struct objc_class _NSConstantStringClassReference;
*/
- (void) deletePrefix: (NSString*)prefix;
/**
* Returns a proxy to the receiver which will allow access to the
* receiver as an NSString, but which will not allow any of the
* extra NSMutableString methods to be used. You can use this method
* to provide other code with read-only access to a mutable string
* you own.
*/
- (NSString*) immutableProxy;
/**
* Replaces all occurrences of the string replace with the string by
* in the receiver.<br />